Lines Matching refs:hole_start
1446 u64 *hole_start, u64 *hole_size, in dev_extent_hole_check_zoned() argument
1454 ASSERT(IS_ALIGNED(*hole_start, zone_size)); in dev_extent_hole_check_zoned()
1457 pos = btrfs_find_allocatable_zones(device, *hole_start, in dev_extent_hole_check_zoned()
1458 *hole_start + *hole_size, in dev_extent_hole_check_zoned()
1460 if (pos != *hole_start) { in dev_extent_hole_check_zoned()
1461 *hole_size = *hole_start + *hole_size - pos; in dev_extent_hole_check_zoned()
1462 *hole_start = pos; in dev_extent_hole_check_zoned()
1476 *hole_start += *hole_size; in dev_extent_hole_check_zoned()
1481 *hole_start += zone_size; in dev_extent_hole_check_zoned()
1499 static bool dev_extent_hole_check(struct btrfs_device *device, u64 *hole_start, in dev_extent_hole_check() argument
1503 u64 hole_end = *hole_start + *hole_size; in dev_extent_hole_check()
1510 if (contains_pending_extent(device, hole_start, *hole_size)) { in dev_extent_hole_check()
1511 if (hole_end >= *hole_start) in dev_extent_hole_check()
1512 *hole_size = hole_end - *hole_start; in dev_extent_hole_check()
1523 if (dev_extent_hole_check_zoned(device, hole_start, in dev_extent_hole_check()