Lines Matching refs:op
32 int cancel_extop( Operation *op, SlapReply *rs )
39 assert( ber_bvcmp( &slap_EXOP_CANCEL, &op->ore_reqoid ) == 0 );
41 if ( op->ore_reqdata == NULL ) {
46 ber = ber_init( op->ore_reqdata );
60 op->o_log_prefix, opid, 0, 0, 0 );
67 ldap_pvt_thread_mutex_lock( &op->o_conn->c_mutex );
69 if ( op->o_abandon ) {
70 /* FIXME: Should instead reject the cancel/abandon of this op, but
71 * it seems unsafe to reset op->o_abandon once it is set. ITS#6138.
78 LDAP_STAILQ_FOREACH( o, &op->o_conn->c_pending_ops, o_next ) {
91 LDAP_STAILQ_FOREACH( o, &op->o_conn->c_ops, o_next ) {
125 ldap_pvt_thread_mutex_unlock( &op->o_conn->c_mutex );
128 LDAP_STAILQ_FOREACH( op->o_bd, &backendDB, be_next ) {
129 if( !op->o_bd->be_cancel ) continue;
131 op->oq_cancel.rs_msgid = opid;
132 if ( op->o_bd->be_cancel( op, rs ) == LDAP_SUCCESS ) {
143 ldap_pvt_thread_mutex_lock( &op->o_conn->c_mutex );
145 ldap_pvt_thread_mutex_unlock( &op->o_conn->c_mutex );