Searched refs:dev_lock (Results 1 - 6 of 6) sorted by relevance

/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_sunmod.c250 mutex_enter(&dp->dev_lock);
261 mutex_exit(&dp->dev_lock);
267 mutex_exit(&dp->dev_lock);
270 mutex_enter(&dp->dev_lock);
273 mutex_exit(&dp->dev_lock);
387 mutex_enter(&dp->dev_lock);
389 mutex_exit(&dp->dev_lock);
482 mutex_enter(&dp->dev_lock);
504 mutex_exit(&dp->dev_lock);
518 mutex_exit(&dp->dev_lock);
[all...]
H A Ddrm_drv.c242 DRM_SPINLOCK_ASSERT(&dev->dev_lock);
326 mutex_init(&(dev->dev_lock), NULL, MUTEX_DRIVER, NULL);
369 mutex_destroy(&(dev->dev_lock));
396 mutex_destroy(&dev->dev_lock);
H A DdrmP.h148 #define DRM_LOCK() mutex_enter(&dev->dev_lock)
149 #define DRM_UNLOCK() mutex_exit(&dev->dev_lock)
150 #define DRM_LOCK_OWNED() ASSERT(mutex_owned(&dev->dev_lock))
241 DRM_SPINLOCK_ASSERT(&dev->dev_lock); \
613 kmutex_t dev_lock; /* protects everything else */ member in struct:drm_device
629 /* Linked list of mappable regions. Protected by dev_lock */
H A Ddrm_pci.c172 DRM_SPINLOCK_ASSERT(&dev->dev_lock);
H A Ddrm_bufs.c273 DRM_SPINLOCK_ASSERT(&dev->dev_lock);
H A Dradeon_cp.c1943 msleep(&ret, &dev->dev_lock, PZERO,

Completed in 25 milliseconds