Searched refs:tsi_lock (Results 1 – 2 of 2) sorted by relevance
193 kmutex_t tsi_lock; member821 #define IQ_LOCK(iq) mutex_enter(&(iq)->tsi_lock)822 #define IQ_UNLOCK(iq) mutex_exit(&(iq)->tsi_lock)823 #define IQ_LOCK_ASSERT_OWNED(iq) ASSERT(mutex_owned(&(iq)->tsi_lock))824 #define IQ_LOCK_ASSERT_NOTOWNED(iq) ASSERT(!mutex_owned(&(iq)->tsi_lock))
1249 mutex_init(&iq->tsi_lock, NULL, MUTEX_DRIVER, in t4_alloc_iq()1281 mutex_destroy(&iq->tsi_lock); in t4_alloc_iq()1501 mutex_destroy(&iq->tsi_lock); in t4_free_iq()