Searched refs:sectors_per_block (Results 1 – 2 of 2) sorted by relevance
135 unsigned int sectors_per_block) { in WriteExtent() argument138 for (unsigned int s = 0; s < sectors_per_block; ++s) { in WriteExtent()139 const auto sector_id = b * sectors_per_block + s; in WriteExtent()164 const unsigned int sectors_per_block = logical_block_size / kSectorSize; in GetCowSize() local170 WriteExtent(&sc, de, sectors_per_block); in GetCowSize()185 WriteExtent(&sc, de, sectors_per_block); in GetCowSize()
710 const uint64_t sectors_per_block = geometry_.logical_block_size / LP_SECTOR_SIZE; in GrowPartition() local711 CHECK_NE(sectors_per_block, 0); in GrowPartition()712 CHECK(sectors_needed % sectors_per_block == 0); in GrowPartition()739 if (region.length() % sectors_per_block != 0) { in GrowPartition()744 << " is not a multiple of the block size, " << sectors_per_block; in GrowPartition()749 region.end = region.start + (region.length() / sectors_per_block) * sectors_per_block; in GrowPartition()756 CHECK(sectors % sectors_per_block == 0); in GrowPartition()