Home
last modified time | relevance | path

Searched refs:shrinker_lock (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/drivers/gpu/drm/panfrost/
Dpanfrost_gem_shrinker.c26 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()
Dpanfrost_gem.c28 mutex_lock(&pfdev->shrinker_lock); in panfrost_gem_free_object()
30 mutex_unlock(&pfdev->shrinker_lock); in panfrost_gem_free_object()
Dpanfrost_drv.c397 mutex_lock(&pfdev->shrinker_lock); in panfrost_ioctl_madvise()
433 mutex_unlock(&pfdev->shrinker_lock); in panfrost_ioctl_madvise()
564 mutex_init(&pfdev->shrinker_lock); in panfrost_probe()
Dpanfrost_device.h118 struct mutex shrinker_lock; member
/Linux-v5.15/drivers/gpu/drm/ttm/
Dttm_pool.c73 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()
[all …]