Lines Matching refs:fpfn
62 if (place->fpfn || lpfn != man->size) in i915_ttm_buddy_man_alloc()
75 if (place->fpfn + bman_res->base.num_pages != place->lpfn && in i915_ttm_buddy_man_alloc()
101 err = drm_buddy_alloc_blocks(mm, (u64)place->fpfn << PAGE_SHIFT, in i915_ttm_buddy_man_alloc()
142 if (place->lpfn - place->fpfn == n_pages) in i915_ttm_buddy_man_alloc()
143 bman_res->base.start = place->fpfn; in i915_ttm_buddy_man_alloc()
186 if (!place->fpfn && !place->lpfn) in i915_ttm_buddy_man_intersects()
196 if (!place->fpfn && in i915_ttm_buddy_man_intersects()
202 unsigned long fpfn = in i915_ttm_buddy_man_intersects() local
204 unsigned long lpfn = fpfn + in i915_ttm_buddy_man_intersects()
207 if (place->fpfn < lpfn && place->lpfn > fpfn) in i915_ttm_buddy_man_intersects()
224 if (!place->fpfn && !place->lpfn) in i915_ttm_buddy_man_compatible()
229 if (!place->fpfn && in i915_ttm_buddy_man_compatible()
235 unsigned long fpfn = in i915_ttm_buddy_man_compatible() local
237 unsigned long lpfn = fpfn + in i915_ttm_buddy_man_compatible()
240 if (fpfn < place->fpfn || lpfn > place->lpfn) in i915_ttm_buddy_man_compatible()
399 unsigned long fpfn = start >> PAGE_SHIFT; in i915_ttm_buddy_man_reserve() local
412 if (fpfn < bman->visible_size) { in i915_ttm_buddy_man_reserve()
413 unsigned long lpfn = fpfn + (size >> PAGE_SHIFT); in i915_ttm_buddy_man_reserve()
414 unsigned long visible = min(lpfn, bman->visible_size) - fpfn; in i915_ttm_buddy_man_reserve()