Lines Matching refs:mutex

77  *	(mutex) work_queue.work_mutex
82 * (mutex) adapter_listhead_base.listlock
84 * Always acquired before listhead->mutex
87 * (mutex) ipc_info_lock
89 * Always acquired before listhead->mutex
91 * (mutex) listhead->mutex
95 * (mutex) path->mutex
100 * (mutex) adapter->mutex
363 mutex_enter(&path->mutex);
378 mutex_exit(&path->mutex);
385 mutex_enter(&path->mutex);
397 mutex_exit(&path->mutex);
455 mutex_exit(&path->mutex);
472 mutex_enter(&path->mutex);
486 mutex_exit(&path->mutex);
493 * be called after releasing the mutex on the path
494 * in order to avoid any recursive mutex enter panics
505 mutex_enter(&path->mutex);
525 &path->mutex);
539 mutex_exit(&path->mutex);
802 mutex_enter(&listhead->mutex);
824 mutex_exit(&listhead->mutex);
828 mutex_enter(&current->mutex);
846 mutex_exit(&current->mutex);
894 mutex_init(&path->mutex, NULL, MUTEX_DEFAULT, NULL);
954 mutex_enter(&path->mutex);
970 cv_wait(&path->hold_cv, &path->mutex);
1008 mutex_exit(&path->mutex);
1023 cv_wait(&path->hold_cv, &path->mutex);
1026 mutex_exit(&path->mutex);
1069 mutex_enter(&path->mutex);
1077 cv_wait(&path->hold_cv, &path->mutex);
1081 mutex_exit(&path->mutex);
1113 mutex_enter(&path->mutex);
1121 cv_wait(&path->hold_cv, &path->mutex);
1131 mutex_exit(&path->mutex);
1134 * release path->mutex since enqueued tasks acquire it.
1139 mutex_enter(&path->mutex);
1162 mutex_exit(&path->mutex);
1379 mutex_enter(&path->mutex);
1384 mutex_exit(&path->mutex);
1414 ASSERT(MUTEX_HELD(&path->mutex));
1454 mutex_exit(&path->mutex);
1458 mutex_enter(&path->mutex);
1468 mutex_exit(&path->mutex);
1474 mutex_enter(&path->mutex);
1548 ASSERT(MUTEX_HELD(&path->mutex));
1569 mutex_exit(&path->mutex);
1573 mutex_enter(&path->mutex);
1603 ASSERT(MUTEX_HELD(&path->mutex));
1642 * release the path mutex. Any other thread referring
1662 mutex_exit(&path->mutex);
1666 * tasks in the taskq_thread acquire the path->mutex
1667 * so we drop the path mutex before taskq_wait.
1674 * only after releasing the mutex on the path. This is to
1675 * avoid a recursive mutex enter when doing the
1681 * Get the path mutex, change the state of the path to
1690 mutex_enter(&path->mutex);
1703 &path->mutex);
1726 * NOTE: This function has to be called only after releasing the mutex on
1727 * the path. This is to avoid any recursive mutex panics on the path mutex
1729 * rsmka_get_sendq_token which requires the path mutex.
1800 mutex_init(&listhead->mutex, NULL, MUTEX_DEFAULT, NULL);
1866 mutex_enter(&listhead->mutex);
1877 mutex_exit(&listhead->mutex);
1906 mutex_enter(&adapter->mutex);
1917 mutex_exit(&adapter->mutex);
1919 mutex_destroy(&adapter->mutex);
1924 mutex_exit(&adapter->mutex);
1947 mutex_enter(&adapter->listhead->mutex);
1957 mutex_exit(&adapter->listhead->mutex);
1988 mutex_init(&adapter->mutex, NULL, MUTEX_DEFAULT, NULL);
2032 mutex_enter(&adapter->listhead->mutex);
2046 mutex_enter(&current->mutex);
2050 mutex_exit(&adapter->listhead->mutex);
2085 mutex_enter(&adapter->listhead->mutex);
2098 mutex_enter(&current->mutex);
2102 mutex_exit(&adapter->listhead->mutex);
2126 mutex_enter(&adapter->listhead->mutex);
2134 mutex_exit(&adapter->listhead->mutex);
2157 mutex_enter(&path->local_adapter->listhead->mutex);
2181 mutex_exit(&path->local_adapter->listhead->mutex);
2190 mutex_destroy(&current->mutex);
2204 ASSERT(MUTEX_HELD(&path->mutex));
2238 ASSERT(MUTEX_HELD(&path->mutex));
2263 ASSERT(MUTEX_HELD(&path->mutex));
2287 mutex_enter(&adapter->listhead->mutex);
2299 mutex_exit(&adapter->listhead->mutex);
2320 mutex_enter(&adapter->listhead->mutex);
2330 mutex_exit(&adapter->listhead->mutex);
2545 mutex_enter(&path->mutex);
2548 mutex_exit(&path->mutex);
2598 mutex_enter(&path->mutex);
2601 mutex_exit(&path->mutex);
2607 mutex_exit(&path->mutex);
2620 mutex_enter(&path->mutex);
2623 mutex_exit(&path->mutex);
2643 mutex_exit(&path->mutex);