Lines Matching refs:man
51 struct ttm_resource_manager *man; in ttm_bo_mem_space_debug() local
61 man = ttm_manager_type(bo->bdev, mem_type); in ttm_bo_mem_space_debug()
62 ttm_resource_manager_debug(man, &p); in ttm_bo_mem_space_debug()
614 struct ttm_resource_manager *man, in ttm_mem_evict_first() argument
626 ttm_resource_manager_for_each_res(man, &cursor, res) { in ttm_mem_evict_first()
719 struct ttm_resource_manager *man, in ttm_bo_add_move_fence() argument
726 spin_lock(&man->move_lock); in ttm_bo_add_move_fence()
727 fence = dma_fence_get(man->move); in ttm_bo_add_move_fence()
728 spin_unlock(&man->move_lock); in ttm_bo_add_move_fence()
756 struct ttm_resource_manager *man; in ttm_bo_mem_force_space() local
760 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_force_space()
768 ret = ttm_mem_evict_first(bdev, man, place, ctx, in ttm_bo_mem_force_space()
774 return ttm_bo_add_move_fence(bo, man, *mem, ctx->no_wait_gpu); in ttm_bo_mem_force_space()
800 struct ttm_resource_manager *man; in ttm_bo_mem_space() local
802 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_space()
803 if (!man || !ttm_resource_manager_used(man)) in ttm_bo_mem_space()
813 ret = ttm_bo_add_move_fence(bo, man, *mem, ctx->no_wait_gpu); in ttm_bo_mem_space()
826 struct ttm_resource_manager *man; in ttm_bo_mem_space() local
828 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_space()
829 if (!man || !ttm_resource_manager_used(man)) in ttm_bo_mem_space()