Lines Matching refs:batch

3058 	ns_ldap_list_batch_t *batch,  in ldap_list()  argument
3219 if (batch != NULL) { in ldap_list()
3220 cookie->batch = batch; in ldap_list()
3238 cookie->next_cookie_in_batch = batch->cookie_list; in ldap_list()
3239 batch->cookie_list = cookie; in ldap_list()
3240 batch->nactive++; in ldap_list()
3350 __ns_ldap_list_batch_start(ns_ldap_list_batch_t **batch) in __ns_ldap_list_batch_start() argument
3352 *batch = calloc(1, sizeof (ns_ldap_list_batch_t)); in __ns_ldap_list_batch_start()
3353 if (*batch == NULL) in __ns_ldap_list_batch_start()
3364 ns_ldap_list_batch_t *batch, in __ns_ldap_list_batch_add() argument
3395 rc = ldap_list(batch, service, filter, NULL, init_filter_cb, attribute, in __ns_ldap_list_batch_add()
3417 __ns_ldap_list_batch_release(ns_ldap_list_batch_t *batch) in __ns_ldap_list_batch_release() argument
3421 for (c = batch->cookie_list; c != NULL; c = next) { in __ns_ldap_list_batch_release()
3431 free(batch); in __ns_ldap_list_batch_release()
3455 __ns_ldap_list_batch_process(ns_ldap_list_batch_t *batch, int *rcp) in __ns_ldap_list_batch_process() argument
3463 if (batch->nactive == 0) in __ns_ldap_list_batch_process()
3467 c = (batch->next_cookie == NULL) ? in __ns_ldap_list_batch_process()
3468 batch->cookie_list : batch->next_cookie; in __ns_ldap_list_batch_process()
3470 batch->next_cookie = c->next_cookie_in_batch; in __ns_ldap_list_batch_process()
3535 ptr = batch->cookie_list; in __ns_ldap_list_batch_process()
3536 prev = &batch->cookie_list; in __ns_ldap_list_batch_process()
3553 batch->nactive--; in __ns_ldap_list_batch_process()
3581 return ((batch->nactive > 0) ? 1 : 0); in __ns_ldap_list_batch_process()
3590 __ns_ldap_list_batch_end(ns_ldap_list_batch_t *batch) in __ns_ldap_list_batch_end() argument
3593 while (__ns_ldap_list_batch_process(batch, &rc) > 0) in __ns_ldap_list_batch_end()
3595 __ns_ldap_list_batch_release(batch); in __ns_ldap_list_batch_end()