Lines Matching defs:fsnode
165 static void fs_build_one(zfs_opt_t *, zfs_dsl_dir_t *, fsnode *, int);
175 fsnode_isroot(const fsnode *cur)
181 fsnode_valid(const fsnode *cur)
191 fsnode_foreach(fsnode *root, int (*cb)(fsnode *, void *), void *arg)
195 for (fsnode *cur = root; cur != NULL; cur = cur->next) {
209 fs_populate_dirent(struct fs_populate_arg *arg, fsnode *cur, uint64_t dnid)
264 fs_populate_path(const fsnode *cur, struct fs_populate_arg *arg,
291 fs_open(const fsnode *cur, struct fs_populate_arg *arg, int flags)
305 fs_open_can_fail(const fsnode *cur, struct fs_populate_arg *arg, int flags)
316 fs_readlink(const fsnode *cur, struct fs_populate_arg *arg,
355 fs_populate_sattrs(struct fs_populate_arg *arg, const fsnode *cur,
391 for (fsnode *c = fsnode_isroot(cur) ? cur->next : cur->child;
524 fs_populate_file(fsnode *cur, struct fs_populate_arg *arg)
598 fs_populate_dir(fsnode *cur, struct fs_populate_arg *arg)
654 fs_populate_symlink(fsnode *cur, struct fs_populate_arg *arg)
670 static fsnode *
671 fsnode_next(fsnode *cur)
681 fs_foreach_populate(fsnode *cur, void *_arg)
837 fsnode *cur, *root;
861 * Figure out which fsnode corresponds to our mountpoint.
919 fs_foreach_mark(fsnode *cur, void *arg)
949 fs_build_one(zfs_opt_t *zfs, zfs_dsl_dir_t *dsldir, fsnode *root, int dirfd)
962 * need a root directory. Fake up a root fsnode to handle this case.
1073 fs_build(zfs_opt_t *zfs, int dirfd, fsnode *root)
1076 * Run through our datasets and find the root fsnode for each one. Each
1077 * root fsnode is flagged so that we can figure out which dataset it
1090 * Traverse the file hierarchy starting from the root fsnode. One