Lines Matching refs:man

25 to_buddy_manager(struct ttm_resource_manager *man)  in to_buddy_manager()  argument
27 return container_of(man, struct i915_ttm_buddy_manager, manager); in to_buddy_manager()
30 static int i915_ttm_buddy_man_alloc(struct ttm_resource_manager *man, in i915_ttm_buddy_man_alloc() argument
35 struct i915_ttm_buddy_manager *bman = to_buddy_manager(man); in i915_ttm_buddy_man_alloc()
116 static void i915_ttm_buddy_man_free(struct ttm_resource_manager *man, in i915_ttm_buddy_man_free() argument
120 struct i915_ttm_buddy_manager *bman = to_buddy_manager(man); in i915_ttm_buddy_man_free()
129 static void i915_ttm_buddy_man_debug(struct ttm_resource_manager *man, in i915_ttm_buddy_man_debug() argument
132 struct i915_ttm_buddy_manager *bman = to_buddy_manager(man); in i915_ttm_buddy_man_debug()
185 struct ttm_resource_manager *man; in i915_ttm_buddy_man_init() local
202 man = &bman->manager; in i915_ttm_buddy_man_init()
203 man->use_tt = use_tt; in i915_ttm_buddy_man_init()
204 man->func = &i915_ttm_buddy_manager_func; in i915_ttm_buddy_man_init()
205 ttm_resource_manager_init(man, bman->mm.size >> PAGE_SHIFT); in i915_ttm_buddy_man_init()
207 ttm_resource_manager_set_used(man, true); in i915_ttm_buddy_man_init()
208 ttm_set_driver_manager(bdev, type, man); in i915_ttm_buddy_man_init()
229 struct ttm_resource_manager *man = ttm_manager_type(bdev, type); in i915_ttm_buddy_man_fini() local
230 struct i915_ttm_buddy_manager *bman = to_buddy_manager(man); in i915_ttm_buddy_man_fini()
234 ttm_resource_manager_set_used(man, false); in i915_ttm_buddy_man_fini()
236 ret = ttm_resource_manager_evict_all(bdev, man); in i915_ttm_buddy_man_fini()
247 ttm_resource_manager_cleanup(man); in i915_ttm_buddy_man_fini()
263 int i915_ttm_buddy_man_reserve(struct ttm_resource_manager *man, in i915_ttm_buddy_man_reserve() argument
266 struct i915_ttm_buddy_manager *bman = to_buddy_manager(man); in i915_ttm_buddy_man_reserve()