Lines Matching refs:afile

44 struct afile {  struct
79 static struct afile *gstat(struct afile *, char *, int, off_t *); argument
83 static char *fmtentry(struct afile *);
86 static void formatf(struct afile *, struct afile *);
87 static off_t getdir(char *, struct afile **, struct afile **);
93 struct afile *fp0, *fplast; in main()
94 register struct afile *fp; in main()
170 fp = (struct afile *)calloc(argc, sizeof (struct afile)); in main()
185 qsort(fp0, fplast - fp0, sizeof (struct afile), fcmp); in main()
222 register struct afile *fp; in formatd()
224 struct afile *dfp0, *dfplast; in formatd()
231 qsort(dfp0, dfplast - dfp0, sizeof (struct afile), fcmp); in formatd()
257 getdir(char *dir, struct afile **pfp0, struct afile **pfplast) in getdir()
259 register struct afile *fp; in getdir()
283 fp = *pfp0 = (struct afile *)calloc(nent, sizeof (struct afile)); in getdir()
298 *pfp0 = (struct afile *)realloc((char *)*pfp0, in getdir()
299 2 * nent * sizeof (struct afile)); in getdir()
315 static struct afile *
316 gstat(struct afile *fp, char *file, int statarg, off_t *pnb) in gstat()
318 static struct afile azerofile; in gstat()
505 formatf(struct afile *fp0, struct afile *fplast) in formatf()
507 register struct afile *fp; in formatf()
557 const struct afile *f1 = arg1; in fcmp()
558 const struct afile *f2 = arg2; in fcmp()
612 static char *fmtinum(struct afile *);
613 static char *fmtsize(struct afile *);
614 static char *fmtlstuff(struct afile *);
618 fmtentry(struct afile *fp) in fmtentry()
661 fmtinum(struct afile *p) in fmtinum()
670 fmtsize(struct afile *p) in fmtsize()
680 fmtlstuff(struct afile *p) in fmtlstuff()