Searched refs:shrinker_lock (Results 1 – 4 of 4) 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()
110 struct mutex shrinker_lock; member
402 mutex_lock(&pfdev->shrinker_lock); in panfrost_ioctl_madvise()438 mutex_unlock(&pfdev->shrinker_lock); in panfrost_ioctl_madvise()598 mutex_init(&pfdev->shrinker_lock); in panfrost_probe()