Home
last modified time | relevance | path

Searched refs:struct_mutex (Results 1 – 18 of 18) sorted by relevance

/netbsd-src/sys/external/bsd/drm2/dist/drm/via/
H A Dvia_mm.c55 mutex_lock(&dev->struct_mutex); in via_agp_init()
60 mutex_unlock(&dev->struct_mutex); in via_agp_init()
71 mutex_lock(&dev->struct_mutex); in via_fb_init()
77 mutex_unlock(&dev->struct_mutex); in via_fb_init()
108 mutex_lock(&dev->struct_mutex); in via_lastclose()
117 mutex_unlock(&dev->struct_mutex); in via_lastclose()
135 mutex_lock(&dev->struct_mutex); in via_mem_alloc()
140 mutex_unlock(&dev->struct_mutex); in via_mem_alloc()
169 mutex_unlock(&dev->struct_mutex); in via_mem_alloc()
183 mutex_unlock(&dev->struct_mutex); in via_mem_alloc()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/sis/
H A Dsis_mm.c76 mutex_lock(&dev->struct_mutex); in sis_fb_init()
84 mutex_unlock(&dev->struct_mutex); in sis_fb_init()
101 mutex_lock(&dev->struct_mutex); in sis_drm_alloc()
107 mutex_unlock(&dev->struct_mutex); in sis_drm_alloc()
147 mutex_unlock(&dev->struct_mutex); in sis_drm_alloc()
162 mutex_unlock(&dev->struct_mutex); in sis_drm_alloc()
181 mutex_lock(&dev->struct_mutex); in sis_drm_free()
184 mutex_unlock(&dev->struct_mutex); in sis_drm_free()
197 mutex_unlock(&dev->struct_mutex); in sis_drm_free()
216 mutex_lock(&dev->struct_mutex); in sis_ioctl_agp_init()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/
H A Ddrm_context.c72 mutex_lock(&dev->struct_mutex); in drm_legacy_ctxbitmap_free()
74 mutex_unlock(&dev->struct_mutex); in drm_legacy_ctxbitmap_free()
91 mutex_lock(&dev->struct_mutex); in drm_legacy_ctxbitmap_next()
94 mutex_unlock(&dev->struct_mutex); in drm_legacy_ctxbitmap_next()
129 mutex_lock(&dev->struct_mutex); in drm_legacy_ctxbitmap_cleanup()
131 mutex_unlock(&dev->struct_mutex); in drm_legacy_ctxbitmap_cleanup()
197 mutex_lock(&dev->struct_mutex); in drm_legacy_getsareactx()
201 mutex_unlock(&dev->struct_mutex); in drm_legacy_getsareactx()
214 mutex_unlock(&dev->struct_mutex); in drm_legacy_getsareactx()
245 mutex_lock(&dev->struct_mutex); in drm_legacy_setsareactx()
[all …]
H A Ddrm_bufs.c373 mutex_lock(&dev->struct_mutex); in drm_addmap_core()
391 mutex_unlock(&dev->struct_mutex); in drm_addmap_core()
396 mutex_unlock(&dev->struct_mutex); in drm_addmap_core()
505 mutex_lock(&dev->struct_mutex); in drm_legacy_getmap_ioctl()
514 mutex_unlock(&dev->struct_mutex); in drm_legacy_getmap_ioctl()
525 mutex_unlock(&dev->struct_mutex); in drm_legacy_getmap_ioctl()
634 mutex_lock(&dev->struct_mutex); in drm_legacy_rmmap()
636 mutex_unlock(&dev->struct_mutex); in drm_legacy_rmmap()
647 mutex_lock(&dev->struct_mutex); in drm_legacy_master_rmmaps()
654 mutex_unlock(&dev->struct_mutex); in drm_legacy_master_rmmaps()
[all …]
H A Ddrm_irq.c289 mutex_lock(&dev->struct_mutex); in drm_legacy_irq_control()
295 mutex_unlock(&dev->struct_mutex); in drm_legacy_irq_control()
299 mutex_lock(&dev->struct_mutex); in drm_legacy_irq_control()
301 mutex_unlock(&dev->struct_mutex); in drm_legacy_irq_control()
H A Ddrm_vm.c255 mutex_lock(&dev->struct_mutex); in drm_vm_shm_close()
301 mutex_unlock(&dev->struct_mutex); in drm_vm_shm_close()
423 mutex_lock(&dev->struct_mutex); in drm_vm_open()
425 mutex_unlock(&dev->struct_mutex); in drm_vm_open()
458 mutex_lock(&dev->struct_mutex); in drm_vm_close()
460 mutex_unlock(&dev->struct_mutex); in drm_vm_close()
659 mutex_lock(&dev->struct_mutex); in drm_legacy_mmap()
661 mutex_unlock(&dev->struct_mutex); in drm_legacy_mmap()
H A Ddrm_legacy_misc.c92 mutex_lock(&dev->struct_mutex); in drm_legacy_dev_reinit()
100 mutex_unlock(&dev->struct_mutex); in drm_legacy_dev_reinit()
H A Ddrm_lock.c369 mutex_lock(&dev->struct_mutex); in drm_legacy_lock_master_cleanup()
377 mutex_unlock(&dev->struct_mutex); in drm_legacy_lock_master_cleanup()
H A Ddrm_gem.c1104 WARN_ON(!mutex_is_locked(&dev->struct_mutex)); in drm_gem_object_free()
1131 might_lock(&dev->struct_mutex); in drm_gem_object_put_unlocked()
1133 &dev->struct_mutex)) in drm_gem_object_put_unlocked()
1134 mutex_unlock(&dev->struct_mutex); in drm_gem_object_put_unlocked()
1156 WARN_ON(!mutex_is_locked(&obj->dev->struct_mutex)); in drm_gem_object_put()
H A Ddrm_drv.c694 mutex_init(&dev->struct_mutex); in drm_dev_init()
775 mutex_destroy(&dev->struct_mutex); in drm_dev_init()
869 mutex_destroy(&dev->struct_mutex); in drm_dev_fini()
/netbsd-src/sys/external/bsd/drm2/drm/
H A Ddrm_vm.c87 mutex_lock(&dev->struct_mutex); in drm_legacy_mmap_paddr()
89 mutex_unlock(&dev->struct_mutex); in drm_legacy_mmap_paddr()
101 KASSERT(mutex_is_locked(&dev->struct_mutex)); in drm_legacy_mmap_paddr_locked()
140 KASSERT(mutex_is_locked(&dev->struct_mutex)); in drm_legacy_mmap_dma_paddr()
H A Ddrm_gem_vm.c95 mutex_lock(&dev->struct_mutex); in drm_gem_mmap_object()
98 mutex_unlock(&dev->struct_mutex); in drm_gem_mmap_object()
112 KASSERT(mutex_is_locked(&dev->struct_mutex)); in drm_gem_mmap_object_locked()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gem/
H A Di915_gem_shrinker.c436 if (!lockdep_is_held_type(&i915->drm.struct_mutex, -1)) { in i915_gem_shrinker_taints_mutex()
437 mutex_acquire(&i915->drm.struct_mutex.dep_map, in i915_gem_shrinker_taints_mutex()
450 mutex_release(&i915->drm.struct_mutex.dep_map, _RET_IP_); in i915_gem_shrinker_taints_mutex()
H A Di915_gem_execbuffer.c1710 mutex_unlock(&dev->struct_mutex); in eb_relocate_slow()
1735 mutex_lock(&dev->struct_mutex); in eb_relocate_slow()
1744 mutex_lock(&dev->struct_mutex); in eb_relocate_slow()
2860 mutex_unlock(&dev->struct_mutex); in i915_gem_do_execbuffer()
/netbsd-src/sys/external/bsd/drm2/dist/include/drm/
H A Ddrm_device.h136 struct mutex struct_mutex; member
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gt/uc/
H A Dintel_guc_log.c533 mutex_lock(&dev_priv->drm.struct_mutex); in intel_guc_log_set_level()
551 mutex_unlock(&dev_priv->drm.struct_mutex); in intel_guc_log_set_level()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/
H A Di915_drv.h1907 return mutex_lock_interruptible(&dev->struct_mutex); in i915_mutex_lock_interruptible()
H A Di915_irq.c925 mutex_lock(&dev_priv->drm.struct_mutex); in ivb_parity_work()
985 mutex_unlock(&dev_priv->drm.struct_mutex); in ivb_parity_work()