Lines Matching refs:man
47 static struct vmwgfx_gmrid_man *to_gmrid_manager(struct ttm_resource_manager *man) in to_gmrid_manager() argument
49 return container_of(man, struct vmwgfx_gmrid_man, manager); in to_gmrid_manager()
52 static int vmw_gmrid_man_get_node(struct ttm_resource_manager *man, in vmw_gmrid_man_get_node() argument
57 struct vmwgfx_gmrid_man *gman = to_gmrid_manager(man); in vmw_gmrid_man_get_node()
123 static void vmw_gmrid_man_put_node(struct ttm_resource_manager *man, in vmw_gmrid_man_put_node() argument
126 struct vmwgfx_gmrid_man *gman = to_gmrid_manager(man); in vmw_gmrid_man_put_node()
139 struct ttm_resource_manager *man; in vmw_gmrid_man_init() local
146 man = &gman->manager; in vmw_gmrid_man_init()
148 man->func = &vmw_gmrid_manager_func; in vmw_gmrid_man_init()
150 man->use_tt = true; in vmw_gmrid_man_init()
151 ttm_resource_manager_init(man, 0); in vmw_gmrid_man_init()
169 ttm_resource_manager_set_used(man, true); in vmw_gmrid_man_init()
175 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, type); in vmw_gmrid_man_fini() local
176 struct vmwgfx_gmrid_man *gman = to_gmrid_manager(man); in vmw_gmrid_man_fini()
178 ttm_resource_manager_set_used(man, false); in vmw_gmrid_man_fini()
180 ttm_resource_manager_evict_all(&dev_priv->bdev, man); in vmw_gmrid_man_fini()
182 ttm_resource_manager_cleanup(man); in vmw_gmrid_man_fini()