Home | History | Annotate | Download | only in back-asyncmeta

Lines Matching defs:candidate

44 			    int candidate,
48 a_metatarget_t *mt = mi->mi_targets[ candidate ];
55 a_metasingleconn_t *msc = &mc->mc_conns[ candidate ];
68 if ( asyncmeta_controls_add( op, rs, mc, candidate, bc->is_root, &ctrls ) != LDAP_SUCCESS )
70 candidates[ candidate ].sr_msgid = META_MSGID_IGNORE;
115 candidates[ candidate ].sr_msgid = msgid;
135 asyncmeta_reset_msc(NULL, mc, candidate, 0, __FUNCTION__);
148 switch (bc->nretries[candidate]) {
154 candidates[ candidate ].sr_msgid = META_MSGID_IGNORE;
161 bc->nretries[candidate]--;
172 Debug( LDAP_DEBUG_TRACE, "%s <<< asyncmeta_back_delete_start[%p]=%d\n", op->o_log_prefix, msc, candidates[candidate].sr_msgid );
182 int rc, candidate = -1;
213 mc = asyncmeta_getconn( op, rs, candidates, &candidate, LDAP_BACK_DONTSEND, 0);
219 mt = mi->mi_targets[ candidate ];
235 mc->mc_conns[candidate].msc_active++;
243 mc->mc_conns[candidate].msc_active--;
255 asyncmeta_error_cleanup(op, rs, bc, mc, candidate);
259 rc = asyncmeta_dobind_init_with_retry(op, rs, bc, mc, candidate);
265 "cnd=\"%d\"\n", op->o_log_prefix, candidate );
267 rc = asyncmeta_back_delete_start( op, rs, mc, bc, candidate, 1);
269 asyncmeta_error_cleanup(op, rs, bc, mc, candidate);
278 "cnd=\"%d\"\n", op->o_log_prefix, candidate );
279 asyncmeta_error_cleanup(op, rs, bc, mc, candidate);
285 "cnd=\"%d\" %p\n", op->o_log_prefix, candidate , &mc->mc_conns[candidate]);
293 "cnd=\"%d\"\n", op->o_log_prefix, candidate );
294 asyncmeta_error_cleanup(op, rs, bc, mc, candidate);
302 mc->mc_conns[candidate].msc_active--;
303 asyncmeta_start_one_listener(mc, candidates, bc, candidate);