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()141 if (__builtin_mul_overflow(b, sectors_per_block, &block_start_sector_id)) { in WriteExtent()143 << sectors_per_block << ")"; in WriteExtent()177 const unsigned int sectors_per_block = logical_block_size / kSectorSize; in GetCowSize() local183 if (!WriteExtent(&sc, de, sectors_per_block)) return std::nullopt; in GetCowSize()198 if (!WriteExtent(&sc, de, sectors_per_block)) return std::nullopt; 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()