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()
417 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()
118 struct mutex shrinker_lock; member
73 static spinlock_t shrinker_lock; variable266 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 …]