Lines Matching refs:mir_mutex

421 	kmutex_t	mir_mutex;	/* Mutex and condvar for close */
1047 ASSERT(MUTEX_HELD(&mir->mir_mutex));
1050 * Since the mir_mutex lock needs to be released to call
1059 cv_wait(&mir->mir_timer_cv, &mir->mir_mutex);
1064 mutex_exit(&mir->mir_mutex);
1066 mutex_enter(&mir->mir_mutex);
1077 ASSERT(MUTEX_HELD(&mir->mir_mutex));
1080 cv_wait(&mir->mir_timer_cv, &mir->mir_mutex);
1084 mutex_exit(&mir->mir_mutex);
1086 mutex_enter(&mir->mir_mutex);
1104 ASSERT(MUTEX_HELD(&((mir_t *)q->q_ptr)->mir_mutex));
1128 ASSERT(MUTEX_NOT_HELD(&mir->mir_mutex));
1129 mutex_enter(&mir->mir_mutex);
1158 mutex_exit(&mir->mir_mutex);
1161 mutex_enter(&mir->mir_mutex);
1174 cv_wait(&mir->mir_condvar, &mir->mir_mutex);
1177 mutex_exit(&mir->mir_mutex);
1183 mutex_exit(&mir->mir_mutex);
1187 mutex_destroy(&mir->mir_mutex);
1202 ASSERT(MUTEX_HELD(&mir->mir_mutex));
1219 ASSERT(MUTEX_HELD(&mir->mir_mutex));
1305 mutex_init(&mir->mir_mutex, NULL, MUTEX_DEFAULT, NULL);
1352 ASSERT(MUTEX_NOT_HELD(&mir->mir_mutex));
1403 mutex_enter(&mir->mir_mutex);
1410 mutex_exit(&mir->mir_mutex);
1497 mir_disconnect(q, mir); /* drops mir_mutex */
1612 * will shutdown the connection, drop mir_mutex, and return non-zero.
1626 * The reason is that stopping the timer releases the mir_mutex
1640 mutex_exit(&mir->mir_mutex);
1650 ASSERT(MUTEX_NOT_HELD(&mir->mir_mutex));
1661 mutex_enter(&mir->mir_mutex);
1692 mutex_exit(&mir->mir_mutex);
1760 mutex_enter(&mir->mir_mutex);
1769 mutex_exit(&mir->mir_mutex);
1787 mutex_enter(&mir->mir_mutex);
1800 mutex_exit(&mir->mir_mutex);
1835 mutex_exit(&mir->mir_mutex);
1865 mutex_enter(&mir->mir_mutex);
1912 mutex_exit(&mir->mir_mutex);
1919 * The reason is that stopping the timer releases the mir_mutex
1940 mutex_exit(&mir->mir_mutex);
1951 mutex_exit(&mir->mir_mutex);
1966 ASSERT(MUTEX_NOT_HELD(&mir->mir_mutex));
1997 ASSERT(MUTEX_HELD(&mir->mir_mutex));
2039 mutex_enter(&mir->mir_mutex);
2054 mutex_exit(&mir->mir_mutex);
2058 mutex_enter(&mir->mir_mutex);
2082 mutex_exit(&mir->mir_mutex);
2095 * no longer need to take the mir_mutex because the
2097 * the binary field protected by the mir_mutex.
2110 ASSERT(MUTEX_HELD(&mir->mir_mutex));
2123 ASSERT(MUTEX_HELD(&mir->mir_mutex));
2140 ASSERT(MUTEX_NOT_HELD(&mir->mir_mutex));
2141 mutex_enter(&mir->mir_mutex);
2143 mutex_exit(&mir->mir_mutex);
2157 mutex_enter(&mir->mir_mutex);
2166 mutex_exit(&mir->mir_mutex);
2211 mutex_exit(&mir->mir_mutex);
2226 mutex_exit(&mir->mir_mutex);
2255 mutex_exit(&mir->mir_mutex);
2260 mutex_exit(&mir->mir_mutex);
2275 mutex_exit(&mir->mir_mutex);
2331 mutex_enter(&mir->mir_mutex);
2347 mutex_exit(&mir->mir_mutex);
2368 mutex_exit(&mir->mir_mutex);
2389 mutex_exit(&mir->mir_mutex);
2400 ASSERT(MUTEX_NOT_HELD(&mir->mir_mutex));
2406 mutex_enter(&mir->mir_mutex);
2410 mutex_exit(&mir->mir_mutex);
2434 mutex_exit(&mir->mir_mutex);
2440 mutex_enter(&mir->mir_mutex);
2468 mutex_exit(&mir->mir_mutex);
2500 mutex_enter(&mir->mir_mutex);
2513 mutex_exit(&mir->mir_mutex);
2535 mutex_exit(&mir->mir_mutex);
2560 mutex_exit(&mir->mir_mutex);
2575 mutex_exit(&mir->mir_mutex);
2583 mutex_enter(&mir->mir_mutex);
2597 mutex_exit(&mir->mir_mutex);
2633 mutex_enter(&mir->mir_mutex);
2635 mutex_exit(&mir->mir_mutex);
2641 mutex_exit(&mir->mir_mutex);
2657 mutex_enter(&mir->mir_mutex);
2679 mutex_exit(&mir->mir_mutex);
2686 mutex_exit(&mir->mir_mutex);
2688 mutex_enter(&mir->mir_mutex);
2700 mutex_exit(&mir->mir_mutex);
2702 mutex_enter(&mir->mir_mutex);
2729 mutex_exit(&mir->mir_mutex);
2731 mutex_enter(&mir->mir_mutex);
2743 mutex_exit(&mir->mir_mutex);
2767 mutex_exit(&mir->mir_mutex);
2773 ASSERT(MUTEX_HELD(&mir->mir_mutex));
2785 mutex_exit(&mir->mir_mutex);
2800 mutex_exit(&mir->mir_mutex);
2808 mutex_exit(&mir->mir_mutex);