Lines Matching refs:ftsent
85 FTSENT *ftsent; in main() local
145 while (errno = 0, (ftsent = fts_read(fts)) != NULL) { in main()
146 switch (ftsent->fts_info) { in main()
153 fts_set(fts, ftsent, FTS_SKIP); in main()
159 if (apply_specs(specs, ftsent, hflag, vflag)) { in main()
162 ftsent->fts_path); in main()
166 ftsent->fts_path); in main()
167 fts_set(fts, ftsent, FTS_SKIP); in main()
173 err(1, "traversing %s", ftsent->fts_path); in main()
176 ftsent->fts_info, ftsent->fts_path); in main()
395 apply_specs(struct label_specs *specs, FTSENT *ftsent, int hflag, int vflag) in apply_specs() argument
417 (ftsent->fts_statp->st_mode & S_IFMT) != ent->mode) in apply_specs()
420 pmatch.rm_eo = ftsent->fts_pathlen; in apply_specs()
421 error = regexec(&ent->regex, ftsent->fts_path, 1, in apply_specs()
442 ftsent->fts_path); in apply_specs()
478 if ((hflag == FTS_PHYSICAL ? mac_set_link(ftsent->fts_accpath, mac) : in apply_specs()
479 mac_set_file(ftsent->fts_accpath, mac)) != 0) { in apply_specs()
485 err(1, "mac_set_link(%s, %s)", ftsent->fts_path, macstr); in apply_specs()