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