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()
663 mutex_lock(&shrinker_lock); in ttm_pool_debugfs_globals_show()
672 mutex_unlock(&shrinker_lock); in ttm_pool_debugfs_globals_show()
699 mutex_lock(&shrinker_lock); in ttm_pool_debugfs()
715 mutex_unlock(&shrinker_lock); in ttm_pool_debugfs()
752 mutex_init(&shrinker_lock); in ttm_pool_mgr_init()