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;
206 mc = asyncmeta_getconn( op, rs, candidates, &candidate, LDAP_BACK_DONTSEND, 0);
212 mt = mi->mi_targets[ candidate ];
228 mc->mc_conns[candidate].msc_active++;
236 mc->mc_conns[candidate].msc_active--;
248 asyncmeta_error_cleanup(op, rs, bc, mc, candidate);
252 rc = asyncmeta_dobind_init_with_retry(op, rs, bc, mc, candidate);
258 "cnd=\"%d\"\n", op->o_log_prefix, candidate );
260 rc = asyncmeta_back_delete_start( op, rs, mc, bc, candidate, 1);
262 asyncmeta_error_cleanup(op, rs, bc, mc, candidate);
271 "cnd=\"%d\"\n", op->o_log_prefix, candidate );
272 asyncmeta_error_cleanup(op, rs, bc, mc, candidate);
278 "cnd=\"%d\" %p\n", op->o_log_prefix, candidate , &mc->mc_conns[candidate]);
286 "cnd=\"%d\"\n", op->o_log_prefix, candidate );
287 asyncmeta_error_cleanup(op, rs, bc, mc, candidate);
295 mc->mc_conns[candidate].msc_active--;
296 asyncmeta_start_one_listener(mc, candidates, bc, candidate);