Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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()
369 mutex_lock(&shmem->vmap_lock); in drm_gem_shmem_vunmap()
371 mutex_unlock(&shmem->vmap_lock); in drm_gem_shmem_vunmap()
/kernel/linux/linux-5.10/include/drm/
Ddrm_gem_shmem_helper.h85 struct mutex vmap_lock; member
/kernel/linux/linux-5.10/drivers/net/
Dvrf.c49 spinlock_t vmap_lock; member
254 static void vrf_map_lock(struct vrf_map *vmap) __acquires(&vmap->vmap_lock) in vrf_map_lock()
256 spin_lock(&vmap->vmap_lock); in vrf_map_lock()
259 static void vrf_map_unlock(struct vrf_map *vmap) __releases(&vmap->vmap_lock) in vrf_map_unlock()
261 spin_unlock(&vmap->vmap_lock); in vrf_map_unlock()
1811 spin_lock_init(&vmap->vmap_lock); in vrf_map_init()