Lines Matching refs:op
35 Operation *op, SlapReply *rs )
41 op->o_log_prefix, 0, 0, 0, 0 );
43 if( op->ore_reqdata != NULL ) {
48 op->o_bd = op->o_conn->c_authz_backend;
49 if( backend_check_restrictions( op, rs,
56 ldap_pvt_thread_mutex_lock( &op->o_conn->c_mutex );
58 if( op->o_conn->c_txn != CONN_TXN_INACTIVE ) {
64 assert( op->o_conn->c_txn_backend == NULL );
65 op->o_conn->c_txn = CONN_TXN_SPECIFY;
76 ldap_pvt_thread_mutex_unlock( &op->o_conn->c_mutex );
81 Operation *op, SlapReply *rs, LDAPControl *ctrl )
87 if( op->o_txnSpec ) {
101 if ( op->o_preread ) { /* temporary limitation */
105 if ( op->o_postread ) { /* temporary limitation */
110 op->o_txnSpec = SLAP_CONTROL_CRITICAL;
115 Operation *op, SlapReply *rs )
126 op->o_log_prefix, 0, 0, 0, 0 );
128 if( op->ore_reqdata == NULL ) {
132 if( op->ore_reqdata->bv_len == 0 ) {
137 op->o_bd = op->o_conn->c_authz_backend;
138 if( backend_check_restrictions( op, rs,
144 ber_init2( ber, op->ore_reqdata, 0 );
173 ldap_pvt_thread_mutex_lock( &op->o_conn->c_mutex );
175 if( op->o_conn->c_txn != CONN_TXN_SPECIFY ) {
180 op->o_conn->c_txn = CONN_TXN_SETTLE;
183 if ( op->o_abandon ) {
186 if( LDAP_STAILQ_EMPTY(&op->o_conn->c_txn_ops) ) {
205 assert( LDAP_STAILQ_EMPTY(&op->o_conn->c_txn_ops) );
206 assert( op->o_conn->c_txn == CONN_TXN_SETTLE );
207 op->o_conn->c_txn = CONN_TXN_INACTIVE;
208 op->o_conn->c_txn_backend = NULL;
212 ldap_pvt_thread_mutex_unlock( &op->o_conn->c_mutex );