Home
last modified time | relevance | path

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

12345678

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddnode.c139 bzero(&dn->dn_next_blksz[0], sizeof (dn->dn_next_blksz)); in dnode_cons()
271 ASSERT(dn->dn_handle->dnh_dnode == dn); in dnode_verify()
303 ASSERT3U(dn->dn_next_nlevels[i], <=, dn->dn_nlevels); in dnode_verify()
307 ASSERT3U(dn->dn_phys->dn_nlevels, <=, dn->dn_nlevels); in dnode_verify()
446 dnode_t *dn; in dnode_create() local
483 dmu_zfetch_init(&dn->dn_zfetch, dn); in dnode_create()
747 ASSERT(dn->dn_bonuslen <= dn->dn_bonus->db.db_size); in dnode_reallocate()
1185 cv_wait(&dn->dn_nodnholds, &dn->dn_mtx); in dnode_special_close()
1572 *dnp = dn; in dnode_hold_impl()
1731 if (dn->dn_type == DMU_OT_NONE || dn->dn_free_txg) { in dnode_free()
[all …]
H A Ddnode_sync.c57 db = dbuf_hold_level(dn, dn->dn_phys->dn_nlevels, 0, FTAG); in dnode_increase_indirection()
62 dn->dn_object, dn->dn_phys->dn_nlevels); in dnode_increase_indirection()
74 dbuf_find(dn->dn_objset, dn->dn_object, old_toplvl, i); in dnode_increase_indirection()
180 dnode_t *dn; in free_verify() local
183 dn = DB_DNODE(db); in free_verify()
271 dnode_t *dn; in free_children() local
594 if (dn->dn_allocated_txg != dn->dn_free_txg) in dnode_sync_free()
596 bzero(dn->dn_phys, sizeof (dnode_phys_t) * dn->dn_num_slots); in dnode_sync_free()
646 dn->dn_oldused = DN_USED_BYTES(dn->dn_phys); in dnode_sync()
647 dn->dn_oldflags = dn->dn_phys->dn_flags; in dnode_sync()
[all …]
H A Ddmu.c192 dnode_t *dn; in dmu_buf_hold_noread() local
275 dnode_t *dn; in dmu_set_bonus() local
298 dnode_t *dn; in dmu_set_bonustype() local
321 dnode_t *dn; in dmu_get_bonustype() local
335 dnode_t *dn; in dmu_rm_spill() local
405 dnode_t *dn; in dmu_bonus_hold_impl() local
497 dnode_t *dn; in dmu_spill_hold_existing() local
527 dnode_t *dn; in dmu_spill_hold_by_bonus() local
579 (longlong_t)dn->dn_object, dn->dn_datablksz, in dmu_buf_hold_array_by_dnode()
646 dnode_t *dn; in dmu_buf_hold_array() local
[all …]
H A Ddmu_tx.c101 if (dn != NULL) { in dmu_tx_hold_dnode_impl()
146 if (dn != NULL) in dmu_tx_hold_object_impl()
221 if (dn == NULL) in dmu_tx_count_write()
355 dnode_t *dn; in dmu_tx_hold_free_impl() local
364 if (off >= (dn->dn_maxblkid + 1) * dn->dn_datablksz) in dmu_tx_hold_free_impl()
367 len = (dn->dn_maxblkid + 1) * dn->dn_datablksz - off; in dmu_tx_hold_free_impl()
394 int shift = dn->dn_datablkshift + dn->dn_indblkshift - in dmu_tx_hold_free_impl()
466 dnode_t *dn; in dmu_tx_hold_zap_impl() local
603 ASSERT(dn == NULL || dn->dn_assigned_txg == tx->tx_txg); in dmu_tx_dirty_buf()
1085 cv_wait(&dn->dn_notxholds, &dn->dn_mtx); in dmu_tx_wait()
[all …]
H A Ddmu_object.c238 dnode_t *dn; in dmu_object_claim_dnsize() local
251 FTAG, &dn); in dmu_object_claim_dnsize()
275 dnode_t *dn; in dmu_object_reclaim_dnsize() local
286 FTAG, &dn); in dmu_object_reclaim_dnsize()
300 dnode_t *dn; in dmu_object_rm_spill() local
304 FTAG, &dn); in dmu_object_rm_spill()
322 dnode_t *dn; in dmu_object_free() local
328 FTAG, &dn); in dmu_object_free()
418 dnode_t *dn; in dmu_object_zapify() local
437 dn->dn_next_type[tx->tx_txg & TXG_MASK] = dn->dn_type = in dmu_object_zapify()
[all …]
H A Ddbuf.c248 dnode_t *dn; in dbuf_find_bonus() local
721 dnode_t *dn; in dbuf_verify() local
1047 dnode_t *dn; in dbuf_read_verify_dnode_crypt() local
1093 dnode_t *dn; in dbuf_read_impl() local
1315 dnode_t *dn; in dbuf_read() local
1604 dnode_t *dn; in dbuf_new_size() local
1684 dnode_t *dn; in dbuf_dirty() local
1984 dnode_t *dn; in dbuf_undirty() local
2313 dnode_t *dn; in dbuf_destroy() local
3045 dn->dn_bonus = dbuf_create(dn, 0, DMU_BONUS_BLKID, dn->dn_dbuf, NULL); in dbuf_create_bonus()
[all …]
H A Ddmu_objset.c906 dn = list_next(&os->os_dnodes, dn); in dmu_objset_evict_dbufs()
2022 dn->dn_oldflags, dn->dn_olduid, dn->dn_oldgid, in userquota_updates_task()
2025 dn->dn_olduid, dn->dn_oldgid, in userquota_updates_task()
2031 dn->dn_newuid, dn->dn_newgid, in userquota_updates_task()
2034 dn->dn_phys->dn_flags, dn->dn_newuid, dn->dn_newgid, in userquota_updates_task()
2042 dn->dn_olduid = dn->dn_newuid; in userquota_updates_task()
2043 dn->dn_oldgid = dn->dn_newgid; in userquota_updates_task()
2044 dn->dn_oldprojid = dn->dn_newprojid; in userquota_updates_task()
2242 dn->dn_newuid = dn->dn_olduid; in dmu_objset_userquota_get_ids()
2243 dn->dn_newgid = dn->dn_oldgid; in dmu_objset_userquota_get_ids()
[all …]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_wrapper.c66 char *dn, LDAPMod **attrs, in _ns_ldap_add_ext() argument
77 char *dn, LDAPMod **attrs, in _ns_ldap_add_ext_s() argument
87 char *dn, LDAPMod **attrs) in _ns_ldap_add() argument
96 char *dn, LDAPMod **attrs) in _ns_ldap_add_s() argument
171 char *dn) in _ns_ldap_delete() argument
175 return (ldap_delete(ld, dn)); in _ns_ldap_delete()
180 char *dn) in _ns_ldap_delete_s() argument
192 char *dn, LDAPMod **mods, in _ns_ldap_modify_ext() argument
203 char *dn, LDAPMod **mods, in _ns_ldap_modify_ext_s() argument
213 char *dn, LDAPMod **mods) in _ns_ldap_modify() argument
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetdn.c41 char *dn; in ldap_get_dn() local
61 return( dn ); in ldap_get_dn()
74 if ( dn == NULL ) { in ldap_dn2ufn()
75 dn = ""; in ldap_dn2ufn()
78 if ( ldap_is_dns_dn( dn ) || ( p = strchr( dn, '=' )) == NULL ) in ldap_dn2ufn()
157 if ( dn == NULL ) { in ldap_explode_dns()
158 dn = ""; in ldap_explode_dns()
198 if ( dn == NULL ) { in ldap_explode()
199 dn = ""; in ldap_explode()
209 ++dn; in ldap_explode()
[all …]
H A Dsbind.c56 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()
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()
137 (char *)dn, ber )); in simple_bind_nolock()
162 return( simple_bindifnot_s( ld, dn, passwd )); in ldap_simple_bind_s()
165 if ( (msgid = ldap_simple_bind( ld, dn, passwd )) == -1 ) in ldap_simple_bind_s()
194 if ( dn == NULL ) { in simple_bindifnot_s()
195 dn = ""; /* to make comparisons simpler */ in simple_bindifnot_s()
[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()
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
238 if ( (msgid = ldap_modrdn2( ld, dn, newrdn, deleteoldrdn )) == -1 ) in ldap_modrdn2_s()
249 ldap_modrdn_s( LDAP *ld, const char *dn, const char *newrdn ) in ldap_modrdn_s() argument
[all …]
H A Dcompare.c60 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()
163 ldap_compare_ext_s( LDAP *ld, const char *dn, const char *attr, in ldap_compare_ext_s() argument
[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 …]
/illumos-gate/usr/src/lib/libresolv/
H A Dres_comp.c67 dn = exp_dn;
80 if (dn >= eom)
82 *dn++ = '.';
84 if (dn+n >= eom)
91 *dn++ = '\\';
93 *dn++ = c;
119 *dn = '\0';
148 dn = exp_dn;
178 c = *dn++;
256 dn = exp_dn; in dn_find()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_name.c102 dn = dst; in ns_name_ntop()
139 dn += m; in ns_name_ntop()
174 *dn++ = '.'; in ns_name_ntop()
180 *dn++ = '\0'; in ns_name_ntop()
359 dn = dst; in ns_name_ntol()
372 *dn++ = n; in ns_name_ntol()
991 dn += i; in decode_bitstring()
996 dn += i; in decode_bitstring()
1003 dn += i; in decode_bitstring()
1010 dn += i; in decode_bitstring()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddnode.h106 #define DN_SLOT_IS_PTR(dn) ((void *)dn > DN_SLOT_INTERIOR) argument
107 #define DN_SLOT_IS_VALID(dn) ((void *)dn != NULL) argument
396 void dnode_rele(dnode_t *dn, void *ref);
400 void dnode_sync(dnode_t *dn, dmu_tx_t *tx);
409 void dnode_verify(dnode_t *dn);
421 void dnode_evict_dbufs(dnode_t *dn);
422 void dnode_evict_bonus(dnode_t *dn);
574 #define dprintf_dnode(dn, fmt, ...) do { \ argument
577 uint64_t __db_obj = (dn)->dn_object; \
588 #define DNODE_VERIFY(dn) dnode_verify(dn) argument
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_comp.c173 res_hnok(const char *dn) { in res_hnok() argument
177 int nch = *dn++; in res_hnok()
201 res_ownok(const char *dn) { in res_ownok() argument
202 if (asterchar(dn[0])) { in res_ownok()
203 if (periodchar(dn[1])) in res_ownok()
204 return (res_hnok(dn+2)); in res_ownok()
205 if (dn[1] == '\0') in res_ownok()
208 return (res_hnok(dn)); in res_ownok()
220 if (*dn == '\0') in res_mailok()
235 return (res_hnok(dn)); in res_mailok()
[all …]
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldaptest.c227 getaline( dn, sizeof(dn), stdin, in bind_prompt()
238 getaline( dn, sizeof(dn), stdin, "re-bind dn? " ); in bind_prompt()
240 *dnp = dn; in bind_prompt()
401 getaline( dn, sizeof(dn), stdin, "dn? " ); in main()
442 getaline( dn, sizeof(dn), stdin, "dn? " ); in main()
489 getaline( dn, sizeof(dn), stdin, "dn? " ); in main()
529 getaline( dn, sizeof(dn), stdin, "dn? " ); in main()
582 getaline( dn, sizeof(dn), stdin, "dn? " ); in main()
602 getaline( dn, sizeof(dn), stdin, "dn? " ); in main()
665 getaline( dn, sizeof(dn), stdin, "dn? " ); in main()
[all …]
H A Dldapmodify.c491 ldaptool_progname, linenum, dn == NULL ? "" : dn );
499 if ( dn == NULL ) {
553 free( dn );
656 ldaptool_progname, linenum, dn == NULL ? "" : dn );
698 ldaptool_progname, linenum, dn == NULL ? "" : dn );
710 dn );
766 free( dn );
794 dn = NULL;
883 if ( dn == NULL ) {
898 free( dn );
[all …]
/illumos-gate/usr/src/psm/stand/bootblks/zfs/common/
H A Dzfs.fth759 : dn-indmask ( dn -- mask ) dn-indsize 1- ;
868 2dup le_name_chunk ( dn le dn la-ch# )
885 2dup le_value_chunk ( dn le dn la-ch# )
893 : entry-apply ( xt dn le -- xt dn false | ??? true )
894 over >r ( xt dn le r: dn )
1092 \ dn-cache contains dc-dn's contents at dc-blk#
1093 \ dc-dn will be either mos-dn or fs-dn
1101 : #dn/blk ( dn -- n ) dn-bsize /dnode / ;
1113 2dup swap #dn/blk /mod ( dn obj# off# blk# )
1116 swap dc-dn <> or if ( dn blk# r: off# )
[all …]
/illumos-gate/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()
/illumos-gate/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 …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_dnames.c94 Dwarf_Debug dbg = dn->din_dbg; in fill_in_abbrevs_table()
214 if (!dn) { in get_inhdr_cur()
218 dbg = dn->dn_dbg; in get_inhdr_cur()
289 Dwarf_Debug dbg = dn->dn_dbg; in read_a_name_index()
763 dbg = dn->dn_dbg; in dwarf_debugnames_cu_entry()
806 dbg = dn->dn_dbg; in dwarf_debugnames_local_tu_entry()
862 dbg = dn->dn_dbg; in dwarf_debugnames_foreign_tu_entry()
917 dbg = dn->dn_dbg; in dwarf_debugnames_bucket()
963 dbg = dn->dn_dbg; in dwarf_debugnames_name()
1207 dbg = dn->dn_dbg; in dwarf_debugnames_entrypool()
[all …]

12345678