Lines Matching refs:lru_lock
65 lockdep_assert_held(&pos->first->bo->bdev->lru_lock); in ttm_lru_bulk_move_tail()
148 lockdep_assert_held(&bo->bdev->lru_lock); in ttm_resource_move_to_lru_tail()
191 spin_lock(&bo->bdev->lru_lock); in ttm_resource_init()
197 spin_unlock(&bo->bdev->lru_lock); in ttm_resource_init()
216 spin_lock(&bdev->lru_lock); in ttm_resource_fini()
219 spin_unlock(&bdev->lru_lock); in ttm_resource_fini()
235 spin_lock(&bo->bdev->lru_lock); in ttm_resource_alloc()
237 spin_unlock(&bo->bdev->lru_lock); in ttm_resource_alloc()
248 spin_lock(&bo->bdev->lru_lock); in ttm_resource_free()
250 spin_unlock(&bo->bdev->lru_lock); in ttm_resource_free()
369 spin_lock(&bo->bdev->lru_lock); in ttm_resource_set_bo()
371 spin_unlock(&bo->bdev->lru_lock); in ttm_resource_set_bo()
425 spin_lock(&bdev->lru_lock); in ttm_resource_manager_evict_all()
428 spin_unlock(&bdev->lru_lock); in ttm_resource_manager_evict_all()
433 spin_lock(&bdev->lru_lock); in ttm_resource_manager_evict_all()
436 spin_unlock(&bdev->lru_lock); in ttm_resource_manager_evict_all()
464 spin_lock(&man->bdev->lru_lock); in ttm_resource_manager_usage()
466 spin_unlock(&man->bdev->lru_lock); in ttm_resource_manager_usage()
503 lockdep_assert_held(&man->bdev->lru_lock); in ttm_resource_manager_first()
527 lockdep_assert_held(&man->bdev->lru_lock); in ttm_resource_manager_next()