Home
last modified time | relevance | path

Searched refs:sectors_per_block (Results 1 – 2 of 2) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dpartition_cow_creator.cpp130 unsigned int sectors_per_block) { in WriteExtent() argument
133 for (unsigned int s = 0; s < sectors_per_block; ++s) { in WriteExtent()
134 const auto sector_id = b * sectors_per_block + s; in WriteExtent()
143 const unsigned int sectors_per_block = logical_block_size / kSectorSize; in GetCowSize() local
149 WriteExtent(&sc, de, sectors_per_block); in GetCowSize()
164 WriteExtent(&sc, de, sectors_per_block); in GetCowSize()
/system/core/fs_mgr/liblp/
Dbuilder.cpp715 const uint64_t sectors_per_block = geometry_.logical_block_size / LP_SECTOR_SIZE; in GrowPartition() local
716 CHECK_NE(sectors_per_block, 0); in GrowPartition()
717 CHECK(sectors_needed % sectors_per_block == 0); in GrowPartition()
744 if (region.length() % sectors_per_block != 0) { in GrowPartition()
749 << " is not a multiple of the block size, " << sectors_per_block; in GrowPartition()
754 region.end = region.start + (region.length() / sectors_per_block) * sectors_per_block; in GrowPartition()
761 CHECK(sectors % sectors_per_block == 0); in GrowPartition()