Lines Matching refs:min_alignment

244 	const unsigned int min_alignment =  in lowlevel_hole()  local
261 aligned_size = max_t(u32, ilog2(min_alignment), size); in lowlevel_hole()
408 const unsigned int min_alignment = in fill_hole() local
411 min_t(u64, ULONG_MAX - 1, (hole_size / 2) >> ilog2(min_alignment)); in fill_hole()
453 min_alignment); in fill_hole()
493 min_alignment); in fill_hole()
532 min_alignment); in fill_hole()
572 min_alignment); in fill_hole()
634 unsigned long min_alignment; in walk_hole() local
644 min_alignment = i915_vm_min_alignment(vm, INTEL_MEMORY_SYSTEM); in walk_hole()
664 addr += round_up(obj->base.size, min_alignment)) { in walk_hole()
716 unsigned int min_alignment; in pot_hole() local
725 min_alignment = i915_vm_min_alignment(vm, INTEL_MEMORY_SYSTEM); in pot_hole()
739 pot > ilog2(2 * min_alignment); in pot_hole()
744 for (addr = round_up(hole_start + min_alignment, step) - min_alignment; in pot_hole()
745 hole_end > addr && hole_end - addr >= 2 * min_alignment; in pot_hole()
790 unsigned int min_alignment; in drunk_hole() local
798 min_alignment = i915_vm_min_alignment(vm, INTEL_MEMORY_SYSTEM); in drunk_hole()
808 aligned_size = max_t(u32, ilog2(min_alignment), size); in drunk_hole()
901 unsigned int min_alignment; in __shrink_hole() local
907 min_alignment = i915_vm_min_alignment(vm, INTEL_MEMORY_SYSTEM); in __shrink_hole()
949 addr += round_up(size, min_alignment); in __shrink_hole()
1159 u64 min_alignment = i915_vm_min_alignment(vm, mr->type); in misaligned_pin() local
1160 u64 size = min_alignment; in misaligned_pin()
1161 u64 addr = round_down(hole_start + (hole_size / 2), min_alignment); in misaligned_pin()
1164 if (hole_size < 3 * min_alignment) in misaligned_pin()
1168 if (min_alignment != I915_GTT_PAGE_SIZE_4K) { in misaligned_pin()
1169 err = misaligned_case(vm, mr, addr + (min_alignment / 2), size, flags); in misaligned_pin()