Lines Matching refs:op
161 allop_op_search( Operation *op, SlapReply *rs )
163 slap_overinst *on = (slap_overinst *)op->o_bd->bd_info;
171 if ( !BER_BVISEMPTY( &op->o_req_ndn )
172 || op->ors_scope != LDAP_SCOPE_BASE )
178 if ( !dnIsSuffix( &op->o_req_ndn, &ao->ao_ndn ) ) {
184 if ( op->o_req_ndn.bv_len != ao->ao_ndn.bv_len ) {
190 if ( op->ors_scope == LDAP_SCOPE_BASE ) {
191 struct berval rdn = op->o_req_ndn;
207 mask = slap_attr_flags( op->ors_attrs );
217 if ( op->ors_attrs == NULL ) {
221 for ( ; !BER_BVISNULL( &op->ors_attrs[ i ].an_name ); i++ )
225 op->ors_attrs = op->o_tmprealloc( op->ors_attrs,
227 op->o_tmpmemctx );
230 op->ors_attrs[ i ] = slap_anlist_all_user_attributes[ 0 ];
234 op->ors_attrs[ i ] = slap_anlist_all_operational_attributes[ 0 ];
236 BER_BVZERO( &op->ors_attrs[ i + 1 ].an_name );