FTSENT
FTSENT *p;
FTSENT *curr;
int copy_file(FTSENT *, int);
int copy_link(FTSENT *, int);
copy_link(FTSENT *p, int exists)
copy_file(FTSENT *entp, int exists)
revacccmp(const FTSENT *a, const FTSENT *b)
statcmp(const FTSENT *a, const FTSENT *b)
revstatcmp(const FTSENT *a, const FTSENT *b)
sizecmp(const FTSENT *a, const FTSENT *b)
revsizecmp(const FTSENT *a, const FTSENT *b)
namecmp(const FTSENT *a, const FTSENT *b)
revnamecmp(const FTSENT *a, const FTSENT *b)
modcmp(const FTSENT *a, const FTSENT *b)
revmodcmp(const FTSENT *a, const FTSENT *b)
acccmp(const FTSENT *a, const FTSENT *b)
int acccmp(const FTSENT *, const FTSENT *);
int revacccmp(const FTSENT *, const FTSENT *);
int modcmp(const FTSENT *, const FTSENT *);
int revmodcmp(const FTSENT *, const FTSENT *);
int namecmp(const FTSENT *, const FTSENT *);
int revnamecmp(const FTSENT *, const FTSENT *);
int statcmp(const FTSENT *, const FTSENT *);
int revstatcmp(const FTSENT *, const FTSENT *);
int sizecmp(const FTSENT *, const FTSENT *);
int revsizecmp(const FTSENT *, const FTSENT *);
FTSENT *p, *chp;
display(FTSENT *p, FTSENT *list)
FTSENT *cur;
static void display(FTSENT *, FTSENT *);
static int mastercmp(const FTSENT **, const FTSENT **);
mastercmp(const FTSENT **a, const FTSENT **b)
static int (*sortfcn)(const FTSENT *, const FTSENT *);
FTSENT *list;
static FTSENT **array;
FTSENT *p;
FTSENT **a;
if ((a = reallocarray(array, dp->entries, sizeof(FTSENT *))) ==
printaname(FTSENT *p, int inodefield, int sizefield)
FTSENT *p;
FTSENT *p;
printlink(FTSENT *p)
static int printaname(FTSENT *, int, int);
static void printlink(FTSENT *);
FTSENT *p;
FTSENT *p;
FTSENT *curr;
copy_file(FTSENT *entp, int dne)
copy_link(FTSENT *p, int exists)
static int copy_file(FTSENT *, int);
static int copy_link(FTSENT *, int);
FTSENT *p;
static FTSENT *ftent = NULL; /* current file tree entry */
FTSENT *p;
FTSENT *fts_children(FTS *, int);
int (*)(const FTSENT **, const FTSENT **));
FTSENT *fts_read(FTS *);
int fts_set(FTS *, FTSENT *, int);
fts_safe_changedir(FTS *sp, FTSENT *p, int fd, const char *path)
fts_load(FTS *sp, FTSENT *p)
FTSENT *freep, *p;
FTSENT *
FTSENT *p, *tmp;
fts_set(FTS *sp, FTSENT *p, int instr)
static FTSENT *fts_alloc(FTS *, const char *, size_t);
FTSENT *
FTSENT *p;
static FTSENT *fts_build(FTS *, int);
static void fts_lfree(FTSENT *);
static void fts_load(FTS *, FTSENT *);
static void fts_padjust(FTS *, FTSENT *);
static FTSENT *fts_sort(FTS *, FTSENT *, int);
static u_short fts_stat(FTS *, FTSENT *, int, int);
static FTSENT *
static int fts_safe_changedir(FTS *, FTSENT *, int, const char *);
FTSENT *p, *head;
FTSENT *cur, *tail;
int (*compar)(const FTSENT **, const FTSENT **))
FTSENT *p, *root;
FTSENT *parent, *prev;
fts_stat(FTS *sp, FTSENT *p, int follow, int dfd)
FTSENT *t;
static FTSENT *
fts_sort(FTS *sp, FTSENT *head, int nitems)
FTSENT **ap, *p;
nitems + 40, sizeof(FTSENT *))) == NULL) {
qsort(sp->fts_array, nitems, sizeof(FTSENT *), sp->fts_compar);
static FTSENT *
FTSENT *p;
len = sizeof(FTSENT) + namelen;
fts_lfree(FTSENT *head)
FTSENT *p;
fts_padjust(FTS *sp, FTSENT *head)
FTSENT *p;
FTSENT *cur;
FTSENT *cur;
FTSENT *ftse;
FTSENT *entry;
FTSENT *entry;
linkchk(FTSENT *p)
int linkchk(FTSENT *);
FTSENT *p;
FTSENT *entry; /* shared with SIGINFO handler */
(struct _plandata *, FTSENT *);
int f_nouser(PLAN *, FTSENT *);
f_links(PLAN *plan, FTSENT *entry)
int f_path(PLAN *, FTSENT *);
int f_perm(PLAN *, FTSENT *);
f_ls(PLAN *plan, FTSENT *entry)
int f_print(PLAN *, FTSENT *);
int f_print0(PLAN *, FTSENT *);
int f_prune(PLAN *, FTSENT *);
f_maxdepth(PLAN *plan, FTSENT *entry)
int f_size(PLAN *, FTSENT *);
int f_type(PLAN *, FTSENT *);
f_mindepth(PLAN *plan, FTSENT *entry)
int f_user(PLAN *, FTSENT *);
int f_expr(PLAN *, FTSENT *);
int f_not(PLAN *, FTSENT *);
f_mtime(PLAN *plan, FTSENT *entry)
int f_or(PLAN *, FTSENT *);
f_mmin(PLAN *plan, FTSENT *entry)
f_name(PLAN *plan, FTSENT *entry)
f_iname(PLAN *plan, FTSENT *entry)
f_newer(PLAN *plan, FTSENT *entry)
f_anewer(PLAN *plan, FTSENT *entry)
f_cnewer(PLAN *plan, FTSENT *entry)
f_nogroup(PLAN *plan, FTSENT *entry)
f_nouser(PLAN *plan, FTSENT *entry)
f_path(PLAN *plan, FTSENT *entry)
f_perm(PLAN *plan, FTSENT *entry)
f_print(PLAN *plan, FTSENT *entry)
f_print0(PLAN *plan, FTSENT *entry)
f_prune(PLAN *plan, FTSENT *entry)
f_size(PLAN *plan, FTSENT *entry)
f_type(PLAN *plan, FTSENT *entry)
f_user(PLAN *plan, FTSENT *entry)
f_expr(PLAN *plan, FTSENT *entry)
return (palloc(N_OPENPAREN, (int (*)(PLAN *, FTSENT *))-1));
return (palloc(N_CLOSEPAREN, (int (*)(PLAN *, FTSENT *))-1));
f_not(PLAN *plan, FTSENT *entry)
f_or(PLAN *plan, FTSENT *entry)
palloc(enum ntype t, int (*f)(PLAN *, FTSENT *))
f_amin(PLAN *plan, FTSENT *entry)
f_atime(PLAN *plan, FTSENT *entry)
f_cmin(PLAN *plan, FTSENT *entry)
f_ctime(PLAN *plan, FTSENT *entry)
f_always_true(PLAN *plan, FTSENT *entry)
f_delete(PLAN *plan, FTSENT *entry)
f_empty(PLAN *plan, FTSENT *entry)
f_exec(PLAN *plan, FTSENT *entry)
f_execdir(PLAN *plan, FTSENT *entry)
static PLAN *palloc(enum ntype, int (*)(PLAN *, FTSENT *));
static PLAN *palloc(enum ntype t, int (*f)(PLAN *, FTSENT *));
int f_amin(PLAN *, FTSENT *);
int f_atime(PLAN *, FTSENT *);
int f_cmin(PLAN *, FTSENT *);
int f_ctime(PLAN *, FTSENT *);
f_flags(PLAN *plan, FTSENT *entry)
int f_always_true(PLAN *, FTSENT *);
int f_empty(PLAN *, FTSENT *);
int f_exec(PLAN *, FTSENT *);
int f_execdir(PLAN *, FTSENT *);
int f_flags(PLAN *, FTSENT *);
int f_fstype(PLAN *, FTSENT *);
f_fstype(PLAN *plan, FTSENT *entry)
int f_group(PLAN *, FTSENT *);
int f_inum(PLAN *, FTSENT *);
int f_empty(PLAN *, FTSENT *);
int f_links(PLAN *, FTSENT *);
int f_ls(PLAN *, FTSENT *);
int f_maxdepth(PLAN *, FTSENT *);
int f_mindepth(PLAN *, FTSENT *);
int f_mtime(PLAN *, FTSENT *);
int f_mmin(PLAN *, FTSENT *);
int f_name(PLAN *, FTSENT *);
f_group(PLAN *plan, FTSENT *entry)
int f_iname(PLAN *, FTSENT *);
int f_newer(PLAN *, FTSENT *);
int f_anewer(PLAN *, FTSENT *);
f_inum(PLAN *plan, FTSENT *entry)
int f_cnewer(PLAN *, FTSENT *);
int f_nogroup(PLAN *, FTSENT *);
extern FTSENT *entry;
extern int f_expr(PLAN *, FTSENT *);
FTSENT *p;
static int fts_compare(const FTSENT **, const FTSENT **);
fts_compare(const FTSENT **a, const FTSENT **b)
FTSENT *ff;
FTSENT *ent;
flist_fts_check(struct sess *sess, FTSENT *ent)
FTSENT *ent;
FTSENT *dp;
FTSENT *p;
compare(char *name, NODE *s, FTSENT *p)
statf(int indent, FTSENT *p)
statd(FTS *t, FTSENT *parent, uid_t *puid, gid_t *pgid, mode_t *pmode)
FTSENT *p;
dsort(const FTSENT **a, const FTSENT **b)
static int statd(FTS *, FTSENT *, uid_t *, gid_t *, mode_t *);
static void statf(int, FTSENT *);
FTSENT *p;
FTSENT *p;
repo_cleanup_entry(FTSENT *e, struct filepath_tree *tree, int cachefd)
FTSENT *e;
FTSENT *e;
FTSENT *e;
FTSENT *ftse;
FTSENT *e;
FTSENT *e;