Lines Matching refs:fsnode
63 static void apply_specdir(const char *, NODE *, fsnode *, int);
64 static void apply_specentry(const char *, NODE *, fsnode *);
65 static fsnode *create_fsnode(const char *, const char *, const char *,
79 const fsnode * const *left = vleft;
80 const fsnode * const *right = vright;
90 static fsnode *
91 fsnode_sort(fsnode *first, const char *root, const char *dir)
93 fsnode **list, **listptr;
96 for (fsnode *tmp = first; tmp; tmp = tmp->next, num++) {
103 for (fsnode *tmp = first; tmp; tmp = tmp->next)
115 for (fsnode *tmp = first; tmp; tmp = tmp->next)
128 fsnode_join(fsnode **curp, fsnode *join, fsnode *last, const char *path,
131 fsnode *cur;
177 fsnode *p;
191 * fsnode of `parent' (which may be NULL for the root of the tree).
192 * append the tree to a fsnode of `join' if it is not NULL.
196 fsnode *
197 walk_dir(const char *root, const char *dir, fsnode *parent, fsnode *join,
200 fsnode *first, *cur, *prev, *last;
284 fsnode *p = join;
353 static fsnode *
357 fsnode *cur;
390 free_fsnodes(fsnode *node)
392 fsnode *cur, *next;
440 apply_specfile(const char *specfile, const char *dir, fsnode *parent, int speconly)
478 apply_specdir(const char *dir, NODE *specnode, fsnode *dirnode, int speconly)
482 fsnode *curfsnode;
505 fsnode *next;
578 /* build minimal fsnode */
619 apply_specentry(const char *dir, NODE *specnode, fsnode *dirnode)
705 dump_fsnodes(fsnode *root)
707 fsnode *cur;
759 /* This was borrowed from du.c and tweaked to keep an fsnode