Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_main.c460 mutex_enter(&dev->dev_lock); in oce_suspend()
469 mutex_exit(&dev->dev_lock); in oce_suspend()
481 mutex_enter(&dev->dev_lock); in oce_resume()
483 mutex_exit(&dev->dev_lock); in oce_resume()
489 mutex_exit(&dev->dev_lock); in oce_resume()
494 mutex_exit(&dev->dev_lock); in oce_resume()
500 mutex_exit(&dev->dev_lock); in oce_resume()
508 mutex_init(&dev->dev_lock, NULL, MUTEX_DRIVER, in oce_init_locks()
517 mutex_destroy(&dev->dev_lock); in oce_destroy_locks()
H A Doce_stat.c65 mutex_enter(&dev->dev_lock); in oce_update_stats()
67 mutex_exit(&dev->dev_lock); in oce_update_stats()
74 mutex_exit(&dev->dev_lock); in oce_update_stats()
183 mutex_exit(&dev->dev_lock); in oce_update_stats()
354 mutex_enter(&dev->dev_lock); in oce_m_stat()
359 mutex_exit(&dev->dev_lock); in oce_m_stat()
510 mutex_exit(&dev->dev_lock); in oce_m_stat()
513 mutex_exit(&dev->dev_lock); in oce_m_stat()
H A Doce_gld.c61 mutex_enter(&dev->dev_lock); in oce_m_start()
64 mutex_exit(&dev->dev_lock); in oce_m_start()
69 mutex_exit(&dev->dev_lock); in oce_m_start()
74 mutex_exit(&dev->dev_lock); in oce_m_start()
79 mutex_exit(&dev->dev_lock); in oce_m_start()
127 mutex_enter(&dev->dev_lock); in oce_m_stop()
129 mutex_exit(&dev->dev_lock); in oce_m_stop()
135 mutex_exit(&dev->dev_lock); in oce_m_stop()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_impl.h189 #define DEV_LOCK(dev) mutex_enter(&dev->dev_lock)
191 #define DEV_UNLOCK(dev) mutex_exit(&dev->dev_lock)
209 kmutex_t dev_lock; /* lock for device */ member
/illumos-gate/usr/src/uts/common/io/tpm/
H A Dtpm_ddi.h73 kmutex_t dev_lock; member
H A Dtpm.c1509 mutex_init(&tpm->dev_lock, NULL, MUTEX_DRIVER, NULL); in tpm_attach()
1584 mutex_destroy(&tpm->dev_lock); in tpm_cleanup()
1737 mutex_enter(&tpm->dev_lock); in tpm_open()
1743 mutex_exit(&tpm->dev_lock); in tpm_open()
1749 mutex_exit(&tpm->dev_lock); in tpm_open()
1780 mutex_enter(&tpm->dev_lock); in tpm_close()
1781 ASSERT(mutex_owned(&tpm->dev_lock)); in tpm_close()
1783 mutex_exit(&tpm->dev_lock); in tpm_close()