Lines Matching refs:locked
517 bool *locked, bool *busy) in ttm_bo_evict_swapout_allowable() argument
522 *locked = false; in ttm_bo_evict_swapout_allowable()
532 *locked = false; in ttm_bo_evict_swapout_allowable()
537 *locked = ret; in ttm_bo_evict_swapout_allowable()
545 if (*locked) { in ttm_bo_evict_swapout_allowable()
547 *locked = false; in ttm_bo_evict_swapout_allowable()
598 bool locked = false; in ttm_mem_evict_first() local
606 &locked, &busy)) { in ttm_mem_evict_first()
617 if (locked) in ttm_mem_evict_first()
633 ctx->no_wait_gpu, locked); in ttm_mem_evict_first()
641 if (locked) in ttm_mem_evict_first()
1129 bool locked; in ttm_bo_swapout() local
1140 if (!ttm_bo_evict_swapout_allowable(bo, ctx, &place, &locked, NULL)) in ttm_bo_swapout()
1147 if (locked) in ttm_bo_swapout()
1153 ret = ttm_bo_cleanup_refs(bo, false, false, locked); in ttm_bo_swapout()
1206 if (locked) in ttm_bo_swapout()