Searched refs:blocks_needed (Results 1 – 2 of 2) sorted by relevance
258 const uint64_t blocks_needed = count - out_blocks; in GetExtentsForBlockCount() local262 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()
363 uint64_t blocks_needed = 0; in AssignBlockForAdjoiningCuts() local370 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()