Lines Matching refs:fsnode
57 static void apply_specdir(const char *, NODE *, fsnode *, int);
58 static void apply_specentry(const char *, NODE *, fsnode *);
59 static fsnode *create_fsnode(const char *, const char *, const char *,
65 const fsnode * const *a = _a; in cmp()
66 const fsnode * const *b = _b; in cmp()
80 static fsnode *
81 sort_dir(fsnode *list) in sort_dir()
83 fsnode **array; in sort_dir()
84 fsnode *cur; in sort_dir()
92 array = malloc(nitems * sizeof(fsnode *)); in sort_dir()
97 qsort(array, nitems, sizeof(fsnode *), cmp); in sort_dir()
115 fsnode *
116 walk_dir(const char *root, const char *dir, fsnode *parent, fsnode *join) in walk_dir()
118 fsnode *first, *cur; in walk_dir()
237 static fsnode *
241 fsnode *cur; in create_fsnode()
262 free_fsnodes(fsnode *node) in free_fsnodes()
264 fsnode *cur, *next; in free_fsnodes()
312 apply_specfile(const char *specfile, const char *dir, fsnode *parent, int speconly) in apply_specfile()
346 apply_specdir(const char *dir, NODE *specnode, fsnode *dirnode, int speconly) in apply_specdir()
350 fsnode *curfsnode; in apply_specdir()
373 fsnode *next; in apply_specdir()
480 apply_specentry(const char *dir, NODE *specnode, fsnode *dirnode) in apply_specentry()
565 dump_fsnodes(fsnode *root) in dump_fsnodes()
567 fsnode *cur; in dump_fsnodes()