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.cc238 const uint64_t blocks_needed = count - out_blocks; in GetExtentsForBlockCount() local
242 if (extent.num_blocks() < blocks_needed) in GetExtentsForBlockCount()
244 if (extent.num_blocks() == blocks_needed) in GetExtentsForBlockCount()
248 out_blocks += blocks_needed; in GetExtentsForBlockCount()
249 out.back().set_num_blocks(blocks_needed); in GetExtentsForBlockCount()
Dinplace_generator.cc371 uint64_t blocks_needed = 0; in AssignBlockForAdjoiningCuts() local
378 blocks_needed += cut_blocks_needed; in AssignBlockForAdjoiningCuts()
418 if (ranges.blocks() + scratch_blocks_found > blocks_needed) { in AssignBlockForAdjoiningCuts()
421 blocks_needed - scratch_blocks_found); in AssignBlockForAdjoiningCuts()
428 if (scratch_ranges.blocks() >= blocks_needed) in AssignBlockForAdjoiningCuts()
431 if (scratch_ranges.blocks() < blocks_needed) { in AssignBlockForAdjoiningCuts()