Home
last modified time | relevance | path

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

123456

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Ddnode.c124 bzero(&dn->dn_rm_spillblk[0], sizeof (dn->dn_rm_spillblk)); in dnode_cons()
126 bzero(&dn->dn_next_blksz[0], sizeof (dn->dn_next_blksz)); in dnode_cons()
237 ASSERT(dn->dn_handle->dnh_dnode == dn); in dnode_verify()
269 ASSERT3U(dn->dn_next_nlevels[i], <=, dn->dn_nlevels); in dnode_verify()
273 ASSERT3U(dn->dn_phys->dn_nlevels, <=, dn->dn_nlevels); in dnode_verify()
411 dnode_t *dn; in dnode_create() local
448 dmu_zfetch_init(&dn->dn_zfetch, dn); in dnode_create()
704 ASSERT(dn->dn_bonuslen <= dn->dn_bonus->db.db_size); in dnode_reallocate()
1347 *dnp = dn; in dnode_hold_impl()
1493 if (dn->dn_type == DMU_OT_NONE || dn->dn_free_txg) { in dnode_free()
[all …]
H A Ddnode_sync.c56 db = dbuf_hold_level(dn, dn->dn_phys->dn_nlevels, 0, FTAG); in dnode_increase_indirection()
61 dn->dn_object, dn->dn_phys->dn_nlevels); in dnode_increase_indirection()
75 dbuf_find(dn->dn_objset, dn->dn_object, old_toplvl, i); in dnode_increase_indirection()
160 dnode_t *dn; in free_verify() local
163 dn = DB_DNODE(db); in free_verify()
251 dnode_t *dn; in free_children() local
554 if (dn->dn_allocated_txg != dn->dn_free_txg) in dnode_sync_free()
556 bzero(dn->dn_phys, sizeof (dnode_phys_t) * dn->dn_num_slots); in dnode_sync_free()
598 dn->dn_oldused = DN_USED_BYTES(dn->dn_phys); in dnode_sync()
599 dn->dn_oldflags = dn->dn_phys->dn_flags; in dnode_sync()
[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()
354 dnode_t *dn; in dmu_tx_hold_free_impl() local
363 if (off >= (dn->dn_maxblkid + 1) * dn->dn_datablksz) in dmu_tx_hold_free_impl()
366 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()
1090 cv_wait(&dn->dn_notxholds, &dn->dn_mtx); in dmu_tx_wait()
[all …]
H A Ddmu.c175 dnode_t *dn; in dmu_buf_hold_noread() local
254 dnode_t *dn; in dmu_set_bonus() local
277 dnode_t *dn; in dmu_set_bonustype() local
300 dnode_t *dn; in dmu_get_bonustype() local
314 dnode_t *dn; in dmu_rm_spill() local
332 dnode_t *dn; in dmu_bonus_hold() local
406 dnode_t *dn; in dmu_spill_hold_existing() local
435 dnode_t *dn; in dmu_spill_hold_by_bonus() local
483 (longlong_t)dn->dn_object, dn->dn_datablksz, in dmu_buf_hold_array_by_dnode()
563 dnode_t *dn; in dmu_buf_hold_array() local
[all …]
H A Ddmu_object.c111 FTAG, &dn); in dmu_object_alloc_impl()
112 if (dn) in dmu_object_alloc_impl()
173 dnode_t *dn; in dmu_object_claim_dnsize() local
186 FTAG, &dn); in dmu_object_claim_dnsize()
210 dnode_t *dn; in dmu_object_reclaim_dnsize() local
218 FTAG, &dn); in dmu_object_reclaim_dnsize()
232 dnode_t *dn; in dmu_object_free() local
238 FTAG, &dn); in dmu_object_free()
304 dnode_t *dn; in dmu_object_zapify() local
323 dn->dn_next_type[tx->tx_txg & TXG_MASK] = dn->dn_type = in dmu_object_zapify()
[all …]
H A Ddbuf.c384 dnode_t *dn; in dbuf_find_bonus() local
951 dnode_t *dn; in dbuf_verify() local
1222 dnode_t *dn; in dbuf_read_impl() local
1385 dnode_t *dn; in dbuf_read() local
1657 dnode_t *dn; in dbuf_new_size() local
1746 dnode_t *dn; in dbuf_dirty() local
2043 dnode_t *dn; in dbuf_undirty() local
2320 dnode_t *dn; in dbuf_destroy() local
3085 dn->dn_bonus = dbuf_create(dn, 0, DMU_BONUS_BLKID, dn->dn_dbuf, NULL); in dbuf_create_bonus()
3092 dnode_t *dn; in dbuf_spill_set_blksz() local
[all …]
H A Ddmu_objset.c370 return (dnode_hash(dn->dn_objset, dn->dn_object) % in dnode_multilist_index_func()
752 dnode_t *dn; in dmu_objset_evict_dbufs() local
773 dn = list_next(&os->os_dnodes, dn); in dmu_objset_evict_dbufs()
1240 dn->dn_zio = dn->dn_dbuf->db_data_pending->dr_zio; in dmu_objset_sync_dnodes()
1586 dn->dn_oldused, dn->dn_oldflags, in userquota_updates_task()
1587 dn->dn_olduid, dn->dn_oldgid, B_TRUE); in userquota_updates_task()
1592 dn->dn_phys->dn_flags, dn->dn_newuid, in userquota_updates_task()
1600 dn->dn_olduid = dn->dn_newuid; in userquota_updates_task()
1601 dn->dn_oldgid = dn->dn_newgid; in userquota_updates_task()
1763 dn->dn_newuid = dn->dn_olduid; in dmu_objset_userquota_get_ids()
[all …]
/freebsd-12.1/contrib/gcclibs/libdecnumber/
H A Ddecimal64.c90 Int ae = dn->exponent + dn->digits - 1; /* adjusted exponent */ in decimal64FromNumber()
107 if (dn->bits & DECSPECIAL) in decimal64FromNumber()
114 if ((*dn->lsu != 0 || dn->digits > 1) /* non-zero coefficient */ in decimal64FromNumber()
119 if (dn->bits & DECNAN) in decimal64FromNumber()
200 dn->bits = DECNEG; in decimal64ToNumber()
205 dn->bits |= DECINF; in decimal64ToNumber()
207 dn->bits |= DECNAN; in decimal64ToNumber()
209 dn->bits |= DECSNAN; in decimal64ToNumber()
231 if (!(dn->bits & DECINF)) in decimal64ToNumber()
248 return dn; in decimal64ToNumber()
[all …]
H A Ddecimal128.c90 Int ae = dn->exponent + dn->digits - 1; /* adjusted exponent */ in decimal128FromNumber()
107 if (dn->bits & DECSPECIAL) in decimal128FromNumber()
114 if ((*dn->lsu != 0 || dn->digits > 1) /* non-zero coefficient */ in decimal128FromNumber()
119 if (dn->bits & DECNAN) in decimal128FromNumber()
204 dn->bits = DECNEG; in decimal128ToNumber()
209 dn->bits |= DECINF; in decimal128ToNumber()
211 dn->bits |= DECNAN; in decimal128ToNumber()
213 dn->bits |= DECSNAN; in decimal128ToNumber()
235 if (!(dn->bits & DECINF)) in decimal128ToNumber()
257 return dn; in decimal128ToNumber()
[all …]
H A Ddecimal32.c90 Int ae = dn->exponent + dn->digits - 1; /* adjusted exponent */ in decimal32FromNumber()
107 if (dn->bits & DECSPECIAL) in decimal32FromNumber()
114 if ((*dn->lsu != 0 || dn->digits > 1) /* non-zero coefficient */ in decimal32FromNumber()
119 if (dn->bits & DECNAN) in decimal32FromNumber()
201 dn->bits = DECNEG; in decimal32ToNumber()
206 dn->bits |= DECINF; in decimal32ToNumber()
208 dn->bits |= DECNAN; in decimal32ToNumber()
210 dn->bits |= DECSNAN; in decimal32ToNumber()
232 if (!(dn->bits & DECINF)) in decimal32ToNumber()
249 return dn; in decimal32ToNumber()
[all …]
H A DdecNumber.c5059 decUnitAddSub (dn->lsu, D2U (dn->digits), one, 1, 0, dn->lsu, bump); in decApplyRound()
5085 (dn) in decFinish()
5096 dn->digits = decShiftToMost (dn->lsu, dn->digits, dn->exponent); in decFinish()
5148 if (dn->exponent > set->emax - dn->digits + 1) in decFinalize()
5163 dn->digits = decShiftToMost (dn->lsu, dn->digits, shift); in decFinalize()
5288 (dn) in decSetSubnormal()
5331 decSetCoeff (dn, &workset, dn->lsu, dn->digits, residue, status); in decSetSubnormal()
5343 dn->digits = decShiftToMost (dn->lsu, dn->digits, 1); in decSetSubnormal()
5630 if (dn->exponent == 0 && dn->digits == 1 && *dn->lsu == 0)
5640 up = dn->lsu + D2U (dn->digits) - 1; /* msu */
[all …]
H A DdecLibrary.c49 decNumber dn; in isinfd32() local
53 decimal32ToNumber (&d32, &dn); in isinfd32()
54 return (decNumberIsInfinite (&dn)); in isinfd32()
60 decNumber dn; in isinfd64() local
64 decimal64ToNumber (&d64, &dn); in isinfd64()
65 return (decNumberIsInfinite (&dn)); in isinfd64()
71 decNumber dn; in isinfd128() local
75 decimal128ToNumber (&d128, &dn); in isinfd128()
76 return (decNumberIsInfinite (&dn)); in isinfd128()
H A DdecUtility.c76 decDensePackCoeff (const decNumber * dn, uByte * bytes, Int len, Int shift) in decDensePackCoeff() argument
80 Int digits = dn->digits; /* digit countdown */ in decDensePackCoeff()
84 const Unit *inu = dn->lsu; /* -> current input unit */ in decDensePackCoeff()
99 source = dn->lsu + D2U (digits) - 1; /* where msu comes from */ in decDensePackCoeff()
104 for (; source >= dn->lsu; source--, target--) in decDensePackCoeff()
224 decDenseUnpackCoeff (const uByte * bytes, Int len, decNumber * dn, in decDenseUnpackCoeff() argument
230 Unit *uout = dn->lsu; /* -> current output unit */ in decDenseUnpackCoeff()
350 dn->digits = (last - dn->lsu) * DECDPUN; /* floor of digits */ in decDenseUnpackCoeff()
355 dn->digits++; in decDenseUnpackCoeff()
357 if (dn->digits == 0) in decDenseUnpackCoeff()
[all …]
H A DdecNumber.h187 #define decNumberIsZero(dn) (*(dn)->lsu==0 \ argument
188 && (dn)->digits==1 \
189 && (((dn)->bits&DECSPECIAL)==0))
190 #define decNumberIsNegative(dn) (((dn)->bits&DECNEG)!=0) argument
191 #define decNumberIsNaN(dn) (((dn)->bits&(DECNAN|DECSNAN))!=0) argument
192 #define decNumberIsInfinite(dn) (((dn)->bits&DECINF)!=0) argument
/freebsd-12.1/contrib/gcc/
H A Ddfp.c94 decNumber dn; in decimal_real_from_string() local
140 dn->bits ^= DECNEG; in decimal_to_decnumber()
149 decNumber dn; in encode_decimal32() local
171 decNumber dn; in decode_decimal32() local
193 decNumber dn; in encode_decimal64() local
221 decNumber dn; in decode_decimal64() local
249 decNumber dn; in encode_decimal128() local
281 decNumber dn; in decode_decimal128() local
385 decNumber dn; in decimal_round_for_format() local
466 decNumber dn; in decimal_do_add() local
[all …]
/freebsd-12.1/lib/libc/nameser/
H A Dns_name.c110 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-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Ddnode.h334 void dnode_rm_spill(dnode_t *dn, dmu_tx_t *tx);
341 void dnode_rele(dnode_t *dn, void *ref);
344 void dnode_sync(dnode_t *dn, dmu_tx_t *tx);
349 void dnode_free(dnode_t *dn, dmu_tx_t *tx);
352 void dnode_verify(dnode_t *dn);
362 void dnode_evict_dbufs(dnode_t *dn);
363 void dnode_evict_bonus(dnode_t *dn);
382 #define dprintf_dnode(dn, fmt, ...) do { \ argument
385 uint64_t __db_obj = (dn)->dn_object; \
396 #define DNODE_VERIFY(dn) dnode_verify(dn) argument
[all …]
/freebsd-12.1/sys/fs/msdosfs/
H A Dmsdosfs_conv.c252 *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()
400 dn[j] = c; in unix2dosfn()
429 dn[j] = c; in unix2dosfn()
439 dn[j] = c; in unix2dosfn()
[all …]
/freebsd-12.1/lib/libc/resolv/
H A Dres_comp.c160 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-12.1/usr.sbin/makefs/msdos/
H A Dmsdosfs_conv.c315 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()
375 if (!dn[j]) { in unix2dosfn()
395 dn[j] = ' '; in unix2dosfn()
401 if (!dn[j]) { in unix2dosfn()
403 dn[j--] = ' '; in unix2dosfn()
413 dn[0] = '_'; in unix2dosfn()
[all …]
/freebsd-12.1/contrib/openmp/runtime/src/
H A Dkmp_taskdeps.cpp40 node->dn.successors = NULL; in __kmp_init_node()
45 node->dn.mtx_num_locks = 0; in __kmp_init_node()
194 if (dep->dn.task) { in __kmp_depnode_link_successor()
196 if (dep->dn.task) { in __kmp_depnode_link_successor()
198 dep->dn.successors = __kmp_add_node(thread, dep->dn.successors, node); in __kmp_depnode_link_successor()
219 if (sink->dn.task) { in __kmp_depnode_link_successor()
222 if (sink->dn.task) { in __kmp_depnode_link_successor()
224 sink->dn.successors = __kmp_add_node(thread, sink->dn.successors, source); in __kmp_depnode_link_successor()
334 KMP_DEBUG_ASSERT(node->dn.mtx_locks[node->dn.mtx_num_locks] == NULL); in __kmp_process_deps()
338 node->dn.mtx_locks[n] = node->dn.mtx_locks[n - 1]; in __kmp_process_deps()
[all …]
H A Dkmp_taskdeps.h23 #define KMP_ACQUIRE_DEPNODE(gtid, n) __kmp_acquire_lock(&(n)->dn.lock, (gtid))
24 #define KMP_RELEASE_DEPNODE(gtid, n) __kmp_release_lock(&(n)->dn.lock, (gtid))
30 kmp_int32 n = KMP_ATOMIC_DEC(&node->dn.nrefs) - 1; in __kmp_node_deref()
32 KMP_ASSERT(node->dn.nrefs == 0); in __kmp_node_deref()
110 node->dn.task = in __kmp_release_deps()
115 for (kmp_depnode_list_t *p = node->dn.successors; p; p = next) { in __kmp_release_deps()
117 kmp_int32 npredecessors = KMP_ATOMIC_DEC(&successor->dn.npredecessors) - 1; in __kmp_release_deps()
123 if (successor->dn.task) { in __kmp_release_deps()
126 gtid, successor->dn.task, task)); in __kmp_release_deps()
127 __kmp_omp_task(gtid, successor->dn.task, false); in __kmp_release_deps()
/freebsd-12.1/usr.bin/tip/libacu/
H A Ddn11.c51 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-12.1/crypto/heimdal/lib/gssapi/ntlm/
H A Diter_cred.c65 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-12.1/sys/dev/proto/
H A Dproto_core.c126 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 …]

123456