Lines Matching refs:hole_end

241 			 u64 hole_start, u64 hole_end,  in lowlevel_hole()  argument
255 for (size = 12; (hole_end - hole_start) >> size; size++) { in lowlevel_hole()
262 hole_size = (hole_end - hole_start) >> aligned_size; in lowlevel_hole()
268 __func__, hole_start, hole_end, size, hole_size); in lowlevel_hole()
284 GEM_BUG_ON(hole_start + count * BIT_ULL(aligned_size) > hole_end); in lowlevel_hole()
315 hole_end = hole_start; /* quit */ in lowlevel_hole()
403 u64 hole_start, u64 hole_end, in fill_hole() argument
406 const u64 hole_size = hole_end - hole_start; in fill_hole()
432 { "top-down", hole_end, -1, }, in fill_hole()
484 if (offset + aligned_size > hole_end) in fill_hole()
523 if (offset + aligned_size > hole_end) in fill_hole()
563 if (offset + aligned_size > hole_end) in fill_hole()
602 if (offset + aligned_size > hole_end) in fill_hole()
628 u64 hole_start, u64 hole_end, in walk_hole() argument
631 const u64 hole_size = hole_end - hole_start; in walk_hole()
663 addr + obj->base.size < hole_end; in walk_hole()
669 hole_start, hole_end, err); in walk_hole()
711 u64 hole_start, u64 hole_end, in pot_hole() argument
738 for (pot = fls64(hole_end - 1) - 1; in pot_hole()
745 hole_end > addr && hole_end - addr >= 2 * min_alignment; in pot_hole()
752 hole_start, hole_end, in pot_hole()
774 __func__, pot, fls64(hole_end - 1) - 1)) { in pot_hole()
786 u64 hole_start, u64 hole_end, in drunk_hole() argument
801 for (size = 12; (hole_end - hole_start) >> size; size++) { in drunk_hole()
809 hole_size = (hole_end - hole_start) >> aligned_size; in drunk_hole()
815 __func__, hole_start, hole_end, size, hole_size); in drunk_hole()
856 hole_start, hole_end, in drunk_hole()
896 u64 hole_start, u64 hole_end, in __shrink_hole() argument
910 for (addr = hole_start; addr < hole_end; ) { in __shrink_hole()
914 size = min(size, hole_end - addr); in __shrink_hole()
934 __func__, addr, size, hole_start, hole_end, err); in __shrink_hole()
962 __func__, addr, hole_start, hole_end)) { in __shrink_hole()
974 u64 hole_start, u64 hole_end, in shrink_hole() argument
985 err = __shrink_hole(vm, hole_start, hole_end, end_time); in shrink_hole()
996 u64 hole_start, u64 hole_end, in shrink_boom() argument
1146 u64 hole_start, u64 hole_end, in misaligned_pin() argument
1153 u64 hole_size = hole_end - hole_start; in misaligned_pin()
1193 u64 hole_start, u64 hole_end, in exercise_ppgtt() argument
1279 u64 hole_start, u64 hole_end, in exercise_ggtt() argument
1283 u64 hole_start, hole_end, last = 0; in exercise_ggtt() local
1290 drm_mm_for_each_hole(node, &ggtt->vm.mm, hole_start, hole_end) { in exercise_ggtt()
1296 &hole_start, &hole_end); in exercise_ggtt()
1297 if (hole_start >= hole_end) in exercise_ggtt()
1300 err = func(&ggtt->vm, hole_start, hole_end, end_time); in exercise_ggtt()
1305 last = hole_end; in exercise_ggtt()
1453 u64 hole_start, u64 hole_end, in exercise_mock() argument