Lines Matching refs:lock

93 	(void) mutex_unlock(&(cm)->lock);	\
97 (void) mutex_unlock(&(cmg)->lock); \
103 (void) mutex_lock(&(cmg)->lock); \
110 (void) mutex_unlock(&(cmg)->lock); \
547 (void) mutex_init(&cmg->lock, USYNC_THREAD, NULL);
580 (void) mutex_lock(&cmg->lock);
591 (void) mutex_unlock(&cmg->lock);
769 (void) mutex_destroy(&cmg->lock);
781 (void) mutex_unlock(&cmg->lock);
955 (void) mutex_init(&cm->lock, USYNC_THREAD, NULL);
991 (void) mutex_destroy(&cm->lock);
1178 (void) mutex_unlock(&cm->lock);
1183 (void) mutex_unlock(&(cm->conn_mgmt)->lock);
1185 (void) mutex_lock(&cm->lock);
1190 /* cm->lock is locked again at this point */
1207 * to be closed), otherwise unlock mutex (*cm)->lock and return B_TRUE.
1309 (void) mutex_unlock(&(*cm)->lock);
1326 * cm->lock is unlocked at exit if rc is B_FALSE.
1342 (void) mutex_unlock(&cm->lock);
1365 (void) mutex_unlock(&cm->lock);
1425 (void) mutex_unlock(&cm->lock);
1489 (void) mutex_lock(&cn->lock);
1511 (void) mutex_unlock(&cn->lock);
1512 (void) mutex_unlock(&cmg->lock);
1522 (void) mutex_unlock(&cn->lock);
1544 (void) mutex_unlock(&cn->lock);
1546 /* cmg->lock unlocked by wait_for_conn_mt() */
1554 (void) mutex_unlock(&cn->lock);
1556 /* cmg->lock unlocked by wait_for_conn_mt() */
1569 (void) mutex_unlock(&cmg->lock);
1580 (void) mutex_unlock(&cmg->lock);
1613 (void) mutex_lock(&cm->lock);
1631 (void) mutex_unlock(&cm->lock);
1632 (void) mutex_unlock(&cmg->lock);
1657 (void) mutex_lock(&cm->lock);
1670 (void) mutex_unlock(&cm->lock);
1671 (void) mutex_lock(&cmg->lock);
1672 (void) mutex_lock(&cm->lock);
1690 (void) mutex_unlock(&cm->lock);
1765 (void) mutex_lock(&cmg->lock);
1766 (void) mutex_lock(&cm->lock);
1815 * if cmg is usable, cmg->lock will be locked. Otherwise,
1831 (void) mutex_unlock(&cmg->lock);
1939 (void) mutex_lock(&cmg->lock);
1940 (void) mutex_lock(&cm->lock);
1945 (void) mutex_unlock(&cm->lock);
1946 (void) mutex_unlock(&cmg->lock);
1989 (void) mutex_lock(&cmg->lock);
1990 (void) mutex_lock(&cm->lock);
1995 (void) mutex_unlock(&cm->lock);
1996 (void) mutex_unlock(&cmg->lock);
2032 get_preferred_servers(boolean_t lock, boolean_t reload, ns_conn_mgmt_t *cmg)
2037 if (lock == B_TRUE)
2038 (void) mutex_lock(&cmg->lock);
2101 (void) mutex_lock(&cmg->lock);
2105 (void) mutex_lock(&cm->lock);
2110 (void) mutex_unlock(&cm->lock);
2114 (void) mutex_unlock(&cm->lock);
2117 (void) mutex_unlock(&cmg->lock);
2151 (void) mutex_unlock(&cmg->lock);
2171 (void) mutex_lock(&cmg->lock);
2192 (void) mutex_lock(&cm->lock);
2246 (void) mutex_unlock(&cm->lock);
2254 (void) mutex_unlock(&cmg->lock);
2273 (void) mutex_lock(&cmg->lock);
2276 (void) mutex_lock(&cm->lock);
2281 (void) mutex_unlock(&cm->lock);
2292 (void) mutex_unlock(&cmg->lock);
2453 (void) cond_wait(&(mywait.waitcv), &conn_mt->lock);