Lines Matching defs:new_state
965 adutils_query_state_t *new_state;
976 new_state = calloc(1, sizeof (adutils_query_state_t) +
978 if (new_state == NULL)
981 new_state->ref_cnt = 1;
982 new_state->qadh = adh;
983 new_state->qsize = nqueries;
984 new_state->qadh_gen = adh->generation;
985 new_state->qcount = 0;
986 new_state->ldap_res_search_cb = ldap_res_search_cb;
987 new_state->ldap_res_search_argp = ldap_res_search_argp;
988 (void) pthread_cond_init(&new_state->cv, NULL);
991 new_state->next = qstatehead;
992 qstatehead = new_state;
994 *state = new_state;