Searched refs:iobuf_lock (Results 1 – 2 of 2) sorted by relevance
1526 mutex_init(&tpm->iobuf_lock, NULL, MUTEX_DRIVER, NULL); in tpm_attach()1593 mutex_destroy(&tpm->iobuf_lock); in tpm_cleanup()1979 mutex_enter(&tpm->iobuf_lock); in tpm_io_lock()1980 ASSERT(mutex_owned(&tpm->iobuf_lock)); in tpm_io_lock()1986 ret = cv_timedwait(&tpm->iobuf_cv, &tpm->iobuf_lock, timeout); in tpm_io_lock()1989 mutex_exit(&tpm->iobuf_lock); in tpm_io_lock()1997 mutex_exit(&tpm->iobuf_lock); in tpm_io_lock()2008 mutex_enter(&tpm->iobuf_lock); in tpm_unlock()2009 ASSERT(tpm->iobuf_inuse == 1 && mutex_owned(&tpm->iobuf_lock)); in tpm_unlock()2012 mutex_exit(&tpm->iobuf_lock); in tpm_unlock()
82 kmutex_t iobuf_lock; member