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

Lines Matching refs:op

29 	Operation *op,
34 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
50 buf = op->o_tmpalloc( key.size, op->o_tmpmemctx );
68 op->o_log_prefix, e->e_name.bv_val, e->e_id );
75 if( !be_issuffix( op->o_bd, &ptr ))
88 if( !be_issuffix( op->o_bd, &ptr ))
99 rc = bdb_idl_insert_key( op->o_bd, db, txn, &key, e->e_id );
110 while( !be_issuffix( op->o_bd, &ptr ))
117 rc = bdb_idl_insert_key( op->o_bd, db, txn, &key, e->e_id );
126 if( be_issuffix( op->o_bd, &ptr )) break;
138 op->o_tmpfree( buf, op->o_tmpmemctx );
145 Operation *op,
150 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
162 buf = op->o_tmpalloc( key.size, op->o_tmpmemctx );
180 if( !be_issuffix( op->o_bd, &ptr ))
184 rc = bdb_idl_delete_key( op->o_bd, db, txn, &key, e->e_id );
193 if( !be_issuffix( op->o_bd, &ptr ))
204 rc = bdb_idl_delete_key( op->o_bd, db, txn, &key, e->e_id );
215 while( !be_issuffix( op->o_bd, &ptr ))
222 rc = bdb_idl_delete_key( op->o_bd, db, txn, &key, e->e_id );
230 if( be_issuffix( op->o_bd, &ptr )) break;
242 op->o_tmpfree( buf, op->o_tmpmemctx );
249 Operation *op,
255 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
265 key.data = op->o_tmpalloc( key.size, op->o_tmpmemctx );
289 op->o_tmpfree( key.data, op->o_tmpmemctx );
295 Operation *op,
300 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
309 key.data = op->o_tmpalloc( key.size, op->o_tmpmemctx );
316 op->o_tmpfree( key.data, op->o_tmpmemctx );
329 op->o_tmpfree( key.data, op->o_tmpmemctx );
341 Operation *op,
350 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
352 int prefix = ( op->ors_scope == LDAP_SCOPE_ONELEVEL )
361 ( ei->bei_parent->bei_id == 0 && op->o_bd->be_suffix[0].bv_len ))) {
371 key.data = op->o_tmpalloc( key.size, op->o_tmpmemctx );
376 rc = bdb_idl_fetch_key( op->o_bd, db, txn, &key, ids, NULL, 0 );
390 op->o_tmpfree( key.data, op->o_tmpmemctx );
505 Operation *op,
510 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
521 nrlen = dn_rdnlen( op->o_bd, &e->e_nname );
523 rlen = dn_rdnlen( op->o_bd, &e->e_name );
529 d = op->o_tmpalloc(sizeof(diskNode) + rlen + nrlen, op->o_tmpmemctx);
588 if ( !op->o_bd->be_suffix[0].bv_len && eip ) {
595 op->o_tmpfree( d, op->o_tmpmemctx );
603 Operation *op,
608 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
634 d = op->o_tmpalloc( data.size, op->o_tmpmemctx );
668 op->o_tmpfree( d, op->o_tmpmemctx );
686 if ( !op->o_bd->be_suffix[0].bv_len && eip ) {
699 Operation *op,
705 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
716 nrlen = dn_rdnlen( op->o_bd, in );
736 d = op->o_tmpalloc( data.size * 3, op->o_tmpmemctx );
767 op->o_tmpfree( d, op->o_tmpmemctx );
781 Operation *op,
786 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
809 d = op->o_tmpalloc( data.ulen, op->o_tmpmemctx );
832 op->o_tmpfree( d, op->o_tmpmemctx );
838 Operation *op,
842 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
899 Operation *op;
1095 save = cx->op->o_tmpalloc( BDB_IDL_SIZEOF( cx->tmp ),
1096 cx->op->o_tmpmemctx );
1106 if ( bdb_cache_find_id( cx->op, cx->txn, cx->id, &cx->ei,
1123 cx->op->o_tmpfree( save, cx->op->o_tmpmemctx );
1143 Operation *op,
1150 struct bdb_info *bdb = (struct bdb_info *)op->o_bd->be_private;
1157 if ( op->ors_scope != LDAP_SCOPE_ONELEVEL &&
1159 ( ei->bei_parent->bei_id == 0 && op->o_bd->be_suffix[0].bv_len )))
1171 cx.prefix = (op->ors_scope == LDAP_SCOPE_ONELEVEL) ?
1176 cx.op = op;