Home
last modified time | relevance | path

Searched refs:dnode (Results 1 – 10 of 10) sorted by relevance

/dflybsd-src/contrib/lvm2/dist/libdm/
H A Dlibdm-deptree.c514 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 Dlibdevmapper.h320 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,
/dflybsd-src/sys/vfs/tmpfs/
H A Dtmpfs_subr.c374 struct tmpfs_node *dnode, struct tmpfs_node *node, int lkflag, in tmpfs_alloc_vp() argument
406 if (dnode) { in tmpfs_alloc_vp()
417 TMPFS_NODE_UNLOCK(dnode); in tmpfs_alloc_vp()
424 TMPFS_NODE_LOCK_SH(dnode); in tmpfs_alloc_vp()
529 struct tmpfs_node *dnode; in tmpfs_alloc_file() local
533 dnode = VP_TO_TMPFS_DIR(dvp); in tmpfs_alloc_file()
536 TMPFS_NODE_LOCK(dnode); in tmpfs_alloc_file()
543 KKASSERT(dnode->tn_type == VDIR); in tmpfs_alloc_file()
544 if (dnode != tmp->tm_root && dnode->tn_dir.tn_parent == NULL) { in tmpfs_alloc_file()
545 TMPFS_NODE_UNLOCK(dnode); in tmpfs_alloc_file()
[all …]
H A Dtmpfs_vnops.c122 struct tmpfs_node *dnode; in tmpfs_nresolve() local
125 dnode = VP_TO_TMPFS_DIR(dvp); in tmpfs_nresolve()
127 TMPFS_NODE_LOCK_SH(dnode); in tmpfs_nresolve()
129 de = tmpfs_dir_lookup(dnode, NULL, ncp); in tmpfs_nresolve()
138 error = tmpfs_alloc_vp(dvp->v_mount, dnode, tnode, in tmpfs_nresolve()
148 TMPFS_NODE_UNLOCK(dnode); in tmpfs_nresolve()
150 if ((dnode->tn_status & TMPFS_NODE_ACCESSED) == 0) { in tmpfs_nresolve()
151 TMPFS_NODE_LOCK(dnode); in tmpfs_nresolve()
152 dnode->tn_status |= TMPFS_NODE_ACCESSED; in tmpfs_nresolve()
153 TMPFS_NODE_UNLOCK(dnode); in tmpfs_nresolve()
[all …]
/dflybsd-src/sys/vfs/devfs/
H A Ddevfs_vnops.c325 struct devfs_node *dnode = DEVFS_NODE(ap->a_vp); in devfs_vop_readdir() local
343 if (!devfs_node_is_accessible(dnode)) { in devfs_vop_readdir()
364 vfs_timestamp(&dnode->atime); in devfs_vop_readdir()
367 r = vop_write_dirent(&error, ap->a_uio, dnode->d_dir.d_ino, in devfs_vop_readdir()
380 if (dnode->parent) { in devfs_vop_readdir()
382 dnode->parent->d_dir.d_ino, in devfs_vop_readdir()
386 dnode->d_dir.d_ino, in devfs_vop_readdir()
399 TAILQ_FOREACH(node, DEVFS_DENODE_HEAD(dnode), link) { in devfs_vop_readdir()
460 struct devfs_node *dnode = DEVFS_NODE(ap->a_dvp); in devfs_vop_nresolve() local
471 if (!devfs_node_is_accessible(dnode)) in devfs_vop_nresolve()
[all …]
/dflybsd-src/contrib/lvm2/dist/lib/activate/
H A Ddev_manager.c867 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 …]
/dflybsd-src/contrib/cvs-1.12/src/
H A Dfind_names.c130 Node *dnode; in add_subdir_proc() local
135 dnode = getnode (); in add_subdir_proc()
136 dnode->type = DIRS; in add_subdir_proc()
137 dnode->key = xstrdup (entnode->user); in add_subdir_proc()
138 if (addnode (dirlist, dnode) != 0) in add_subdir_proc()
139 freenode (dnode); in add_subdir_proc()
/dflybsd-src/contrib/lvm2/dist/include/
H A Dlibdevmapper.h320 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,
/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dvar-tracking.c2345 location_chain *nodep, dnode, snode; in variable_union() local
2355 dnode = *nodep; in variable_union()
2356 gcc_assert (dnode); in variable_union()
2360 int r = dnode ? loc_cmp (dnode->loc, snode->loc) : 1; in variable_union()
2381 nnode->next = dnode; in variable_union()
2382 dnode = nnode; in variable_union()
2385 gcc_checking_assert (rtx_equal_p (dnode->loc, snode->loc)); in variable_union()
2390 nodep = &dnode->next; in variable_union()
2391 dnode = *nodep; in variable_union()
/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dvar-tracking.c2804 location_chain **nodep, *dnode, *snode; in variable_union() local
2814 dnode = *nodep; in variable_union()
2815 gcc_assert (dnode); in variable_union()
2819 int r = dnode ? loc_cmp (dnode->loc, snode->loc) : 1; in variable_union()
2840 nnode->next = dnode; in variable_union()
2841 dnode = nnode; in variable_union()
2844 gcc_checking_assert (rtx_equal_p (dnode->loc, snode->loc)); in variable_union()
2849 nodep = &dnode->next; in variable_union()
2850 dnode = *nodep; in variable_union()