Lines Matching refs:cur_req
60 int cur_req;
316 ac->cur_req = 0;
393 if (ac->reqs[ac->cur_req]->handle == NULL) {
394 ret = ldb_request(ac->module->ldb, ac->reqs[ac->cur_req]);
400 ret = ldb_wait(ac->reqs[ac->cur_req]->handle, LDB_WAIT_NONE);
406 if (ac->reqs[ac->cur_req]->handle->status != LDB_SUCCESS) {
407 handle->status = ac->reqs[ac->cur_req]->handle->status;
410 if (ac->reqs[ac->cur_req]->handle->state == LDB_ASYNC_DONE) {
411 ac->cur_req++;
414 if (ac->cur_req < ac->num_reqs) {