Lines Matching refs:mboxsc_lock

108  * mbox_wait fields are all protected by the global mboxsc_lock mutex.
190 static kmutex_t mboxsc_lock;
265 mutex_init(&mboxsc_lock, NULL, MUTEX_DRIVER, NULL);
319 mutex_destroy(&mboxsc_lock);
347 mutex_enter(&mboxsc_lock);
357 mutex_exit(&mboxsc_lock);
358 mutex_destroy(&mboxsc_lock);
428 mutex_enter(&mboxsc_lock);
430 mutex_exit(&mboxsc_lock);
459 mutex_enter(&mboxsc_lock);
465 cv_wait(&mboxsc_dereference_cv, &mboxsc_lock);
469 mutex_exit(&mboxsc_lock);
552 mutex_enter(&mboxsc_lock);
566 mutex_exit(&mboxsc_lock);
599 &mboxsc_lock, deadline);
615 mutex_exit(&mboxsc_lock);
632 mutex_exit(&mboxsc_lock);
698 mutex_enter(&mboxsc_lock);
702 mutex_exit(&mboxsc_lock);
773 mutex_enter(&mboxsc_lock);
777 mutex_exit(&mboxsc_lock);
859 mutex_enter(&mboxsc_lock);
868 mutex_exit(&mboxsc_lock);
888 * The mboxsc_lock mutex MUST be held when jumping to this point.
906 &mboxsc_lock, deadline);
915 mutex_exit(&mboxsc_lock);
956 mutex_exit(&mboxsc_lock);
958 mutex_enter(&mboxsc_lock);
979 mutex_exit(&mboxsc_lock);
992 mutex_exit(&mboxsc_lock);
1009 mutex_enter(&mboxsc_lock);
1015 mutex_exit(&mboxsc_lock);
1036 mutex_enter(&mboxsc_lock);
1061 mutex_exit(&mboxsc_lock);
1097 mutex_enter(&mboxsc_lock);
1103 mutex_exit(&mboxsc_lock);
1122 mutex_enter(&mboxsc_lock);
1132 * Unfortunately, we can't be holding mboxsc_lock when we unlock
1138 mutex_exit(&mboxsc_lock);
1140 mutex_enter(&mboxsc_lock);
1157 mutex_enter(&mboxsc_lock);
1166 mutex_exit(&mboxsc_lock);
1185 mutex_exit(&mboxsc_lock);
1217 mutex_enter(&mboxsc_lock);
1220 mutex_exit(&mboxsc_lock);
1310 mutex_exit(&mboxsc_lock);
1344 mutex_enter(&mboxsc_lock);
1395 mutex_exit(&mboxsc_lock);
1410 mutex_exit(&mboxsc_lock);
1412 mutex_enter(&mboxsc_lock);
1418 mutex_exit(&mboxsc_lock);
1458 * NOTE: The caller MUST hold mboxsc_lock to avoid corrupting the hash table.
1472 ASSERT(mutex_owned(&mboxsc_lock));
1528 * NOTE: The caller MUST hold mboxsc_lock to avoid corrupting the hash table.
1542 ASSERT(mutex_owned(&mboxsc_lock));
1574 * NOTE: The caller MUST hold mboxsc_lock to avoid corrupting the hash table.
1588 ASSERT(mutex_owned(&mboxsc_lock));
1603 * NOTE: The caller MUST hold mboxsc_lock to avoid corrupting the hash table.
1618 ASSERT(mutex_owned(&mboxsc_lock));
1640 * NOTE: The caller MUST hold mboxsc_lock to avoid corrupting the hash table.
1656 ASSERT(mutex_owned(&mboxsc_lock));
1752 mutex_enter(&mboxsc_lock);
1756 mutex_exit(&mboxsc_lock);
1793 mutex_exit(&mboxsc_lock);
1862 mutex_enter(&mboxsc_lock);
1866 mutex_exit(&mboxsc_lock);
1875 mutex_exit(&mboxsc_lock);
2246 ASSERT(mutex_owned(&mboxsc_lock));
2268 ASSERT(mutex_owned(&mboxsc_lock));
2380 mutex_enter(&mboxsc_lock);
2393 mutex_exit(&mboxsc_lock);
2407 mutex_enter(&mboxsc_lock);
2419 mutex_exit(&mboxsc_lock);