Lines Matching refs:conn_mt

854  * not associated with any conn_mt, i.e.,
855 * not in any conn_mt's linked list of conn_users.
1039 /* only one conn_mt on list */
1102 * Assume the current conn_mgmt and the input conn_mt
1111 cu->conn_mt = cm;
1134 cu->conn_mt = NULL;
1147 * This function assumes conn_mgmt cmg and conn_mt *cm are locked.
1259 * Check to see if a conn_mt matches the connection criteria from
1261 * conn_mt pointer (*cmt) may be freed and *cmt will be set to NULL
1263 * conn_mt *cmt and conn_mgmt cm->conn_mgmt are assumed locked.
1285 * if a conn_mt opened for WRITE is idle
1433 * as the conn_mt list could
1436 * conn_mt list again
1447 cu->conn_mt = cn;
1464 /* wait for the connecting conn_mt */
1489 /* return the newly available conn_mt */
1499 /* next, look for a connecting conn_mt */
1510 cu->conn_mt = cn;
1537 ns_conn_mt_t *cm = cu->conn_mt;
1559 cu->conn_mt = cm;
1590 cm = cu->conn_mt;
1598 cu->conn_mt = NULL;
1632 /* save error info (rc and ns_ldap_error_t) in the conn_mt */
1648 /* copy error info (rc and ns_ldap_error_t) from conn_mt to conn_user */
1699 if ((cm = cu->conn_mt) == NULL)
1720 cu->conn_mt = NULL;
1742 if (cu->conn_mt == NULL || cu->use_mt_conn == B_FALSE)
1792 /* if the conn_mt is not in the MT connection pool, nothing to do */
1818 /* for each conn_user using the conn_mt, set bad_mt_conn flag */
1828 /* detach the conn_mt if no more conn_user left */
1861 if (cu->state != NS_CONN_USER_CONNECTED || (cm = cu->conn_mt) == NULL)
1878 } else { /* error not passed in, use those saved in the conn_mt */
1882 /* detach the conn_user from the conn_mt */
1884 cu->conn_mt = NULL;
1934 * Assume that both the conn_mt and conn_mgmt are locked.
1935 * Return 1 if the conn_mt should be freed.
2205 /* shut down each conn_mt, ignore errors */
2211 * conn_mt may change, so start from
2290 * if called from firstEntry(), keep conn_mt for
2297 if (cu->conn_mt != NULL)
2341 if (cu->conn_mt != NULL && (cmg = cu->conn_mgmt) != NULL) {
2363 conn_wait(ns_conn_mt_t *conn_mt, ns_conn_user_t *conn_user)
2366 ns_conn_waiter_t *head = &conn_mt->waiter;
2376 atomic_inc_uint(&conn_mt->waiter_cnt);
2379 (void) cond_wait(&(mywait.waitcv), &conn_mt->lock);
2389 conn_signal(ns_conn_mt_t *conn_mt)
2392 ns_conn_waiter_t *head = &conn_mt->waiter;
2398 atomic_dec_uint(&conn_mt->waiter_cnt);