Searched refs:shrinker_lock (Results 1 – 5 of 5) sorted by relevance
26 if (!mutex_trylock(&pfdev->shrinker_lock)) in panfrost_gem_shrinker_count()34 mutex_unlock(&pfdev->shrinker_lock); in panfrost_gem_shrinker_count()73 if (!mutex_trylock(&pfdev->shrinker_lock)) in panfrost_gem_shrinker_scan()86 mutex_unlock(&pfdev->shrinker_lock); in panfrost_gem_shrinker_scan()
28 mutex_lock(&pfdev->shrinker_lock); in panfrost_gem_free_object()30 mutex_unlock(&pfdev->shrinker_lock); in panfrost_gem_free_object()
406 mutex_lock(&pfdev->shrinker_lock); in panfrost_ioctl_madvise()442 mutex_unlock(&pfdev->shrinker_lock); in panfrost_ioctl_madvise()573 mutex_init(&pfdev->shrinker_lock); in panfrost_probe()
118 struct mutex shrinker_lock; member
73 static struct mutex shrinker_lock; variable266 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()[all …]