Lines Matching refs:locked
604 bool *locked, bool *busy) in ttm_bo_evict_swapout_allowable() argument
612 *locked = false; in ttm_bo_evict_swapout_allowable()
617 *locked = ret; in ttm_bo_evict_swapout_allowable()
625 if (*locked) { in ttm_bo_evict_swapout_allowable()
627 *locked = false; in ttm_bo_evict_swapout_allowable()
676 bool locked = false; in ttm_mem_evict_first() local
686 &locked, &busy)) { in ttm_mem_evict_first()
694 if (locked) in ttm_mem_evict_first()
720 ctx->no_wait_gpu, locked); in ttm_mem_evict_first()
728 if (locked) in ttm_mem_evict_first()
966 bool locked; in ttm_bo_init_reserved() local
1007 locked = dma_resv_trylock(bo->base.resv); in ttm_bo_init_reserved()
1008 WARN_ON(!locked); in ttm_bo_init_reserved()
1096 bool locked; in ttm_bo_swapout() local
1107 if (!ttm_bo_evict_swapout_allowable(bo, ctx, &place, &locked, NULL)) in ttm_bo_swapout()
1114 if (locked) in ttm_bo_swapout()
1120 ret = ttm_bo_cleanup_refs(bo, false, false, locked); in ttm_bo_swapout()
1174 if (locked) in ttm_bo_swapout()