Lines Matching refs:ndn

637 	struct berval	ndn = BER_BVNULL;
673 if ( monitor_search2ndn( nbase, scope, filter, &ndn ) ) {
685 if ( monitor_cache_get( mi, &ndn, &e_parent ) != 0 ) {
690 ndn.bv_val );
775 if ( !BER_BVISNULL( &ndn ) ) {
776 ch_free( ndn.bv_val );
854 struct berval *ndn = op->o_callback->sc_private;
856 if ( !BER_BVISNULL( ndn ) ) {
858 ch_free( ndn->bv_val );
859 BER_BVZERO( ndn );
863 ber_dupbv( ndn, &rs->sr_entry->e_nname );
874 struct berval *ndn )
884 BER_BVZERO( ndn );
917 cb.sc_private = (void *)ndn;
961 if ( BER_BVISNULL( ndn ) ) {
968 if ( !BER_BVISNULL( ndn ) ) {
969 ber_memfree( ndn->bv_val );
970 BER_BVZERO( ndn );
989 struct berval ndn = BER_BVNULL;
1011 ndn = *ndn_in;
1019 if ( ( ndn_in == NULL || BER_BVISNULL( &ndn ) )
1038 if ( BER_BVISNULL( &ndn ) ) {
1039 if ( monitor_search2ndn( nbase, scope, filter, &ndn ) ) {
1052 if ( monitor_cache_get( mi, &ndn, &e ) != 0 ) {
1057 fname, ndn.bv_val );
1120 ber_memfree( ndn.bv_val );
1171 struct berval *ndn,
1177 return monitor_back_register_entry_attrs( ndn, NULL, cb,
1188 struct berval *ndn )
1196 ndn->bv_val );
1216 if ( monitor_cache_remove( mi, ndn, &e ) != 0 ) {
1221 ndn->bv_val );
1253 && dn_match( ndn, &elp->el_e->e_nname ) )
1293 struct berval ndn = BER_BVNULL;
1330 if ( monitor_search2ndn( nbase, scope, filter, &ndn ) ) {
1342 if ( monitor_cache_remove( mi, &ndn, &e ) != 0 ) {
1347 ndn.bv_val );
1348 ber_memfree( ndn.bv_val );
1351 ber_memfree( ndn.bv_val );
1436 struct berval ndn = BER_BVNULL;
1460 ndn = *ndn_in;
1468 if ( ( ndn_in == NULL || BER_BVISNULL( &ndn ) )
1484 if ( BER_BVISNULL( &ndn ) ) {
1485 if ( monitor_search2ndn( nbase, scope, filter, &ndn ) ) {
1497 if ( monitor_cache_get( mi, &ndn, &e ) != 0 ) {
1502 ndn.bv_val );
1543 ber_memfree( ndn.bv_val );
1600 struct berval *ndn,
1606 /* TODO: lookup entry (by ndn, if not NULL, and/or by callback);
1609 return monitor_back_unregister_entry_attrs( ndn,
1631 struct berval *ndn,
1639 if ( dnIsSuffix( ndn, &monitor_subsys[ i ]->mss_ndn ) ) {
1646 if ( dn_match( ndn, &monitor_subsys[ i ]->mss_ndn ) ) {
2122 ndn;
2150 rc = dnPrettyNormal( NULL, &dn, &pdn, &ndn, NULL );
2159 ber_bvarray_add( &be->be_nsuffix, &ndn );
2167 be2 = select_backend( &ndn, 0 );