Lines Matching refs:sr_entry
218 RS_ASSERT( rs->sr_entry != NULL );
242 RS_ASSERT( !rs->sr_entry );
278 /* Obey and clear rs->sr_flags & REP_ENTRY_MASK. Clear sr_entry if freed. */
284 if ( (rs->sr_flags & REP_ENTRY_MUSTFLUSH) && rs->sr_entry != NULL ) {
286 entry_free( rs->sr_entry );
288 overlay_entry_release_ov( op, rs->sr_entry, 0, on );
290 be_entry_release_rw( op, rs->sr_entry, 0 );
292 rs->sr_entry = NULL;
298 /* Set rs->sr_entry after obeying and clearing sr_flags & REP_ENTRY_MASK. */
303 rs->sr_entry = e;
307 * Ensure rs->sr_entry is modifiable, by duplicating it if necessary.
309 * Return nonzero if rs->sr_entry was replaced.
318 rs_replace_entry( op, rs, on, entry_dup( rs->sr_entry ));
1090 op->o_connid, rs->sr_entry->e_name.bv_val,
1095 if ( !access_allowed( op, rs->sr_entry, ad_entry, NULL, ACL_READ, NULL )) {
1098 op->o_connid, rs->sr_entry->e_name.bv_val );
1110 bv.bv_len = entry_flatsize( rs->sr_entry, 0 );
1122 LDAP_RES_SEARCH_ENTRY, &rs->sr_entry->e_name );
1125 LDAP_RES_SEARCH_ENTRY, &rs->sr_entry->e_name );
1132 LDAP_RES_SEARCH_ENTRY, &rs->sr_entry->e_name );
1135 LDAP_RES_SEARCH_ENTRY, &rs->sr_entry->e_name );
1160 for ( a = rs->sr_entry->e_attrs, i=0; a != NULL; a = a->a_next, i++ ) {
1179 for ( a=rs->sr_entry->e_attrs, i=0; a != NULL; a=a->a_next, i++ ) {
1185 rc = filter_matched_values(op, rs->sr_entry->e_attrs, &e_flags) ;
1199 for ( a = rs->sr_entry->e_attrs, j = 0; a != NULL; a = a->a_next, j++ ) {
1230 if ( ! access_allowed( op, rs->sr_entry, desc, NULL,
1255 if ( ! access_allowed( op, rs->sr_entry,
1394 if ( ! access_allowed( op, rs->sr_entry, desc, NULL,
1420 if ( ! access_allowed( op, rs->sr_entry,
1496 op->o_log_prefix, rs->sr_entry->e_nname.bv_val );
1566 char *edn = rs->sr_entry ? rs->sr_entry->e_name.bv_val : "(null)";
1583 if ( rs->sr_entry && ! access_allowed( op, rs->sr_entry,
1592 if ( rs->sr_entry && ! access_allowed( op, rs->sr_entry,
1823 rs->sr_entry = e;
1827 bv.bv_len = entry_flatsize( rs->sr_entry, 0 );