Lines Matching refs:block_start
348 u64 block_start; in alloc_range_bias() local
362 block_start = drm_buddy_block_offset(block); in alloc_range_bias()
363 block_end = block_start + drm_buddy_block_size(mm, block) - 1; in alloc_range_bias()
365 if (!overlaps(start, end, block_start, block_end)) in alloc_range_bias()
371 if (block_start < start || block_end > end) { in alloc_range_bias()
372 u64 adjusted_start = max(block_start, start); in alloc_range_bias()
380 if (contains(start, end, block_start, block_end) && in alloc_range_bias()
504 u64 block_start; in __alloc_range() local
515 block_start = drm_buddy_block_offset(block); in __alloc_range()
516 block_end = block_start + drm_buddy_block_size(mm, block) - 1; in __alloc_range()
518 if (!overlaps(start, end, block_start, block_end)) in __alloc_range()
526 if (contains(start, end, block_start, block_end)) { in __alloc_range()