Lines Matching defs:new_state
958 adutils_query_state_t *new_state;
969 new_state = calloc(1, sizeof (adutils_query_state_t) +
971 if (new_state == NULL)
974 new_state->ref_cnt = 1;
975 new_state->qadh = adh;
976 new_state->qsize = nqueries;
977 new_state->qadh_gen = adh->generation;
978 new_state->qcount = 0;
979 new_state->ldap_res_search_cb = ldap_res_search_cb;
980 new_state->ldap_res_search_argp = ldap_res_search_argp;
981 (void) pthread_cond_init(&new_state->cv, NULL);
984 new_state->next = qstatehead;
985 qstatehead = new_state;
987 *state = new_state;