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 ];
74 if ( asyncmeta_controls_add( op, rs, mc, candidate, bc->is_root,&ctrls ) != LDAP_SUCCESS )
76 candidates[ candidate ].sr_msgid = META_MSGID_IGNORE;
122 candidates[ candidate ].sr_msgid = msgid;
142 asyncmeta_reset_msc(NULL, mc, candidate, 0, __FUNCTION__);
155 switch (bc->nretries[candidate]) {
160 candidates[ candidate ].sr_msgid = META_MSGID_IGNORE;
167 bc->nretries[candidate]--;
181 Debug( LDAP_DEBUG_TRACE, "%s <<< asyncmeta_back_compare_start[%p]=%d\n", op->o_log_prefix, msc, candidates[candidate].sr_msgid );
191 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_compare_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);