• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/OpenLDAP-499.27/OpenLDAP/servers/slapd/overlays/

Lines Matching refs:fc

399 		fbase_cookie *fc = sc->sc_private;
404 if ( fc->fss->s_eid == NOID ) {
405 fc->fbase = 2;
406 fc->fss->s_eid = rs->sr_entry->e_id;
407 ber_dupbv( &fc->fss->s_base, &rs->sr_entry->e_nname );
409 } else if ( rs->sr_entry->e_id == fc->fss->s_eid &&
410 dn_match( &rs->sr_entry->e_nname, &fc->fss->s_base )) {
413 fc->fbase = 1;
426 syncprov_findbase( Operation *op, fbase_cookie *fc )
431 ldap_pvt_thread_mutex_lock( &fc->fss->s_mutex );
432 if ( fc->fss->s_flags & PS_FIND_BASE ) {
438 fc->fss->s_flags ^= PS_FIND_BASE;
439 ldap_pvt_thread_mutex_unlock( &fc->fss->s_mutex );
441 fop = *fc->fss->s_op;
449 cb.sc_private = fc;
467 ldap_pvt_thread_mutex_unlock( &fc->fss->s_mutex );
468 fc->fbase = 1;
472 if ( fc->fbase == 1 ) {
473 switch ( fc->fss->s_op->ors_scope ) {
475 fc->fscope = dn_match( fc->fdn, &fc->fss->s_base );
479 dnParent( fc->fdn, &pdn );
480 fc->fscope = dn_match( &pdn, &fc->fss->s_base );
483 fc->fscope = dnIsSuffix( fc->fdn, &fc->fss->s_base );
486 fc->fscope = dnIsSuffix( fc->fdn, &fc->fss->s_base ) &&
487 !dn_match( fc->fdn, &fc->fss->s_base );
492 if ( fc->fbase )
1170 fbase_cookie fc;
1179 fc.fdn = &op->o_req_ndn;
1184 else dnParent( fc.fdn, &pdn );
1186 fc.fdn = &newdn;
1194 rc = overlay_entry_get_ov( op, fc.fdn, NULL, NULL, 0, &e, on );
1261 fc.fss = ss;
1262 fc.fbase = 0;
1263 fc.fscope = 0;
1266 rc = syncprov_findbase( op, &fc );
1299 if ( fc.fscope ) {
1320 ss->s_sid, fc.fscope, rc );
1323 if ( fc.fscope && rc == LDAP_COMPARE_TRUE ) {
1368 op->o_tmpfree( fc.fdn->bv_val, op->o_tmpmemctx );
2484 fbase_cookie fc;
2488 fc.fss = &so;
2489 fc.fbase = 0;
2499 rs->sr_err = syncprov_findbase( op, &fc );