Searched refs:visible_avail (Results 1 – 5 of 5) sorted by relevance
23 unsigned long visible_avail; member86 if (lpfn <= bman->visible_size && n_pages > bman->visible_avail) { in i915_ttm_buddy_man_alloc()121 bman->visible_avail -= bman_res->used_visible_size; in i915_ttm_buddy_man_alloc()145 bman->visible_avail += bman_res->used_visible_size; in i915_ttm_buddy_man_free()233 (u64)bman->visible_avail << PAGE_SHIFT >> 20); in i915_ttm_buddy_man_debug()305 bman->visible_avail = bman->visible_size; in i915_ttm_buddy_man_init()350 bman->visible_avail += bman->visible_reserved; in i915_ttm_buddy_man_fini()351 WARN_ON_ONCE(bman->visible_avail != bman->visible_size); in i915_ttm_buddy_man_fini()393 bman->visible_avail -= visible; in i915_ttm_buddy_man_reserve()422 u64 *avail, u64 *visible_avail) in i915_ttm_buddy_man_avail() argument[all …]
299 u64 *avail, u64 *visible_avail) in intel_memory_region_avail() argument303 avail, visible_avail); in intel_memory_region_avail()305 *visible_avail <<= PAGE_SHIFT; in intel_memory_region_avail()308 *visible_avail = mr->total; in intel_memory_region_avail()
123 u64 *avail, u64 *visible_avail);
118 if (lpfn <= mgr->visible_size >> PAGE_SHIFT && size > mgr->visible_avail) { in xe_ttm_vram_mgr_new()174 mgr->visible_avail -= vres->used_visible_size; in xe_ttm_vram_mgr_new()218 mgr->visible_avail += vres->used_visible_size; in xe_ttm_vram_mgr_del()236 (u64)mgr->visible_avail >> 20); in xe_ttm_vram_mgr_debug()324 WARN_ON_ONCE(mgr->visible_avail != mgr->visible_size); in ttm_vram_mgr_fini()347 mgr->visible_avail = io_size; in __xe_ttm_vram_mgr_init()478 *used_visible = mgr->visible_size - mgr->visible_avail; in xe_ttm_vram_get_used()
29 u64 visible_avail; member