Home
last modified time | relevance | path

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

/linux-6.1.9/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.c417 mutex_lock(&pfdev->shrinker_lock); in panfrost_ioctl_madvise()
453 mutex_unlock(&pfdev->shrinker_lock); in panfrost_ioctl_madvise()
584 mutex_init(&pfdev->shrinker_lock); in panfrost_probe()
Dpanfrost_device.h118 struct mutex shrinker_lock; member
/linux-6.1.9/drivers/gpu/drm/ttm/
Dttm_pool.c73 static spinlock_t shrinker_lock; variable
266 spin_lock(&shrinker_lock); in ttm_pool_type_init()
268 spin_unlock(&shrinker_lock); in ttm_pool_type_init()
276 spin_lock(&shrinker_lock); in ttm_pool_type_fini()
278 spin_unlock(&shrinker_lock); in ttm_pool_type_fini()
319 spin_lock(&shrinker_lock); in ttm_pool_shrink()
322 spin_unlock(&shrinker_lock); in ttm_pool_shrink()
612 spin_lock(&shrinker_lock); in ttm_pool_debugfs_globals_show()
621 spin_unlock(&shrinker_lock); in ttm_pool_debugfs_globals_show()
648 spin_lock(&shrinker_lock); in ttm_pool_debugfs()
[all …]