Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/
Ddrm_gem_shmem_helper.c70 mutex_init(&shmem->vmap_lock); in __drm_gem_shmem_create()
142 mutex_destroy(&shmem->vmap_lock); in drm_gem_shmem_free_object()
323 ret = mutex_lock_interruptible(&shmem->vmap_lock); in drm_gem_shmem_vmap()
327 mutex_unlock(&shmem->vmap_lock); in drm_gem_shmem_vmap()
368 mutex_lock(&shmem->vmap_lock); in drm_gem_shmem_vunmap()
370 mutex_unlock(&shmem->vmap_lock); in drm_gem_shmem_vunmap()
/Linux-v5.10/include/drm/
Ddrm_gem_shmem_helper.h85 struct mutex vmap_lock; member
/Linux-v5.10/drivers/net/
Dvrf.c48 spinlock_t vmap_lock; member
253 static void vrf_map_lock(struct vrf_map *vmap) __acquires(&vmap->vmap_lock) in vrf_map_lock()
255 spin_lock(&vmap->vmap_lock); in vrf_map_lock()
258 static void vrf_map_unlock(struct vrf_map *vmap) __releases(&vmap->vmap_lock) in vrf_map_unlock()
260 spin_unlock(&vmap->vmap_lock); in vrf_map_unlock()
1791 spin_lock_init(&vmap->vmap_lock); in vrf_map_init()