Home
last modified time | relevance | path

Searched refs:vmap_lock (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/
Ddrm_gem_shmem_helper.c90 mutex_init(&shmem->vmap_lock); in __drm_gem_shmem_create()
161 mutex_destroy(&shmem->vmap_lock); in drm_gem_shmem_free()
364 ret = mutex_lock_interruptible(&shmem->vmap_lock); in drm_gem_shmem_vmap()
368 mutex_unlock(&shmem->vmap_lock); in drm_gem_shmem_vmap()
410 mutex_lock(&shmem->vmap_lock); in drm_gem_shmem_vunmap()
412 mutex_unlock(&shmem->vmap_lock); in drm_gem_shmem_vunmap()
/linux-5.19.10/include/drm/
Ddrm_gem_shmem_helper.h85 struct mutex vmap_lock; member
/linux-5.19.10/drivers/net/
Dvrf.c51 spinlock_t vmap_lock; member
256 static void vrf_map_lock(struct vrf_map *vmap) __acquires(&vmap->vmap_lock) in vrf_map_lock()
258 spin_lock(&vmap->vmap_lock); in vrf_map_lock()
261 static void vrf_map_unlock(struct vrf_map *vmap) __releases(&vmap->vmap_lock) in vrf_map_unlock()
263 spin_unlock(&vmap->vmap_lock); in vrf_map_unlock()
1876 spin_lock_init(&vmap->vmap_lock); in vrf_map_init()