/netbsd/external/gpl2/lvm2/dist/libdm/ |
H A D | libdm-deptree.c | 571 struct dm_tree_node *dnode; in dm_tree_add_new_dev() local 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() 621 dnode->context = context; in dm_tree_add_new_dev() 622 dnode->udev_flags = 0; in dm_tree_add_new_dev() 624 return dnode; in dm_tree_add_new_dev() 1065 dnode->dtree->no_flush = 1; in dm_tree_use_no_flush_suspend() 1244 if (dnode->props.major && in _create_node() 1555 dnode->info.major, dnode->info.minor); in _load_node() 1577 if (!_emit_segment(dmt, dnode->info.major, dnode->info.minor, in _load_node() [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/sys/ufs/chfs/ |
H A D | chfs_write.c | 296 if (!dnode) in chfs_write_flash_dnode() 302 size = sizeof(*dnode) + len; 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() 311 dnode->offset = htole64(ofs); in chfs_write_flash_dnode() 314 dnode->node_crc = htole32(crc32(0, (uint8_t *)dnode, in chfs_write_flash_dnode() 315 sizeof(*dnode) - 4)); in chfs_write_flash_dnode() 318 dnode->data_length, (unsigned long long)dnode->version); in chfs_write_flash_dnode() 329 vec[0].iov_base = dnode; in chfs_write_flash_dnode() 402 chfs_free_flash_dnode(dnode); in chfs_write_flash_dnode() [all …]
|
H A D | chfs_readinode.c | 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() 812 if (crc != le32toh(dnode->hdr_crc)) { in chfs_get_data_nodes() 824 crc = crc32(0, (uint8_t *)dnode, sizeof(*dnode) - 4); in chfs_get_data_nodes() 877 kmem_free(dnode, len); in chfs_get_data_nodes() 1109 struct chfs_flash_data_node *dnode; in chfs_read_data() local 1130 size = sizeof(*dnode) + frag->size; in chfs_read_data() 1150 if (crc != le32toh(dnode->hdr_crc)) { in chfs_read_data() 1164 crc = crc32(0, (uint8_t *)dnode, sizeof(*dnode) - 4); in chfs_read_data() 1172 crc = crc32(0, (uint8_t *)dnode->data, dnode->data_length); in chfs_read_data() [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()
|
H A D | chfs_gc.c | 339 (struct chfs_vnode_cache *)chvc->dnode == chvc) in chfs_clear_inode() 1161 chfs_remove_and_obsolete(chmp, ip->chvc, fn->nref, &ip->chvc->dnode); in chfs_gcollect_dnode() 1166 ip->chvc, newfn->nref, &ip->chvc->dnode); in chfs_gcollect_dnode()
|
/netbsd/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() 202 dnode = NULL; in tmpfs_newvnode() 248 KASSERT(dnode != NULL); in tmpfs_newvnode() 250 node->tn_gid = dnode->tn_gid; in tmpfs_newvnode() 536 dnode->tn_links++; in tmpfs_dir_attach() 574 dnode->tn_links--; in tmpfs_dir_detach() 586 tmpfs_dir_putseq(dnode, de); in tmpfs_dir_detach() 659 TMPFS_VALIDATE_DIR(dnode); in tmpfs_dir_getseq() [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() 696 tmpfs_node_t *dnode, *node; in tmpfs_remove() local 707 dnode = VP_TO_TMPFS_DIR(dvp); in tmpfs_remove() 740 tmpfs_dir_detach(dnode, de); in tmpfs_remove() 779 tmpfs_node_t *dnode, *node; in tmpfs_link() local 788 dnode = VP_TO_TMPFS_DIR(dvp); in tmpfs_link() 912 tmpfs_dir_detach(dnode, de); in tmpfs_rmdir() [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/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/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 882 struct dm_tree_node *dnode, in _add_snapshot_target_to_dtree() argument 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() 987 } else if (!_add_target_to_dtree(dm, dnode, seg)) in _add_segment_to_dtree() 1004 struct dm_tree_node *dnode; in _add_new_lv_to_dtree() local 1018 if ((dnode = dm_tree_find_node_by_uuid(dtree, dlid)) && in _add_new_lv_to_dtree() 1019 dm_tree_node_get_context(dnode)) in _add_new_lv_to_dtree() [all …]
|
/netbsd/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/sys/kern/ |
H A D | kern_sysctl.c | 1708 struct sysctlnode dnode; in sysctl_describe() local 1740 if (dnode.sysctl_desc != NULL) { in sysctl_describe() 1776 if (dnode.sysctl_ver != 0 && in sysctl_describe() 1841 dnode.sysctl_desc = nd; in sysctl_describe() 2161 dnode = __UNCONST(pnode); in sysctl_createv() 2170 dnode->sysctl_desc = d; in sysctl_createv() 2171 dnode->sysctl_flags |= in sysctl_createv() 2175 dnode->sysctl_desc = descr; in sysctl_createv() 2212 struct sysctlnode dnode, *onode; in sysctl_destroyv() local 2249 node = &dnode; in sysctl_destroyv() [all …]
|
/netbsd/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/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/external/gpl3/gcc.old/dist/gcc/ |
H A D | digraph.h | 42 class dnode 48 virtual ~dnode () {} in ~dnode()
|
H A D | digraph.cc | 51 struct test_node : public dnode<test_graph_traits>
|
/netbsd/external/gpl3/gcc/dist/gcc/ |
H A D | digraph.h | 42 class dnode 48 virtual ~dnode () {} in ~dnode()
|
/netbsd/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/external/cddl/osnet/dist/uts/common/ |
H A D | Makefile.files | 52 dnode.o \
|
/netbsd/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()
|