Lines Matching defs:candidate

45 			    int candidate,
50 a_metatarget_t *mt = mi->mi_targets[ candidate ];
58 a_metasingleconn_t *msc = &mc->mc_conns[ candidate ];
127 if ( asyncmeta_controls_add( op, rs, mc, candidate, bc->is_root, &ctrls ) != LDAP_SUCCESS )
129 candidates[ candidate ].sr_msgid = META_MSGID_IGNORE;
176 candidates[ candidate ].sr_msgid = msgid;
196 asyncmeta_reset_msc(NULL, mc, candidate, 0, __FUNCTION__ );
209 switch (bc->nretries[candidate]) {
215 candidates[ candidate ].sr_msgid = META_MSGID_IGNORE;
222 bc->nretries[candidate]--;
243 Debug( LDAP_DEBUG_TRACE, "%s <<< asyncmeta_back_modrdn_start[%p]=%d\n", op->o_log_prefix, msc, candidates[candidate].sr_msgid );
253 int rc, candidate = -1;
275 mc = asyncmeta_getconn( op, rs, candidates, &candidate, LDAP_BACK_DONTSEND, 0);
281 mt = mi->mi_targets[ candidate ];
297 mc->mc_conns[candidate].msc_active++;
305 mc->mc_conns[candidate].msc_active--;
317 asyncmeta_error_cleanup(op, rs, bc, mc, candidate);
322 rc = asyncmeta_dobind_init_with_retry(op, rs, bc, mc, candidate);
328 "cnd=\"%d\"\n", op->o_log_prefix, candidate );
330 rc = asyncmeta_back_modrdn_start( op, rs, mc, bc, candidate, 1);
332 asyncmeta_error_cleanup(op, rs, bc, mc, candidate);
341 "cnd=\"%d\"\n", op->o_log_prefix, candidate );
342 asyncmeta_error_cleanup(op, rs, bc, mc, candidate);
348 "cnd=\"%d\" %p\n", op->o_log_prefix, candidate , &mc->mc_conns[candidate]);
356 "cnd=\"%d\"\n", op->o_log_prefix, candidate );
357 asyncmeta_error_cleanup(op, rs, bc, mc, candidate);
365 mc->mc_conns[candidate].msc_active--;
366 asyncmeta_start_one_listener(mc, candidates, bc, candidate);