Lines Matching defs:batch
120 ns_ldap_list_batch_t *batch;
193 * especially when processing a batch of requests). The caller must free
273 * Create a batch for native LDAP lookup.
285 if (__ns_ldap_list_batch_start(&s->batch) != NS_LDAP_SUCCESS) {
296 * Add a lookup by winname request to the batch.
419 q->lrc = __ns_ldap_list_batch_add(qs->batch, db, q->filter,
437 * Add a lookup by uid/gid request to the batch.
493 q->lrc = __ns_ldap_list_batch_add(qs->batch, db, q->filter,
503 * Add a lookup by user/group name request to the batch.
573 q->lrc = __ns_ldap_list_batch_add(qs->batch, db, q->filter,
583 * Free the batch
592 if (qs->batch != NULL)
593 (void) __ns_ldap_list_batch_release(qs->batch);
607 * Process all requests added to the batch and then free the batch.
621 (void) __ns_ldap_list_batch_end(qs->batch);
622 qs->batch = NULL;
737 nldap_lookup_batch(lookup_state_t *state, idmap_mapping_batch *batch,
750 /* Create nldap lookup batch */
754 "Failed to create batch for native LDAP lookup");
761 /* Add requests to the batch */
762 for (i = 0, add = 0; i < batch->idmap_mapping_batch_len; i++) {
763 req = &batch->idmap_mapping_batch_val[i];
863 * Stop adding requests to this batch on fatal failures
878 for (i = 0; i < batch->idmap_mapping_batch_len; i++) {
879 req = &batch->idmap_mapping_batch_val[i];