Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dextent_ranges.cc258 const uint64_t blocks_needed = count - out_blocks; in GetExtentsForBlockCount() local
262 if (extent.num_blocks() < blocks_needed) in GetExtentsForBlockCount()
264 if (extent.num_blocks() == blocks_needed) in GetExtentsForBlockCount()
268 out_blocks += blocks_needed; in GetExtentsForBlockCount()
269 out.back().set_num_blocks(blocks_needed); in GetExtentsForBlockCount()
Dinplace_generator.cc363 uint64_t blocks_needed = 0; in AssignBlockForAdjoiningCuts() local
370 blocks_needed += cut_blocks_needed; in AssignBlockForAdjoiningCuts()
413 if (ranges.blocks() + scratch_blocks_found > blocks_needed) { in AssignBlockForAdjoiningCuts()
416 ranges.GetExtentsForBlockCount(blocks_needed - scratch_blocks_found); in AssignBlockForAdjoiningCuts()
423 if (scratch_ranges.blocks() >= blocks_needed) in AssignBlockForAdjoiningCuts()
426 if (scratch_ranges.blocks() < blocks_needed) { in AssignBlockForAdjoiningCuts()