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

Lines Matching refs:op

64 	Operation	*op, 
67 Slapi_PBlock *pb = SLAPI_OPERATION_PBLOCK( op );
90 Operation *op,
93 Slapi_PBlock *pb = SLAPI_OPERATION_PBLOCK( op );
112 Operation *op,
118 Slapi_PBlock *pb = SLAPI_OPERATION_PBLOCK( op );
138 slapi_int_response( Slapi_Operation *op, SlapReply *rs )
144 rc = slapi_int_result( op, rs );
147 rc = slapi_int_search_entry( op, rs );
150 rc = slapi_int_search_reference( op, rs );
183 Operation *op;
190 op = (Operation *) slapi_ch_calloc( 1, sizeof(OperationBuffer) );
191 op->o_hdr = &((OperationBuffer *) op)->ob_hdr;
192 op->o_controls = ((OperationBuffer *) op)->ob_controls;
194 op->o_callback = (slap_callback *) slapi_ch_calloc( 1, sizeof(slap_callback) );
195 op->o_callback->sc_response = slapi_int_response;
196 op->o_callback->sc_cleanup = NULL;
197 op->o_callback->sc_private = pb;
198 op->o_callback->sc_next = NULL;
200 conn->c_pending_ops.stqh_first = op;
269 op->o_tag = tag;
270 op->o_protocol = LDAP_VERSION3;
271 BER_BVZERO( &op->o_authmech );
272 op->o_time = slap_get_time();
273 op->o_do_not_cache = 1;
274 op->o_threadctx = ldap_pvt_thread_pool_context();
275 op->o_tmpmemctx = NULL;
276 op->o_tmpmfuncs = &ch_mfuncs;
277 op->o_conn = conn;
278 op->o_connid = conn->c_connid;
279 op->o_bd = frontendDB;
282 slapi_int_create_object_extensions( SLAPI_X_EXT_OPERATION, op );
286 pb->pb_op = op;
297 Operation *op = pb->pb_op;
299 if ( BER_BVISNULL( &op->o_ndn ) ) {
301 be = select_backend( &op->o_req_ndn, 1 );
303 ber_dupbv( &op->o_dn, &be->be_rootdn );
304 ber_dupbv( &op->o_ndn, &be->be_rootndn );
313 Operation *op;
318 op = pb->pb_op;
321 if ( !BER_BVISNULL( &op->o_dn ) )
322 op->o_tmpfree( op->o_dn.bv_val, op->o_tmpmemctx );
323 if ( !BER_BVISNULL( &op->o_ndn ) )
324 op->o_tmpfree( op->o_ndn.bv_val, op->o_tmpmemctx );
326 if ( !BER_BVISNULL( &op->o_req_dn ) )
327 op->o_tmpfree( op->o_req_dn.bv_val, op->o_tmpmemctx );
328 if ( !BER_BVISNULL( &op->o_req_ndn ) )
329 op->o_tmpfree( op->o_req_ndn.bv_val, op->o_tmpmemctx );
331 switch ( op->o_tag ) {
333 if ( !BER_BVISNULL( &op->orr_newrdn ))
334 op->o_tmpfree( op->orr_newrdn.bv_val, op->o_tmpmemctx );
335 if ( !BER_BVISNULL( &op->orr_nnewrdn ))
336 op->o_tmpfree( op->orr_nnewrdn.bv_val, op->o_tmpmemctx );
337 if ( op->orr_newSup != NULL ) {
338 assert( !BER_BVISNULL( op->orr_newSup ) );
339 op->o_tmpfree( op->orr_newSup->bv_val, op->o_tmpmemctx );
340 op->o_tmpfree( op->orr_newSup, op->o_tmpmemctx );
342 if ( op->orr_nnewSup != NULL ) {
343 assert( !BER_BVISNULL( op->orr_nnewSup ) );
344 op->o_tmpfree( op->orr_nnewSup->bv_val, op->o_tmpmemctx );
345 op->o_tmpfree( op->orr_nnewSup, op->o_tmpmemctx );
347 slap_mods_free( op->orr_modlist, 1 );
350 slap_mods_free( op->ora_modlist, 0 );
353 slap_mods_free( op->orm_modlist, 1 );
356 if ( op->ors_attrs != NULL ) {
357 op->o_tmpfree( op->ors_attrs, op->o_tmpmemctx );
358 op->ors_attrs = NULL;
375 slapi_int_free_object_extensions( SLAPI_X_EXT_OPERATION, op );