Lines Matching refs:man

57 	struct ttm_resource_manager *man;  in ttm_bo_mem_space_debug()  local
67 man = ttm_manager_type(bo->bdev, mem_type); in ttm_bo_mem_space_debug()
68 ttm_resource_manager_debug(man, &p); in ttm_bo_mem_space_debug()
105 struct ttm_resource_manager *man; in ttm_bo_move_to_lru_tail() local
118 man = ttm_manager_type(bdev, mem->mem_type); in ttm_bo_move_to_lru_tail()
119 list_move_tail(&bo->lru, &man->lru[bo->priority]); in ttm_bo_move_to_lru_tail()
144 struct ttm_resource_manager *man; in ttm_bo_bulk_move_lru_tail() local
152 man = ttm_manager_type(pos->first->bdev, TTM_PL_TT); in ttm_bo_bulk_move_lru_tail()
153 list_bulk_move_tail(&man->lru[i], &pos->first->lru, in ttm_bo_bulk_move_lru_tail()
159 struct ttm_resource_manager *man; in ttm_bo_bulk_move_lru_tail() local
167 man = ttm_manager_type(pos->first->bdev, TTM_PL_VRAM); in ttm_bo_bulk_move_lru_tail()
168 list_bulk_move_tail(&man->lru[i], &pos->first->lru, in ttm_bo_bulk_move_lru_tail()
670 struct ttm_resource_manager *man, in ttm_mem_evict_first() argument
682 list_for_each_entry(bo, &man->lru[i], lru) { in ttm_mem_evict_first()
702 if (&bo->lru != &man->lru[i]) in ttm_mem_evict_first()
741 struct ttm_resource_manager *man, in ttm_bo_add_move_fence() argument
748 spin_lock(&man->move_lock); in ttm_bo_add_move_fence()
749 fence = dma_fence_get(man->move); in ttm_bo_add_move_fence()
750 spin_unlock(&man->move_lock); in ttm_bo_add_move_fence()
784 struct ttm_resource_manager *man; in ttm_bo_mem_force_space() local
788 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_force_space()
796 ret = ttm_mem_evict_first(bdev, man, place, ctx, in ttm_bo_mem_force_space()
802 return ttm_bo_add_move_fence(bo, man, *mem, ctx->no_wait_gpu); in ttm_bo_mem_force_space()
828 struct ttm_resource_manager *man; in ttm_bo_mem_space() local
830 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_space()
831 if (!man || !ttm_resource_manager_used(man)) in ttm_bo_mem_space()
841 ret = ttm_bo_add_move_fence(bo, man, *mem, ctx->no_wait_gpu); in ttm_bo_mem_space()
854 struct ttm_resource_manager *man; in ttm_bo_mem_space() local
856 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_space()
857 if (!man || !ttm_resource_manager_used(man)) in ttm_bo_mem_space()