Lines Matching refs:FTSENT

68 static FTSENT	*fts_alloc(FTS *, char *, size_t);
69 static FTSENT *fts_build(FTS *, int);
70 static void fts_lfree(FTSENT *);
71 static void fts_load(FTS *, FTSENT *);
73 static void fts_padjust(FTS *, FTSENT *);
75 static FTSENT *fts_sort(FTS *, FTSENT *, size_t);
76 static int fts_stat(FTS *, FTSENT *, int, int);
77 static int fts_safe_changedir(FTS *, FTSENT *, int, char *);
78 static int fts_ufslinks(FTS *, const FTSENT *);
142 int (*compar)(const FTSENT * const *, const FTSENT * const *)) in fts_open()
146 FTSENT *p, *root; in fts_open()
147 FTSENT *parent, *tmp; in fts_open()
253 fts_load(FTS *sp, FTSENT *p) in fts_load()
279 FTSENT *freep, *p; in fts_close()
330 FTSENT *
333 FTSENT *p, *tmp; in fts_read()
529 fts_set(FTS *sp, FTSENT *p, int instr) in fts_set()
540 FTSENT *
543 FTSENT *p; in fts_children()
627 (fts_get_stream)(FTSENT *p)
666 static FTSENT *
670 FTSENT *p, *head; in fts_build()
671 FTSENT *cur, *tail; in fts_build()
941 fts_stat(FTS *sp, FTSENT *p, int follow, int dfd) in fts_stat()
943 FTSENT *t; in fts_stat()
1038 parent = (*(const FTSENT * const *)a)->fts_fts; in fts_compar()
1042 static FTSENT *
1043 fts_sort(FTS *sp, FTSENT *head, size_t nitems) in fts_sort()
1045 FTSENT **ap, *p; in fts_sort()
1057 sp->fts_nitems * sizeof(FTSENT *))) == NULL) { in fts_sort()
1064 qsort(sp->fts_array, nitems, sizeof(FTSENT *), fts_compar); in fts_sort()
1071 static FTSENT *
1074 FTSENT *p; in fts_alloc()
1078 FTSENT ent; in fts_alloc()
1089 len = sizeof(FTSENT) + namelen + 1; in fts_alloc()
1119 fts_lfree(FTSENT *head) in fts_lfree()
1121 FTSENT *p; in fts_lfree()
1150 fts_padjust(FTS *sp, FTSENT *head) in fts_padjust()
1152 FTSENT *p; in fts_padjust()
1190 fts_safe_changedir(FTS *sp, FTSENT *p, int fd, char *path) in fts_safe_changedir()
1223 fts_ufslinks(FTS *sp, const FTSENT *ent) in fts_ufslinks()