Lines Matching defs:candidate

45 			    int candidate,
51 a_metatarget_t *mt = mi->mi_targets[ candidate ];
58 a_metasingleconn_t *msc = &mc->mc_conns[ candidate ];
126 if ( asyncmeta_controls_add( op, rs, mc, candidate, bc->is_root, &ctrls) != LDAP_SUCCESS )
128 candidates[ candidate ].sr_msgid = META_MSGID_IGNORE;
175 candidates[ candidate ].sr_msgid = msgid;
195 asyncmeta_reset_msc(NULL, mc, candidate, 0, __FUNCTION__);
208 switch (bc->nretries[candidate]) {
214 candidates[ candidate ].sr_msgid = META_MSGID_IGNORE;
221 bc->nretries[candidate]--;
233 Debug( LDAP_DEBUG_TRACE, "%s <<< asyncmeta_back_modify_start[%p]=%d\n", op->o_log_prefix, msc, candidates[candidate].sr_msgid );
243 int rc, candidate = -1;
266 mc = asyncmeta_getconn( op, rs, candidates, &candidate, LDAP_BACK_DONTSEND, 0);
272 mt = mi->mi_targets[ candidate ];
288 mc->mc_conns[candidate].msc_active++;
296 mc->mc_conns[candidate].msc_active--;
308 asyncmeta_error_cleanup(op, rs, bc, mc, candidate);
312 rc = asyncmeta_dobind_init_with_retry(op, rs, bc, mc, candidate);
318 "cnd=\"%d\"\n", op->o_log_prefix, candidate );
320 rc = asyncmeta_back_modify_start( op, rs, mc, bc, candidate, 1);
322 asyncmeta_error_cleanup(op, rs, bc, mc, candidate);
331 "cnd=\"%d\"\n", op->o_log_prefix, candidate );
332 asyncmeta_error_cleanup(op, rs, bc, mc, candidate);
338 "cnd=\"%d\" %p\n", op->o_log_prefix, candidate , &mc->mc_conns[candidate]);
345 "cnd=\"%d\"\n", op->o_log_prefix, candidate );
346 asyncmeta_error_cleanup(op, rs, bc, mc, candidate);
354 mc->mc_conns[candidate].msc_active--;
355 asyncmeta_start_one_listener(mc, candidates, bc, candidate);