Home
last modified time | relevance | path

Searched refs:dn (Results 1 – 25 of 184) sorted by relevance

12345678

/titanic_41/usr/src/uts/common/fs/zfs/
H A Ddnode.c104 dnode_t *dn = arg; in dnode_cons() local
107 rw_init(&dn->dn_struct_rwlock, NULL, RW_DEFAULT, NULL); in dnode_cons()
108 mutex_init(&dn->dn_mtx, NULL, MUTEX_DEFAULT, NULL); in dnode_cons()
109 mutex_init(&dn->dn_dbufs_mtx, NULL, MUTEX_DEFAULT, NULL); in dnode_cons()
110 cv_init(&dn->dn_notxholds, NULL, CV_DEFAULT, NULL); in dnode_cons()
116 refcount_create_untracked(&dn->dn_holds); in dnode_cons()
117 refcount_create(&dn->dn_tx_holds); in dnode_cons()
118 list_link_init(&dn->dn_link); in dnode_cons()
120 bzero(&dn->dn_next_nblkptr[0], sizeof (dn->dn_next_nblkptr)); in dnode_cons()
121 bzero(&dn->dn_next_nlevels[0], sizeof (dn->dn_next_nlevels)); in dnode_cons()
[all …]
H A Ddnode_sync.c40 dnode_increase_indirection(dnode_t *dn, dmu_tx_t *tx) in dnode_increase_indirection() argument
44 int nblkptr = dn->dn_phys->dn_nblkptr; in dnode_increase_indirection()
45 int old_toplvl = dn->dn_phys->dn_nlevels - 1; in dnode_increase_indirection()
46 int new_level = dn->dn_next_nlevels[txgoff]; in dnode_increase_indirection()
49 rw_enter(&dn->dn_struct_rwlock, RW_WRITER); in dnode_increase_indirection()
52 ASSERT(dn->dn_phys->dn_type != DMU_OT_NONE); in dnode_increase_indirection()
53 ASSERT(RW_WRITE_HELD(&dn->dn_struct_rwlock)); in dnode_increase_indirection()
54 ASSERT(new_level > 1 && dn->dn_phys->dn_nlevels > 0); in dnode_increase_indirection()
56 db = dbuf_hold_level(dn, dn->dn_phys->dn_nlevels, 0, FTAG); in dnode_increase_indirection()
59 dn->dn_phys->dn_nlevels = new_level; in dnode_increase_indirection()
[all …]
H A Ddmu_tx.c42 typedef void (*dmu_tx_hold_func_t)(dmu_tx_t *tx, struct dnode *dn,
104 dnode_t *dn = NULL; in dmu_tx_hold_object_impl() local
108 err = dnode_hold(os, object, tx, &dn); in dmu_tx_hold_object_impl()
115 mutex_enter(&dn->dn_mtx); in dmu_tx_hold_object_impl()
121 ASSERT(dn->dn_assigned_txg == 0); in dmu_tx_hold_object_impl()
122 dn->dn_assigned_txg = tx->tx_txg; in dmu_tx_hold_object_impl()
123 (void) refcount_add(&dn->dn_tx_holds, tx); in dmu_tx_hold_object_impl()
124 mutex_exit(&dn->dn_mtx); in dmu_tx_hold_object_impl()
130 txh->txh_dnode = dn; in dmu_tx_hold_object_impl()
155 dmu_tx_check_ioerr(zio_t *zio, dnode_t *dn, int level, uint64_t blkid) in dmu_tx_check_ioerr() argument
[all …]
H A Ddmu_object.c41 dnode_t *dn = NULL; in dmu_object_alloc() local
78 FTAG, &dn); in dmu_object_alloc()
79 if (dn) in dmu_object_alloc()
86 dnode_allocate(dn, ot, blocksize, 0, bonustype, bonuslen, tx); in dmu_object_alloc()
87 dnode_rele(dn, FTAG); in dmu_object_alloc()
99 dnode_t *dn; in dmu_object_claim() local
105 err = dnode_hold_impl(os, object, DNODE_MUST_BE_FREE, FTAG, &dn); in dmu_object_claim()
108 dnode_allocate(dn, ot, blocksize, 0, bonustype, bonuslen, tx); in dmu_object_claim()
109 dnode_rele(dn, FTAG); in dmu_object_claim()
119 dnode_t *dn; in dmu_object_reclaim() local
[all …]
H A Ddmu.c133 dnode_t *dn; in dmu_buf_hold_noread() local
138 err = dnode_hold(os, object, FTAG, &dn); in dmu_buf_hold_noread()
141 blkid = dbuf_whichblock(dn, 0, offset); in dmu_buf_hold_noread()
142 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_buf_hold_noread()
143 db = dbuf_hold(dn, blkid, tag); in dmu_buf_hold_noread()
144 rw_exit(&dn->dn_struct_rwlock); in dmu_buf_hold_noread()
145 dnode_rele(dn, FTAG); in dmu_buf_hold_noread()
189 dnode_t *dn; in dmu_set_bonus() local
193 dn = DB_DNODE(db); in dmu_set_bonus()
195 if (dn->dn_bonus != db) { in dmu_set_bonus()
[all …]
H A Ddbuf.c155 dnode_t *dn; in dbuf_find_bonus() local
158 if (dnode_hold(os, object, FTAG, &dn) == 0) { in dbuf_find_bonus()
159 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dbuf_find_bonus()
160 if (dn->dn_bonus != NULL) { in dbuf_find_bonus()
161 db = dn->dn_bonus; in dbuf_find_bonus()
164 rw_exit(&dn->dn_struct_rwlock); in dbuf_find_bonus()
165 dnode_rele(dn, FTAG); in dbuf_find_bonus()
411 dnode_t *dn; in dbuf_verify() local
421 dn = DB_DNODE(db); in dbuf_verify()
422 if (dn == NULL) { in dbuf_verify()
[all …]
H A Ddmu_objset.c649 dnode_t *dn; in dmu_objset_evict_dbufs() local
652 dn = list_head(&os->os_dnodes); in dmu_objset_evict_dbufs()
653 while (dn != NULL) { in dmu_objset_evict_dbufs()
659 if (dnode_add_ref(dn, FTAG)) { in dmu_objset_evict_dbufs()
660 list_insert_after(&os->os_dnodes, dn, &dn_marker); in dmu_objset_evict_dbufs()
663 dnode_evict_dbufs(dn); in dmu_objset_evict_dbufs()
664 dnode_rele(dn, FTAG); in dmu_objset_evict_dbufs()
667 dn = list_next(&os->os_dnodes, &dn_marker); in dmu_objset_evict_dbufs()
670 dn = list_next(&os->os_dnodes, dn); in dmu_objset_evict_dbufs()
1050 dnode_t *dn; in dmu_objset_sync_dnodes() local
[all …]
/titanic_41/usr/src/lib/libsldap/common/
H A Dns_wrapper.c66 char *dn, LDAPMod **attrs, in _ns_ldap_add_ext() argument
71 return (ldap_add_ext(ld, dn, attrs, in _ns_ldap_add_ext()
77 char *dn, LDAPMod **attrs, in _ns_ldap_add_ext_s() argument
82 return (ldap_add_ext_s(ld, dn, attrs, serverctrls, clientctrls)); in _ns_ldap_add_ext_s()
87 char *dn, LDAPMod **attrs) in _ns_ldap_add() argument
91 return (ldap_add(ld, dn, attrs)); in _ns_ldap_add()
96 char *dn, LDAPMod **attrs) in _ns_ldap_add_s() argument
100 return (ldap_add_s(ld, dn, attrs)); in _ns_ldap_add_s()
108 char *dn, char *attr, struct berval *bvalue, in _ns_ldap_compare_ext() argument
113 return (ldap_compare_ext(ld, dn, attr, bvalue, in _ns_ldap_compare_ext()
[all …]
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetdn.c49 char *dn; in ldap_get_dn() local
64 if ( ber_scanf( &tmp, "{a", &dn ) == LBER_ERROR ) { in ldap_get_dn()
69 return( dn ); in ldap_get_dn()
74 ldap_dn2ufn( const char *dn ) in ldap_dn2ufn() argument
82 if ( dn == NULL ) { in ldap_dn2ufn()
83 dn = ""; in ldap_dn2ufn()
86 if ( ldap_is_dns_dn( dn ) || ( p = strchr( dn, '=' )) == NULL ) in ldap_dn2ufn()
87 return( nsldapi_strdup( (char *)dn )); in ldap_dn2ufn()
156 ldap_explode_dns( const char *dn ) in ldap_explode_dns() argument
165 if ( dn == NULL ) { in ldap_explode_dns()
[all …]
H A Dsbind.c40 static int simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd,
42 static int simple_bindifnot_s( LDAP *ld, const char *dn, const char *passwd );
56 ldap_simple_bind( LDAP *ld, const char *dn, const char *passwd ) in ldap_simple_bind() argument
66 rc = simple_bind_nolock( ld, dn, passwd, 1 ); in ldap_simple_bind()
73 simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd, in simple_bind_nolock() argument
95 if ( dn == NULL ) in simple_bind_nolock()
96 dn = ""; in simple_bind_nolock()
107 rc = (ld->ld_cache_bind)( ld, msgid, LDAP_REQ_BIND, dn, &bv, in simple_bind_nolock()
124 NSLDAPI_LDAP_VERSION( ld ), dn, LDAP_AUTH_SIMPLE, passwd ) == -1 ) { in simple_bind_nolock()
137 (char *)dn, ber )); in simple_bind_nolock()
[all …]
H A Ddelete.c47 ldap_delete( LDAP *ld, const char *dn ) in ldap_delete() argument
53 if ( ldap_delete_ext( ld, dn, NULL, NULL, &msgid ) == LDAP_SUCCESS ) { in ldap_delete()
62 ldap_delete_ext( LDAP *ld, const char *dn, LDAPControl **serverctrls, in ldap_delete_ext() argument
84 if ( dn == NULL ) { in ldap_delete_ext()
85 dn = ""; in ldap_delete_ext()
96 dn )) != 0 ) { in ldap_delete_ext()
110 if ( ber_printf( ber, "{its", *msgidp, LDAP_REQ_DELETE, dn ) in ldap_delete_ext()
126 (char *)dn, ber ); in ldap_delete_ext()
133 ldap_delete_s( LDAP *ld, const char *dn ) in ldap_delete_s() argument
135 return( ldap_delete_ext_s( ld, dn, NULL, NULL )); in ldap_delete_s()
[all …]
H A Drename.c63 const char *dn, in ldap_rename() argument
120 LDAP_REQ_MODRDN, dn, newrdn, deleteoldrdn )) in ldap_rename()
131 LDAP_REQ_MODDN, dn, newrdn, newparent, in ldap_rename()
148 if ( ber_printf( ber, "{it{ssb", *msgidp, LDAP_REQ_MODDN, dn, in ldap_rename()
178 (char *) dn, ber ); in ldap_rename()
185 ldap_modrdn2( LDAP *ld, const char *dn, const char *newrdn, int deleteoldrdn ) in ldap_modrdn2() argument
189 if ( ldap_rename( ld, dn, newrdn, NULL, deleteoldrdn, NULL, NULL, &msgid ) == LDAP_SUCCESS ) { in ldap_modrdn2()
198 ldap_modrdn( LDAP *ld, const char *dn, const char *newrdn ) in ldap_modrdn() argument
200 return( ldap_modrdn2( ld, dn, newrdn, 1 ) ); in ldap_modrdn()
207 const char *dn, in ldap_rename_s() argument
[all …]
H A Dcompare.c50 ldap_compare( LDAP *ld, const char *dn, const char *attr, const char *value ) in ldap_compare() argument
60 if ( ldap_compare_ext( ld, dn, attr, &bv, NULL, NULL, &msgid ) in ldap_compare()
70 ldap_compare_ext( LDAP *ld, const char *dn, const char *attr, in ldap_compare_ext() argument
100 if ( dn == NULL ) { in ldap_compare_ext()
101 dn = ""; in ldap_compare_ext()
112 LDAP_REQ_COMPARE, dn, attr, bvalue )) != 0 ) { in ldap_compare_ext()
126 if ( ber_printf( ber, "{it{s{so}}", *msgidp, LDAP_REQ_COMPARE, dn, in ldap_compare_ext()
143 (char *)dn, ber ); in ldap_compare_ext()
150 ldap_compare_s( LDAP *ld, const char *dn, const char *attr, in ldap_compare_s() argument
158 return( ldap_compare_ext_s( ld, dn, attr, &bv, NULL, NULL )); in ldap_compare_s()
[all …]
H A Dadd.c61 ldap_add( LDAP *ld, const char *dn, LDAPMod **attrs ) in ldap_add() argument
67 if ( ldap_add_ext( ld, dn, attrs, NULL, NULL, &msgid ) in ldap_add()
82 ldap_add_ext( LDAP *ld, const char *dn, LDAPMod **attrs, in ldap_add_ext() argument
117 if ( dn == NULL ) { in ldap_add_ext()
118 dn = ""; in ldap_add_ext()
128 if ( (rc = (ld->ld_cache_add)( ld, *msgidp, LDAP_REQ_ADD, dn, in ldap_add_ext()
143 if ( ber_printf( ber, "{it{s{", *msgidp, LDAP_REQ_ADD, dn ) in ldap_add_ext()
183 (char *) dn, ber ); in ldap_add_ext()
190 ldap_add_s( LDAP *ld, const char *dn, LDAPMod **attrs ) in ldap_add_s() argument
192 return( ldap_add_ext_s( ld, dn, attrs, NULL, NULL )); in ldap_add_s()
[all …]
H A Dmodify.c59 ldap_modify( LDAP *ld, const char *dn, LDAPMod **mods ) in ldap_modify() argument
65 if ( ldap_modify_ext( ld, dn, mods, NULL, NULL, &msgid ) in ldap_modify()
75 ldap_modify_ext( LDAP *ld, const char *dn, LDAPMod **mods, in ldap_modify_ext() argument
115 if ( dn == NULL ) { in ldap_modify_ext()
116 dn = ""; in ldap_modify_ext()
127 dn, mods )) != 0 ) { in ldap_modify_ext()
141 if ( ber_printf( ber, "{it{s{", *msgidp, LDAP_REQ_MODIFY, dn ) in ldap_modify_ext()
183 (char *)dn, ber ); in ldap_modify_ext()
190 ldap_modify_s( LDAP *ld, const char *dn, LDAPMod **mods ) in ldap_modify_s() argument
192 return( ldap_modify_ext_s( ld, dn, mods, NULL, NULL )); in ldap_modify_s()
[all …]
H A Dsaslbind.c48 const char *dn, in ldap_sasl_bind() argument
96 if ( dn == NULL ) in ldap_sasl_bind()
97 dn = ""; in ldap_sasl_bind()
101 if ( (rc = (ld->ld_cache_bind)( ld, msgid, LDAP_REQ_BIND, dn, in ldap_sasl_bind()
126 ldapversion, dn, LDAP_AUTH_SIMPLE, cred->bv_val, in ldap_sasl_bind()
132 LDAP_REQ_BIND, ldapversion, dn, LDAP_AUTH_SASL, in ldap_sasl_bind()
136 LDAP_REQ_BIND, ldapversion, dn, LDAP_AUTH_SASL, in ldap_sasl_bind()
156 (char *)dn, ber ); in ldap_sasl_bind()
177 const char *dn, in ldap_sasl_bind_s() argument
195 if ( ( err = ldap_sasl_bind( ld, dn, mechanism, cred, serverctrls, in ldap_sasl_bind_s()
/titanic_41/usr/src/lib/libresolv/
H A Dres_comp.c62 register u_char *cp, *dn; local
67 dn = exp_dn;
79 if (dn != exp_dn) {
80 if (dn >= eom)
82 *dn++ = '.';
84 if (dn+n >= eom)
89 if (dn + n + 2 >= eom)
91 *dn++ = '\\';
93 *dn++ = c;
119 *dn = '\0';
[all …]
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Ddnode.h274 void dnode_setbonuslen(dnode_t *dn, int newsize, dmu_tx_t *tx);
275 void dnode_setbonus_type(dnode_t *dn, dmu_object_type_t, dmu_tx_t *tx);
276 void dnode_rm_spill(dnode_t *dn, dmu_tx_t *tx);
282 boolean_t dnode_add_ref(dnode_t *dn, void *ref);
283 void dnode_rele(dnode_t *dn, void *ref);
284 void dnode_rele_and_unlock(dnode_t *dn, void *tag);
285 void dnode_setdirty(dnode_t *dn, dmu_tx_t *tx);
286 void dnode_sync(dnode_t *dn, dmu_tx_t *tx);
287 void dnode_allocate(dnode_t *dn, dmu_object_type_t ot, int blocksize, int ibs,
289 void dnode_reallocate(dnode_t *dn, dmu_object_type_t ot, int blocksize,
[all …]
/titanic_41/usr/src/lib/libresolv2/common/nameser/
H A Dns_name.c100 char *dn, *eom; in ns_name_ntop() local
106 dn = dst; in ns_name_ntop()
115 if (dn != dst) { in ns_name_ntop()
116 if (dn >= eom) { in ns_name_ntop()
120 *dn++ = '.'; in ns_name_ntop()
126 if (dn + l >= eom) { in ns_name_ntop()
138 if ((m = decode_bitstring(&cp, dn, eom)) < 0) in ns_name_ntop()
143 dn += m; in ns_name_ntop()
149 if (dn + 1 >= eom) { in ns_name_ntop()
153 *dn++ = '\\'; in ns_name_ntop()
[all …]
/titanic_41/usr/src/lib/libresolv2/common/resolv/
H A Dres_comp.c178 res_hnok(const char *dn) { in res_hnok() argument
179 int pch = PERIOD, ch = *dn++; in res_hnok()
182 int nch = *dn++; in res_hnok()
206 res_ownok(const char *dn) { in res_ownok() argument
207 if (asterchar(dn[0])) { in res_ownok()
208 if (periodchar(dn[1])) in res_ownok()
209 return (res_hnok(dn+2)); in res_ownok()
210 if (dn[1] == '\0') in res_ownok()
213 return (res_hnok(dn)); in res_ownok()
221 res_mailok(const char *dn) { in res_mailok() argument
[all …]
/titanic_41/usr/src/cmd/ldap/common/
H A Dldaptest.c223 static char dn[256], passwd[256]; in bind_prompt() local
227 getaline( dn, sizeof(dn), stdin, in bind_prompt()
229 if (( *authmethodp = atoi( dn )) == 3 ) { in bind_prompt()
238 getaline( dn, sizeof(dn), stdin, "re-bind dn? " ); in bind_prompt()
239 strcat( dn, dnsuffix ); in bind_prompt()
240 *dnp = dn; in bind_prompt()
242 if ( *authmethodp == LDAP_AUTH_SIMPLE && dn[0] != '\0' ) { in bind_prompt()
262 char passwd[64], dn[256], rdn[64], attr[64], value[256]; in main() local
401 getaline( dn, sizeof(dn), stdin, "dn? " ); in main()
402 strcat( dn, dnsuffix ); in main()
[all …]
H A Dldapmodify.c104 static int domodify( LDAP *ld, char *dn, LDAPMod **pmods, int newentry );
105 static int dodelete( LDAP *ld, char *dn );
106 static int dorename( LDAP *ld, char *dn, char *newrdn, char *newparent,
111 static int domodify( char *dn, LDAPMod **pmods, int newentry );
112 static int dodelete( char *dn );
113 static int dorename( char *dn, char *newrdn, char *newparent,
443 char *line, *dn, *type, *value, *newrdn, *newparent, *p; local
462 dn = newrdn = newparent = NULL;
491 ldaptool_progname, linenum, dn == NULL ? "" : dn );
499 if ( dn == NULL ) {
[all …]
/titanic_41/usr/src/psm/stand/bootblks/zfs/common/
H A Dzfs.fth671 : dn_indblkshift ( dn -- n ) h# 1 + c@ ;
672 : dn_nlevels ( dn -- n ) h# 2 + c@ ;
673 : dn_bonustype ( dn -- n ) h# 4 + c@ ;
674 : dn_datablkszsec ( dn -- n ) h# 8 + w@ ;
675 : dn_bonuslen ( dn -- n ) h# a + w@ ;
676 : dn_blkptr ( dn -- p ) h# 40 + ;
677 : dn_bonus ( dn -- p ) h# c0 + ;
678 : dn_spill ( dn -- p ) h# 180 + ;
684 \ ind-cache is a 1 block indirect block cache from dnode ic-dn
686 \ ic-bp and ic-bplim point into the ic-dn's block ptr array,
[all …]
/titanic_41/usr/src/cmd/tip/aculib/
H A Ddn11.c22 static int child = -1, dn; variable
33 if ((dn = open(acu, 1)) < 0) { in dn_dialer()
42 (void) close(dn); in dn_dialer()
56 nw = write(dn, num, lt = strlen(num)); in dn_dialer()
69 (void) close(dn); in dn_dialer()
73 (void) ioctl(dn, TCGETS, &buf); in dn_dialer()
75 (void) ioctl(dn, TCSETSF, &buf); in dn_dialer()
80 (void) close(dn); in dn_dialer()
119 if (dn > 0) in dn_abort()
120 (void) close(dn); in dn_abort()
/titanic_41/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dkerberos.ldif35 dn: cn=schema
48 dn: cn=schema
63 dn: cn=schema
75 dn: cn=schema
103 dn: cn=schema
115 dn: cn=schema
127 dn: cn=schema
141 dn: cn=schema
157 dn: cn=schema
170 dn: cn=schema
[all …]

12345678