Home
last modified time | relevance | path

Searched refs:vm_lock (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/
Ddrm_vma_manager.c88 rwlock_init(&mgr->vm_lock); in drm_vma_offset_manager_init()
206 write_lock(&mgr->vm_lock); in drm_vma_offset_add()
212 write_unlock(&mgr->vm_lock); in drm_vma_offset_add()
232 write_lock(&mgr->vm_lock); in drm_vma_offset_remove()
239 write_unlock(&mgr->vm_lock); in drm_vma_offset_remove()
257 write_lock(&node->vm_lock); in vma_node_allow()
288 write_unlock(&node->vm_lock); in vma_node_allow()
363 write_lock(&node->vm_lock); in drm_vma_node_revoke()
381 write_unlock(&node->vm_lock); in drm_vma_node_revoke()
404 read_lock(&node->vm_lock); in drm_vma_node_is_allowed()
[all …]
/linux-6.1.9/include/drm/
Ddrm_vma_manager.h53 rwlock_t vm_lock; member
60 rwlock_t vm_lock; member
124 read_lock(&mgr->vm_lock); in drm_vma_offset_lock_lookup()
135 read_unlock(&mgr->vm_lock); in drm_vma_offset_unlock_lookup()
152 rwlock_init(&node->vm_lock); in drm_vma_node_reset()
/linux-6.1.9/drivers/gpu/drm/etnaviv/
Detnaviv_drv.c123 read_lock(&dev->vma_offset_manager->vm_lock); in etnaviv_mm_show()
125 read_unlock(&dev->vma_offset_manager->vm_lock); in etnaviv_mm_show()
/linux-6.1.9/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_mman.c645 __acquires(&i915->drm.vma_offset_manager->vm_lock) in mmap_offset_lock()
647 write_lock(&i915->drm.vma_offset_manager->vm_lock); in mmap_offset_lock()
651 __releases(&i915->drm.vma_offset_manager->vm_lock) in mmap_offset_unlock()
653 write_unlock(&i915->drm.vma_offset_manager->vm_lock); in mmap_offset_unlock()