| /freebsd-13.1/sys/contrib/openzfs/module/zfs/ |
| H A D | dnode.c | 131 bzero(&dn->dn_next_type[0], sizeof (dn->dn_next_type)); in dnode_cons() 138 bzero(&dn->dn_next_blksz[0], sizeof (dn->dn_next_blksz)); in dnode_cons() 266 ASSERT(dn->dn_handle->dnh_dnode == dn); in dnode_verify() 297 ASSERT3U(dn->dn_next_nlevels[i], <=, dn->dn_nlevels); in dnode_verify() 301 ASSERT3U(dn->dn_phys->dn_nlevels, <=, dn->dn_nlevels); in dnode_verify() 481 dmu_zfetch_init(&dn->dn_zfetch, dn); in dnode_create() 594 dn->dn_objset, (u_longlong_t)dn->dn_object, in dnode_allocate() 741 ASSERT(dn->dn_bonuslen <= dn->dn_bonus->db.db_size); in dnode_reallocate() 1174 cv_wait(&dn->dn_nodnholds, &dn->dn_mtx); in dnode_special_close() 1559 *dnp = dn; in dnode_hold_impl() [all …]
|
| H A D | dnode_sync.c | 57 db = dbuf_hold_level(dn, dn->dn_phys->dn_nlevels, 0, FTAG); in dnode_increase_indirection() 62 (u_longlong_t)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() 181 dnode_t *dn; in free_verify() local 184 dn = DB_DNODE(db); in free_verify() 269 dnode_t *dn; in free_children() local 598 if (dn->dn_allocated_txg != dn->dn_free_txg) in dnode_sync_free() 600 bzero(dn->dn_phys, sizeof (dnode_phys_t) * dn->dn_num_slots); in dnode_sync_free() 650 dn->dn_oldused = DN_USED_BYTES(dn->dn_phys); in dnode_sync() 651 dn->dn_oldflags = dn->dn_phys->dn_flags; in dnode_sync() [all …]
|
| H A D | dmu.c | 181 dnode_t *dn; in dmu_buf_hold_noread() local 264 dnode_t *dn; in dmu_set_bonus() local 287 dnode_t *dn; in dmu_set_bonustype() local 310 dnode_t *dn; in dmu_get_bonustype() local 324 dnode_t *dn; in dmu_rm_spill() local 390 dnode_t *dn; in dmu_bonus_hold() local 444 dnode_t *dn; in dmu_spill_hold_existing() local 474 dnode_t *dn; in dmu_spill_hold_by_bonus() local 528 (longlong_t)dn->dn_object, dn->dn_datablksz, in dmu_buf_hold_array_by_dnode() 620 dnode_t *dn; in dmu_buf_hold_array() local [all …]
|
| H A D | dmu_tx.c | 116 if (dn != NULL) { in dmu_tx_hold_dnode_impl() 149 dnode_t *dn = NULL; in dmu_tx_hold_object_impl() local 161 if (dn != NULL) in dmu_tx_hold_object_impl() 233 if (dn == NULL) in dmu_tx_count_write() 256 if (P2PHASE(off, dn->dn_datablksz) || len < dn->dn_datablksz) { in dmu_tx_count_write() 357 if (off >= (dn->dn_maxblkid + 1) * dn->dn_datablksz) in dmu_tx_hold_free_impl() 360 len = (dn->dn_maxblkid + 1) * dn->dn_datablksz - off; in dmu_tx_hold_free_impl() 389 int shift = dn->dn_datablkshift + dn->dn_indblkshift - in dmu_tx_hold_free_impl() 480 if (dn == NULL) in dmu_tx_hold_zap_impl() 1115 cv_wait(&dn->dn_notxholds, &dn->dn_mtx); in dmu_tx_wait() [all …]
|
| H A D | dmu_object.c | 277 dnode_t *dn; in dmu_object_claim_dnsize() local 290 FTAG, &dn); in dmu_object_claim_dnsize() 315 dnode_t *dn; in dmu_object_reclaim_dnsize() local 326 FTAG, &dn); in dmu_object_reclaim_dnsize() 340 dnode_t *dn; in dmu_object_rm_spill() local 344 FTAG, &dn); in dmu_object_rm_spill() 362 dnode_t *dn; in dmu_object_free() local 368 FTAG, &dn); in dmu_object_free() 459 dnode_t *dn; in dmu_object_zapify() local 478 dn->dn_next_type[tx->tx_txg & TXG_MASK] = dn->dn_type = in dmu_object_zapify() [all …]
|
| H A D | dbuf.c | 359 dnode_t *dn; in dbuf_find_bonus() local 979 dnode_t *dn; in dbuf_verify() local 1418 dnode_t *dn; in dbuf_read_verify_dnode_crypt() local 1464 dnode_t *dn; in dbuf_read_impl() local 1641 dnode_t *dn; in dbuf_read() local 1946 dnode_t *dn; in dbuf_new_size() local 2098 dnode_t *dn; in dbuf_dirty() local 2781 dnode_t *dn; in dbuf_destroy() local 3593 dn->dn_bonus = dbuf_create(dn, 0, DMU_BONUS_BLKID, dn->dn_dbuf, NULL); in dbuf_create_bonus() 4457 dnode_t *dn; in dbuf_write_ready() local [all …]
|
| H A D | dmu_objset.c | 916 dn = list_next(&os->os_dnodes, dn); in dmu_objset_evict_dbufs() 1980 dn->dn_oldflags, dn->dn_olduid, dn->dn_oldgid, in userquota_updates_task() 1983 dn->dn_olduid, dn->dn_oldgid, in userquota_updates_task() 1989 dn->dn_newuid, dn->dn_newgid, in userquota_updates_task() 1992 dn->dn_phys->dn_flags, dn->dn_newuid, dn->dn_newgid, in userquota_updates_task() 2000 dn->dn_olduid = dn->dn_newuid; in userquota_updates_task() 2001 dn->dn_oldgid = dn->dn_newgid; in userquota_updates_task() 2002 dn->dn_oldprojid = dn->dn_newprojid; in userquota_updates_task() 2237 dn->dn_newuid = dn->dn_olduid; in dmu_objset_userquota_get_ids() 2238 dn->dn_newgid = dn->dn_oldgid; in dmu_objset_userquota_get_ids() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
| H A D | trace_dnode.h | 48 TP_ARGS(dn, refcount, dbufs), 72 __entry->dn_object = dn->dn_object; 73 __entry->dn_type = dn->dn_type; 74 __entry->dn_bonuslen = dn->dn_bonuslen; 76 __entry->dn_nblkptr = dn->dn_nblkptr; 77 __entry->dn_checksum = dn->dn_checksum; 78 __entry->dn_compress = dn->dn_compress; 79 __entry->dn_nlevels = dn->dn_nlevels; 82 __entry->dn_moved = dn->dn_moved; 85 __entry->dn_maxblkid = dn->dn_maxblkid; [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/include/sys/ |
| H A D | dnode.h | 106 #define DN_SLOT_IS_PTR(dn) ((void *)dn > DN_SLOT_INTERIOR) argument 107 #define DN_SLOT_IS_VALID(dn) ((void *)dn != NULL) argument 380 #define DN_DBUFS_COUNT(dn) ((dn)->dn_dbufs_count + \ argument 381 avl_numnodes(&(dn)->dn_dbufs)) 428 boolean_t dnode_is_dirty(dnode_t *dn); 440 void dnode_verify(dnode_t *dn); 452 void dnode_evict_dbufs(dnode_t *dn); 453 void dnode_evict_bonus(dnode_t *dn); 602 uint64_t __db_obj = (dn)->dn_object; \ 613 #define DNODE_VERIFY(dn) dnode_verify(dn) argument [all …]
|
| H A D | dbuf.h | 338 void dbuf_create_bonus(struct dnode *dn); 341 void dbuf_rm_spill(struct dnode *dn, dmu_tx_t *tx); 343 dmu_buf_impl_t *dbuf_hold(struct dnode *dn, uint64_t blkid, void *tag); 344 dmu_buf_impl_t *dbuf_hold_level(struct dnode *dn, int level, uint64_t blkid, 346 int dbuf_hold_impl(struct dnode *dn, uint8_t level, uint64_t blkid, 350 int dbuf_prefetch_impl(struct dnode *dn, int64_t level, uint64_t blkid, 353 int dbuf_prefetch(struct dnode *dn, int64_t level, uint64_t blkid, 373 dbuf_dirty_record_t *dbuf_dirty_lightweight(dnode_t *dn, uint64_t blkid, 380 int dmu_lightweight_write_by_dnode(dnode_t *dn, uint64_t offset, abd_t *abd, 392 void dbuf_free_range(struct dnode *dn, uint64_t start, uint64_t end, [all …]
|
| /freebsd-13.1/lib/libc/nameser/ |
| H A D | ns_name.c | 110 dn = dst; in ns_name_ntop() 147 dn += m; in ns_name_ntop() 182 *dn++ = '.'; in ns_name_ntop() 188 *dn++ = '\0'; in ns_name_ntop() 367 dn = dst; in ns_name_ntol() 380 *dn++ = n; in ns_name_ntol() 1000 dn += i; in decode_bitstring() 1005 dn += i; in decode_bitstring() 1012 dn += i; in decode_bitstring() 1019 dn += i; in decode_bitstring() [all …]
|
| /freebsd-13.1/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_taskdeps.h | 25 kmp_int32 n = KMP_ATOMIC_DEC(&node->dn.nrefs) - 1; in __kmp_node_deref() 28 KMP_ASSERT(node->dn.nrefs == 0); in __kmp_node_deref() 94 if (UNLIKELY(node && (node->dn.mtx_num_locks < 0))) { in __kmp_release_deps() 96 node->dn.mtx_num_locks = -node->dn.mtx_num_locks; in __kmp_release_deps() 97 for (int i = node->dn.mtx_num_locks - 1; i >= 0; --i) { in __kmp_release_deps() 98 KMP_DEBUG_ASSERT(node->dn.mtx_locks[i] != NULL); in __kmp_release_deps() 99 __kmp_release_lock(node->dn.mtx_locks[i], gtid); in __kmp_release_deps() 118 node->dn.task = in __kmp_release_deps() 132 if (successor->dn.task) { in __kmp_release_deps() 135 gtid, successor->dn.task, task)); in __kmp_release_deps() [all …]
|
| H A D | kmp_taskdeps.cpp | 37 node->dn.successors = NULL; in __kmp_init_node() 42 node->dn.mtx_num_locks = 0; in __kmp_init_node() 251 if (dep->dn.task) { in __kmp_depnode_link_successor() 253 if (dep->dn.task) { in __kmp_depnode_link_successor() 255 dep->dn.successors = __kmp_add_node(thread, dep->dn.successors, node); in __kmp_depnode_link_successor() 276 if (sink->dn.task) { in __kmp_depnode_link_successor() 279 if (sink->dn.task) { in __kmp_depnode_link_successor() 281 sink->dn.successors = __kmp_add_node(thread, sink->dn.successors, source); in __kmp_depnode_link_successor() 390 KMP_DEBUG_ASSERT(!node->dn.mtx_locks[node->dn.mtx_num_locks]); in __kmp_process_deps() 394 node->dn.mtx_locks[n] = node->dn.mtx_locks[n - 1]; in __kmp_process_deps() [all …]
|
| /freebsd-13.1/sys/fs/msdosfs/ |
| H A D | msdosfs_conv.c | 252 *dn = 0xe5; in dos2unixfn() 265 dn += i; in dos2unixfn() 315 dn[i] = ' '; in unix2dosfn() 316 dn[11] = 0; in unix2dosfn() 323 dn[0] = '.'; in unix2dosfn() 327 dn[0] = '.'; in unix2dosfn() 328 dn[1] = '.'; in unix2dosfn() 399 dn[j] = c; in unix2dosfn() 428 dn[j] = c; in unix2dosfn() 438 dn[j] = c; in unix2dosfn() [all …]
|
| /freebsd-13.1/lib/libc/resolv/ |
| H A D | res_comp.c | 160 res_hnok(const char *dn) { in res_hnok() argument 164 int nch = *dn++; in res_hnok() 188 res_ownok(const char *dn) { in res_ownok() argument 189 if (asterchar(dn[0])) { in res_ownok() 190 if (periodchar(dn[1])) in res_ownok() 191 return (res_hnok(dn+2)); in res_ownok() 192 if (dn[1] == '\0') in res_ownok() 195 return (res_hnok(dn)); in res_ownok() 207 if (*dn == '\0') in res_mailok() 222 return (res_hnok(dn)); in res_mailok() [all …]
|
| /freebsd-13.1/usr.sbin/makefs/msdos/ |
| H A D | msdosfs_conv.c | 312 dn[i] = ' '; in unix2dosfn() 313 dn[11] = 0; in unix2dosfn() 320 dn[0] = '.'; in unix2dosfn() 324 dn[0] = '.'; in unix2dosfn() 325 dn[1] = '.'; in unix2dosfn() 372 if (!dn[j]) { in unix2dosfn() 392 dn[j] = ' '; in unix2dosfn() 398 if (!dn[j]) { in unix2dosfn() 400 dn[j--] = ' '; in unix2dosfn() 410 dn[0] = '_'; in unix2dosfn() [all …]
|
| /freebsd-13.1/usr.bin/tip/libacu/ |
| H A D | dn11.c | 51 static pid_t child = -1, dn; variable 64 if ((dn = open(acu, 1)) < 0) { in dn_dialer() 73 close(dn); in dn_dialer() 87 nw = write(dn, num, lt = strlen(num)); in dn_dialer() 100 close(dn); in dn_dialer() 104 tcgetattr(dn, &cntrl); in dn_dialer() 106 tcsetattr(dn, TCSANOW, &cntrl); in dn_dialer() 111 close(dn); in dn_dialer() 146 if (dn > 0) in dn_abort() 147 close(dn); in dn_abort()
|
| /freebsd-13.1/crypto/heimdal/lib/gssapi/ntlm/ |
| H A D | iter_cred.c | 65 ntlm_cred dn; in _gss_ntlm_iter_creds_f() local 80 dn = calloc(1, sizeof(*dn)); in _gss_ntlm_iter_creds_f() 81 if (dn == NULL) { in _gss_ntlm_iter_creds_f() 86 dn->username = user; in _gss_ntlm_iter_creds_f() 87 dn->domain = domain; in _gss_ntlm_iter_creds_f() 89 cred_iter(userctx, GSS_NTLM_MECHANISM, (gss_cred_id_t)dn); in _gss_ntlm_iter_creds_f()
|
| /freebsd-13.1/sys/dev/proto/ |
| H A D | proto_core.c | 126 const char *dn, *ep, *ev; in proto_probe() local 135 dn = ev; in proto_probe() 136 while (*dn != '\0') { in proto_probe() 137 ep = dn; in proto_probe() 140 if ((ep - dn) > pfxlen && in proto_probe() 150 dn = ev; in proto_probe() 152 while (*dn != '\0') { in proto_probe() 153 ep = dn; in proto_probe() 156 if ((ep - dn) > pfxlen && in proto_probe() 160 memcpy(devnames[idx], dn, ep - dn); in proto_probe() [all …]
|
| /freebsd-13.1/sys/kern/ |
| H A D | subr_pcpu.c | 199 struct dpcpu_free *dn; in dpcpu_free() local 220 dn = TAILQ_NEXT(df, df_link); in dpcpu_free() 221 if (df->df_start + df->df_len == dn->df_start) { in dpcpu_free() 222 df->df_len += dn->df_len; in dpcpu_free() 223 TAILQ_REMOVE(&dpcpu_head, dn, df_link); in dpcpu_free() 224 free(dn, M_PCPU); in dpcpu_free() 236 dn = malloc(sizeof(*df), M_PCPU, M_WAITOK | M_ZERO); in dpcpu_free() 237 dn->df_start = start; in dpcpu_free() 238 dn->df_len = size; in dpcpu_free() 240 TAILQ_INSERT_BEFORE(df, dn, df_link); in dpcpu_free() [all …]
|
| /freebsd-13.1/tools/tools/zfsboottest/ |
| H A D | zfsboottest.c | 87 zfs_read(spa_t *spa, dnode_phys_t *dn, void *buf, size_t size, off_t off) in zfs_read() argument 89 const znode_phys_t *zp = (const znode_phys_t *) dn->dn_bonus; in zfs_read() 97 rc = dnode_read(spa, dn, off, buf, n); in zfs_read() 111 dnode_phys_t dn; local 188 if (zfs_lookup(&zfsmnt, argv[i], &dn)) { 194 if (zfs_dnode_stat(spa, &dn, &sb)) { 205 n = zfs_read(spa, &dn, buf, n, off);
|
| /freebsd-13.1/contrib/tcsh/ |
| H A D | sh.dir.c | 1200 for (dn = dhead.di_prev; dn != &dhead; dn = dn->di_prev) in dnewcwd() 1201 if (dn != dp && Strcmp(dn->di_name, dp->di_name) == 0) { in dnewcwd() 1202 dn->di_next->di_prev = dn->di_prev; in dnewcwd() 1203 dn->di_prev->di_next = dn->di_next; in dnewcwd() 1204 dfree(dn); in dnewcwd() 1235 dn->di_next->di_prev = dn->di_prev; in dsetstack() 1236 dn->di_prev->di_next = dn->di_next; in dsetstack() 1237 if (dn != dcwd) in dsetstack() 1238 dfree(dn); in dsetstack() 1268 for (dn = dhead.di_prev; dn != &dhead; dn = dn->di_prev, i++) in dgetstack() [all …]
|
| /freebsd-13.1/lib/libcalendar/ |
| H A D | easter.c | 88 int dn; in easterodn() local 101 dn = ndaysj(&dt); in easterodn() 102 return (dn + ns[weekday(dn)]); in easterodn()
|
| /freebsd-13.1/crypto/openssl/crypto/chacha/asm/ |
| H A D | chacha-x86.pl | 94 ($an,$bn,$cn,$dn)=map(($_&~3)+(($_+$j++)&3),($an,$bn,$cn,$dn)); 100 ($an,$bn,$cn,$dn)=map(($_&~3)+(($_-$j++)&3),($an,$bn,$cn,$dn)); 111 &mov ($d_,&DWP(4*$dn,"esp")) if ($di!=$dn); 122 &mov ($d_,$d) if ($di==$dn); 402 ($an,$bn,$cn,$dn)=map(($_&~3)+(($_+$j++)&3),($an,$bn,$cn,$dn)); 408 ($an,$bn,$cn,$dn)=map(($_&~3)+(($_-$j++)&3),($an,$bn,$cn,$dn)); 426 &movdqa($xd_,&QWP(16*$dn-128,"ebx")) if ($di!=$dn); 432 &movdqa ($xd_,$xd) if ($di==$dn); 816 ($an,$bn,$cn,$dn)=map(($_&~3)+(($_+$j++)&3),($an,$bn,$cn,$dn)); 822 ($an,$bn,$cn,$dn)=map(($_&~3)+(($_-$j++)&3),($an,$bn,$cn,$dn)); [all …]
|
| /freebsd-13.1/contrib/openresolv/ |
| H A D | dnsmasq.in | 72 dn="${d%%:*}" 89 dbusdest="$dbusdest string:$dn" 130 dbusdest="${dbusdest}$front string:$dn" 139 dbusdest_ex="$dbusdest_ex${dbusdest_ex:+,}/$dn/$n" 140 conf="${conf}server=/$dn/$n$NL"
|