Lines Matching refs:cmg
940 ns_conn_mgmt_t *cmg;
943 rc = thr_getspecific(ns_cmgkey, (void **)&cmg);
946 if (rc == 0 && cmg != NULL && cmg->config != NULL) {
947 (void) mutex_lock(&cmg->cfg_lock);
948 cur_cfg = cmg->config;
952 cmg->config = ptr;
954 (void) mutex_unlock(&cmg->cfg_lock);
1054 ns_conn_mgmt_t *cmg;
1057 rc = thr_getspecific(ns_cmgkey, (void **)&cmg);
1060 if (rc == 0 && cmg != NULL && cmg->config != NULL) {
1061 (void) mutex_lock(&cmg->cfg_lock);
1062 cur_cfg = cmg->config;
1064 (void) mutex_unlock(&cmg->cfg_lock);