/netbsd-src/external/gpl2/lvm2/dist/libdm/ |
H A D | libdm-deptree.c | 514 static int _node_clear_table(struct dm_tree_node *dnode) in _node_clear_table() argument 521 if (!(info = &dnode->info)) { in _node_clear_table() 526 if (!(name = dm_tree_node_get_name(dnode))) { in _node_clear_table() 571 struct dm_tree_node *dnode; in dm_tree_add_new_dev() local 577 if (!(dnode = dm_tree_find_node_by_uuid(dtree, uuid))) { in dm_tree_add_new_dev() 594 if (!(dnode = _create_dm_tree_node(dtree, name2, uuid2, &info, in dm_tree_add_new_dev() 599 if (!_add_to_toplevel(dnode) || !_add_to_bottomlevel(dnode)) in dm_tree_add_new_dev() 602 dnode->props.major = major; in dm_tree_add_new_dev() 603 dnode->props.minor = minor; in dm_tree_add_new_dev() 604 dnode->props.new_name = NULL; in dm_tree_add_new_dev() [all …]
|
H A D | libdevmapper.h | 320 int dm_tree_node_size_changed(struct dm_tree_node *dnode); 332 int dm_tree_deactivate_children(struct dm_tree_node *dnode, 339 int dm_tree_preload_children(struct dm_tree_node *dnode, 347 int dm_tree_activate_children(struct dm_tree_node *dnode, 355 int dm_tree_suspend_children(struct dm_tree_node *dnode, 364 void dm_tree_skip_lockfs(struct dm_tree_node *dnode); 374 void dm_tree_use_no_flush_suspend(struct dm_tree_node *dnode); 381 int dm_tree_children_use_uuid(struct dm_tree_node *dnode, 388 int dm_tree_node_add_snapshot_origin_target(struct dm_tree_node *dnode, 444 void dm_tree_node_set_read_ahead(struct dm_tree_node *dnode,
|
/netbsd-src/sys/ufs/chfs/ |
H A D | chfs_write.c | 286 struct chfs_flash_data_node *dnode; in chfs_write_flash_dnode() local 295 dnode = chfs_alloc_flash_dnode(); in chfs_write_flash_dnode() 296 if (!dnode) in chfs_write_flash_dnode() 302 size = sizeof(*dnode) + len; in chfs_write_flash_dnode() 304 dnode->magic = htole16(CHFS_FS_MAGIC_BITMASK); in chfs_write_flash_dnode() 305 dnode->type = htole16(CHFS_NODETYPE_DATA); in chfs_write_flash_dnode() 306 dnode->length = htole32(CHFS_PAD(size)); in chfs_write_flash_dnode() 307 dnode->hdr_crc = htole32(crc32(0, (uint8_t *)dnode, in chfs_write_flash_dnode() 309 dnode->vno = htole64(ip->ino); in chfs_write_flash_dnode() 310 dnode->version = htole64(++ip->chvc->highest_version); in chfs_write_flash_dnode() [all …]
|
H A D | chfs_readinode.c | 290 chfs_remove_and_obsolete(chmp, vc, td->node->nref, &vc->dnode); in chfs_kill_td() 724 chfs_remove_and_obsolete(chmp, vc, this->node->nref, &vc->dnode); in chfs_obsolete_node_frag() 792 struct chfs_flash_data_node *dnode; in chfs_get_data_nodes() local 798 dnode = kmem_alloc(len, KM_SLEEP); in chfs_get_data_nodes() 799 nref = chfs_first_valid_data_ref(ip->chvc->dnode); in chfs_get_data_nodes() 808 dnode = (struct chfs_flash_data_node*)buf; in chfs_get_data_nodes() 811 crc = crc32(0, (uint8_t *)dnode, CHFS_NODE_HDR_SIZE - 4); in chfs_get_data_nodes() 812 if (crc != le32toh(dnode->hdr_crc)) { in chfs_get_data_nodes() 813 chfs_err("CRC check failed. calc: 0x%x orig: 0x%x\n", crc, le32toh(dnode->hdr_crc)); in chfs_get_data_nodes() 818 if (le16toh(dnode->magic) != CHFS_FS_MAGIC_BITMASK) { in chfs_get_data_nodes() [all …]
|
H A D | chfs_scan.c | 359 struct chfs_flash_data_node *dnode = buf; in chfs_scan_check_data_node() local 362 crc = crc32(0, (uint8_t *)dnode, sizeof(struct chfs_flash_data_node) - 4); in chfs_scan_check_data_node() 363 if (crc != le32toh(dnode->node_crc)) { in chfs_scan_check_data_node() 364 err = chfs_update_eb_dirty(chmp, cheb, le32toh(dnode->length)); in chfs_scan_check_data_node() 381 vno = le64toh(dnode->vno); in chfs_scan_check_data_node() 391 chfs_add_node_to_list(chmp, vc, nref, &vc->dnode); in chfs_scan_check_data_node() 394 …dbg("chmpfree: %u, chebfree: %u, dnode: %u\n", chmp->chm_free_size, cheb->free_size, dnode->length… in chfs_scan_check_data_node() 398 chfs_change_size_free(chmp, cheb, -dnode->length); in chfs_scan_check_data_node() 399 chfs_change_size_unchecked(chmp, cheb, dnode->length); in chfs_scan_check_data_node()
|
H A D | chfs_build.c | 121 nref = vc->dnode; in chfs_build_remove_unlinked_vnode() 129 vc->dnode = (struct chfs_node_ref *)vc; in chfs_build_remove_unlinked_vnode()
|
/netbsd-src/sys/fs/tmpfs/ |
H A D | tmpfs_subr.c | 188 tmpfs_node_t *node, *dnode; in tmpfs_newvnode() local 192 dnode = VP_TO_TMPFS_DIR(dvp); in tmpfs_newvnode() 193 if (dnode->tn_links == 0) in tmpfs_newvnode() 197 if (dnode->tn_links == LINK_MAX) in tmpfs_newvnode() 199 KASSERT(dnode->tn_links < LINK_MAX); in tmpfs_newvnode() 202 dnode = NULL; in tmpfs_newvnode() 248 KASSERT(dnode != NULL); in tmpfs_newvnode() 250 node->tn_gid = dnode->tn_gid; in tmpfs_newvnode() 372 tmpfs_node_t *dnode = VP_TO_TMPFS_DIR(dvp), *node; in tmpfs_construct_node() local 426 wde = tmpfs_dir_lookup(dnode, cnp); in tmpfs_construct_node() [all …]
|
H A D | tmpfs_vnops.c | 139 tmpfs_node_t *dnode, *tnode; in tmpfs_lookup() local 146 dnode = VP_TO_TMPFS_DIR(dvp); in tmpfs_lookup() 187 if (dnode->tn_links == 0) { in tmpfs_lookup() 188 KASSERT(dnode->tn_size == 0); in tmpfs_lookup() 203 KASSERT(dnode->tn_type == VDIR); in tmpfs_lookup() 204 pnode = dnode->tn_spec.tn_dir.tn_parent; in tmpfs_lookup() 229 de = tmpfs_dir_lookup(dnode, cnp); in tmpfs_lookup() 271 if ((dnode->tn_mode & S_ISTXT) != 0) { in tmpfs_lookup() 274 dnode->tn_vnode, genfs_can_sticky(dvp, cnp->cn_cred, in tmpfs_lookup() 275 dnode->tn_uid, tnode->tn_uid)); in tmpfs_lookup() [all …]
|
H A D | tmpfs_rename.c | 388 tmpfs_node_t *dnode = VP_TO_TMPFS_DIR(dvp); in tmpfs_gro_remove() local 407 tmpfs_dir_detach(dnode, *dep); in tmpfs_gro_remove() 475 struct tmpfs_node *dnode; in tmpfs_gro_genealogy() local 507 dnode = VP_TO_TMPFS_NODE(vp)->tn_spec.tn_dir.tn_parent; in tmpfs_gro_genealogy() 513 KASSERT(dnode != NULL); in tmpfs_gro_genealogy() 516 if (dnode == VP_TO_TMPFS_NODE(vp)) { in tmpfs_gro_genealogy() 523 if (dnode == VP_TO_TMPFS_NODE(fdvp)) { in tmpfs_gro_genealogy() 524 KASSERT(dnode->tn_vnode == fdvp); in tmpfs_gro_genealogy() 534 error = vcache_get(mp, &dnode, sizeof(dnode), &vp); in tmpfs_gro_genealogy()
|
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/ |
H A D | dbuf.h | 86 struct dnode; 273 uint64_t dbuf_whichblock(struct dnode *di, int64_t level, uint64_t offset); 275 dmu_buf_impl_t *dbuf_create_tlib(struct dnode *dn, char *data); 276 void dbuf_create_bonus(struct dnode *dn); 278 void dbuf_spill_hold(struct dnode *dn, dmu_buf_impl_t **dbp, void *tag); 280 void dbuf_rm_spill(struct dnode *dn, dmu_tx_t *tx); 282 dmu_buf_impl_t *dbuf_hold(struct dnode *dn, uint64_t blkid, void *tag); 283 dmu_buf_impl_t *dbuf_hold_level(struct dnode *dn, int level, uint64_t blkid, 285 int dbuf_hold_impl(struct dnode *dn, uint8_t level, uint64_t blkid, 289 void dbuf_prefetch(struct dnode *dn, int64_t level, uint64_t blkid, [all …]
|
H A D | dmu_zfetch.h | 41 struct dnode; /* so we can reference dnode */ 61 struct dnode *zf_dnode; /* dnode that owns this zfetch */ 67 void dmu_zfetch_init(zfetch_t *, struct dnode *);
|
H A D | dmu_tx.h | 44 struct dnode; 103 struct dnode *txh_dnode;
|
/netbsd-src/external/gpl2/lvm2/dist/lib/activate/ |
H A D | dev_manager.c | 867 struct dm_tree_node *dnode, in _add_origin_target_to_dtree() argument 875 if (!dm_tree_node_add_snapshot_origin_target(dnode, lv->size, real_dlid)) in _add_origin_target_to_dtree() 882 struct dm_tree_node *dnode, in _add_snapshot_target_to_dtree() argument 903 if (!dm_tree_node_add_snapshot_target(dnode, size, origin_dlid, cow_dlid, 1, snap_seg->chunk_size)) in _add_snapshot_target_to_dtree() 910 struct dm_tree_node *dnode, in _add_target_to_dtree() argument 923 dnode, in _add_target_to_dtree() 933 struct dm_tree_node *dnode, in _add_segment_to_dtree() argument 982 if (!_add_origin_target_to_dtree(dm, dnode, seg->lv)) in _add_segment_to_dtree() 985 if (!_add_snapshot_target_to_dtree(dm, dnode, seg->lv)) in _add_segment_to_dtree() 987 } else if (!_add_target_to_dtree(dm, dnode, seg)) in _add_segment_to_dtree() [all …]
|
/netbsd-src/external/gpl2/xcvs/dist/src/ |
H A D | find_names.c | 132 Node *dnode; in add_subdir_proc() local 137 dnode = getnode (); in add_subdir_proc() 138 dnode->type = DIRS; in add_subdir_proc() 139 dnode->key = xstrdup (entnode->user); in add_subdir_proc() 140 if (addnode (dirlist, dnode) != 0) in add_subdir_proc() 141 freenode (dnode); in add_subdir_proc()
|
/netbsd-src/sys/kern/ |
H A D | kern_sysctl.c | 1708 struct sysctlnode dnode; in sysctl_describe() local 1737 error = sysctl_cvt_in(l, &v, newp, newlen, &dnode); in sysctl_describe() 1740 if (dnode.sysctl_desc != NULL) { in sysctl_describe() 1765 if (node[i].sysctl_num == dnode.sysctl_num) in sysctl_describe() 1776 if (dnode.sysctl_ver != 0 && in sysctl_describe() 1777 dnode.sysctl_ver != node->sysctl_ver) { in sysctl_describe() 1819 dnode.sysctl_flags & CTLFLAG_OWNDESC) { in sysctl_describe() 1827 error = sysctl_copyinstr(l, dnode.sysctl_desc, in sysctl_describe() 1840 dnode.sysctl_flags |= CTLFLAG_OWNDESC; in sysctl_describe() 1841 dnode in sysctl_describe() 1966 struct sysctlnode nnode, onode, *dnode; sysctl_createv() local 2212 struct sysctlnode dnode, *onode; sysctl_destroyv() local [all...] |
/netbsd-src/external/gpl2/lvm2/dist/include/ |
H A D | libdevmapper.h | 320 int dm_tree_node_size_changed(struct dm_tree_node *dnode); 332 int dm_tree_deactivate_children(struct dm_tree_node *dnode, 339 int dm_tree_preload_children(struct dm_tree_node *dnode, 347 int dm_tree_activate_children(struct dm_tree_node *dnode, 355 int dm_tree_suspend_children(struct dm_tree_node *dnode, 364 void dm_tree_skip_lockfs(struct dm_tree_node *dnode); 374 void dm_tree_use_no_flush_suspend(struct dm_tree_node *dnode); 381 int dm_tree_children_use_uuid(struct dm_tree_node *dnode, 388 int dm_tree_node_add_snapshot_origin_target(struct dm_tree_node *dnode, 444 void dm_tree_node_set_read_ahead(struct dm_tree_node *dnode,
|
/netbsd-src/sys/netatalk/ |
H A D | ddp_output.c | 131 uint8_t dnode = dst->sat_addr.s_node; in ddp_route() local 139 dnode == aa->aa_addr.sat_addr.s_node) { in ddp_route() 145 dnode == 255) { in ddp_route()
|
/netbsd-src/external/mpl/bind/dist/lib/isc/ |
H A D | ht.c | 531 isc_ht_node_t *dnode = NULL; 540 dnode = it->cur; in isc__ht_iter_next() 545 dresult = isc__ht_delete(ht, dnode->key, dnode->keysize, dnode->hashval, in isc__ht_iter_next() 576 isc_ht_node_t *dnode = NULL; isc_ht_iter_delcurrent_next() local
|
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/ |
H A D | ht.c | 576 isc_ht_node_t *dnode = NULL; in isc_ht_iter_delcurrent_next() local 585 dnode = it->cur; in isc_ht_iter_delcurrent_next() 590 dresult = isc__ht_delete(ht, dnode->key, dnode->keysize, dnode->hashval, in isc_ht_iter_delcurrent_next()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | digraph.h | 42 class dnode 48 virtual ~dnode () {} in ~dnode()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
H A D | digraph.h | 42 class dnode 48 virtual ~dnode () {} in ~dnode()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/ |
H A D | trimmed-graph.h | 57 class trimmed_node : public dnode<tg_traits>
|
H A D | feasible-graph.h | 61 class base_feasible_node : public dnode<fg_traits>
|
/netbsd-src/external/cddl/osnet/dist/uts/common/ |
H A D | Makefile.files | 52 dnode.o \
|
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
H A D | zfs_ctldir.c | 1468 struct sfs_node *dnode = VTOSFS(dvp); in sfs_lookup() local 1494 if (dnode->sn_parent_id == 0) { in sfs_lookup() 1497 } else if (dnode->sn_parent_id == ZFSCTL_INO_ROOT) { in sfs_lookup() 1499 } else if (dnode->sn_parent_id == ZFSCTL_INO_SNAPDIR) { in sfs_lookup() 1512 if (dnode->sn_id == ZFSCTL_INO_ROOT) { in sfs_lookup() 1528 if (dnode->sn_id == ZFSCTL_INO_SNAPDIR) { in sfs_lookup()
|