Lines Matching refs:shrinker_lock
73 static struct mutex shrinker_lock; variable
266 mutex_lock(&shrinker_lock); in ttm_pool_type_init()
268 mutex_unlock(&shrinker_lock); in ttm_pool_type_init()
276 mutex_lock(&shrinker_lock); in ttm_pool_type_fini()
278 mutex_unlock(&shrinker_lock); in ttm_pool_type_fini()
319 mutex_lock(&shrinker_lock); in ttm_pool_shrink()
331 mutex_unlock(&shrinker_lock); in ttm_pool_shrink()
608 mutex_lock(&shrinker_lock); in ttm_pool_debugfs_globals_show()
617 mutex_unlock(&shrinker_lock); in ttm_pool_debugfs_globals_show()
644 mutex_lock(&shrinker_lock); in ttm_pool_debugfs()
660 mutex_unlock(&shrinker_lock); in ttm_pool_debugfs()
697 mutex_init(&shrinker_lock); in ttm_pool_mgr_init()