Searched refs:iobuf_lock (Results 1 – 2 of 2) sorted by relevance
1528 mutex_init(&tpm->iobuf_lock, NULL, MUTEX_DRIVER, NULL); in tpm_attach()1595 mutex_destroy(&tpm->iobuf_lock); in tpm_cleanup()1976 mutex_enter(&tpm->iobuf_lock); in tpm_io_lock()1977 ASSERT(mutex_owned(&tpm->iobuf_lock)); in tpm_io_lock()1983 ret = cv_timedwait(&tpm->iobuf_cv, &tpm->iobuf_lock, timeout); in tpm_io_lock()1986 mutex_exit(&tpm->iobuf_lock); in tpm_io_lock()1994 mutex_exit(&tpm->iobuf_lock); in tpm_io_lock()2005 mutex_enter(&tpm->iobuf_lock); in tpm_unlock()2006 ASSERT(tpm->iobuf_inuse == 1 && mutex_owned(&tpm->iobuf_lock)); in tpm_unlock()2009 mutex_exit(&tpm->iobuf_lock); in tpm_unlock()
82 kmutex_t iobuf_lock; member