• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/servers/slapd/overlays/

Lines Matching refs:op

148 	switch ( c->op ) {
397 Operation *op,
403 refint_q *rq = op->o_callback->sc_private;
425 ip = op->o_tmpalloc(sizeof(dependent_data), op->o_tmpmemctx );
426 ber_dupbv_x( &ip->dn, &rs->sr_entry->e_name, op->o_tmpmemctx );
427 ber_dupbv_x( &ip->ndn, &rs->sr_entry->e_nname, op->o_tmpmemctx );
449 na = op->o_tmpcalloc( 1,
451 op->o_tmpmemctx );
468 ber_dupbv_x( &olddn, &a->a_vals[i], op->o_tmpmemctx );
469 ber_bvarray_add_x( &na->old_vals, &olddn, op->o_tmpmemctx );
471 ber_dupbv_x( &oldndn, &a->a_nvals[i], op->o_tmpmemctx );
472 ber_bvarray_add_x( &na->old_nvals, &oldndn, op->o_tmpmemctx );
480 build_new_dn( &newdn, &rq->newdn, &newsub, op->o_tmpmemctx );
481 ber_bvarray_add_x( &na->new_vals, &newdn, op->o_tmpmemctx );
485 build_new_dn( &newdn, &rq->newndn, &newsub, op->o_tmpmemctx );
486 ber_bvarray_add_x( &na->new_nvals, &newdn, op->o_tmpmemctx );
496 ber_dupbv_x( &dn, &a->a_vals[exact], op->o_tmpmemctx );
497 ber_bvarray_add_x( &na->old_vals, &dn, op->o_tmpmemctx );
498 ber_dupbv_x( &dn, &a->a_nvals[exact], op->o_tmpmemctx );
499 ber_bvarray_add_x( &na->old_nvals, &dn, op->o_tmpmemctx );
502 ber_dupbv_x( &dn, &rq->newdn, op->o_tmpmemctx );
503 ber_bvarray_add_x( &na->new_vals, &dn, op->o_tmpmemctx );
504 ber_dupbv_x( &dn, &rq->newndn, op->o_tmpmemctx );
505 ber_bvarray_add_x( &na->new_nvals, &dn, op->o_tmpmemctx );
523 Operation *op,
532 op->o_callback->sc_response = refint_search_cb;
533 op->o_req_dn = op->o_bd->be_suffix[ 0 ];
534 op->o_req_ndn = op->o_bd->be_nsuffix[ 0 ];
535 op->o_dn = op->o_bd->be_rootdn;
536 op->o_ndn = op->o_bd->be_rootndn;
539 rc = op->o_bd->be_search( op, &rs );
549 if ( op->o_callback->sc_private == NULL ) {
557 op->o_callback->sc_response = &slap_null_cb;
568 op2 = *op;
592 if ( SLAP_LASTMOD( op->o_bd ) ) {
700 Operation *op;
707 op = &opbuf.ob_op;
722 op->ors_filter = &ftop;
724 fptr = op->o_tmpcalloc( sizeof(Filter) + sizeof(MatchingRuleAssertion),
725 1, op->o_tmpmemctx );
742 /* Dequeue an op */
757 filter2bv_x( op, op->ors_filter, &op->ors_filterstr );
762 op->o_callback = &cb;
763 op->o_tag = LDAP_REQ_SEARCH;
764 op->ors_scope = LDAP_SCOPE_SUBTREE;
765 op->ors_deref = LDAP_DEREF_NEVER;
766 op->ors_limit = NULL;
767 op->ors_slimit = SLAP_NO_LIMIT;
768 op->ors_tlimit = SLAP_NO_LIMIT;
771 op->ors_attrs = slap_anlist_no_attrs;
773 slap_op_time( &op->o_time, &op->o_tincr );
776 op->o_bd = rq->db;
777 refint_repair( op, id, rq );
789 op->o_bd = be;
790 refint_repair( op, id, rq );
799 ber_bvarray_free_x( ra->new_nvals, op->o_tmpmemctx );
800 ber_bvarray_free_x( ra->new_vals, op->o_tmpmemctx );
801 ber_bvarray_free_x( ra->old_nvals, op->o_tmpmemctx );
802 ber_bvarray_free_x( ra->old_vals, op->o_tmpmemctx );
803 op->o_tmpfree( ra, op->o_tmpmemctx );
805 op->o_tmpfree( dp->ndn.bv_val, op->o_tmpmemctx );
806 op->o_tmpfree( dp->dn.bv_val, op->o_tmpmemctx );
807 op->o_tmpfree( dp, op->o_tmpmemctx );
809 op->o_tmpfree( op->ors_filterstr.bv_val, op->o_tmpmemctx );
823 op->o_tmpfree( fptr, op->o_tmpmemctx );
843 Operation *op,
847 slap_overinst *on = (slap_overinst *) op->o_bd->bd_info;
855 /* If the main op failed or is not a Delete or ModRdn, ignore it */
856 if (( op->o_tag != LDAP_REQ_DELETE && op->o_tag != LDAP_REQ_MODRDN ) ||
897 ber_dupbv( &rq->olddn, &op->o_req_dn );
898 ber_dupbv( &rq->oldndn, &op->o_req_ndn );
902 if ( op->o_tag == LDAP_REQ_MODRDN ) {
903 if ( op->oq_modrdn.rs_newSup ) {
904 pdn = *op->oq_modrdn.rs_newSup;
906 dnParent( &op->o_req_dn, &pdn );
908 build_new_dn( &rq->newdn, &pdn, &op->orr_newrdn, NULL );
909 if ( op->oq_modrdn.rs_nnewSup ) {
910 pdn = *op->oq_modrdn.rs_nnewSup;
912 dnParent( &op->o_req_ndn, &pdn );
914 build_new_dn( &rq->newndn, &pdn, &op->orr_nnewrdn, NULL );
931 op->o_bd->be_suffix[0].bv_val );