Lines Matching refs:ftsent
83 FTSENT *ftsent; in main() local
143 while (errno = 0, (ftsent = fts_read(fts)) != NULL) { in main()
144 switch (ftsent->fts_info) { in main()
151 fts_set(fts, ftsent, FTS_SKIP); in main()
157 if (apply_specs(specs, ftsent, hflag, vflag)) { in main()
160 ftsent->fts_path); in main()
164 ftsent->fts_path); in main()
165 fts_set(fts, ftsent, FTS_SKIP); in main()
171 err(1, "traversing %s", ftsent->fts_path); in main()
174 ftsent->fts_info, ftsent->fts_path); in main()
393 apply_specs(struct label_specs *specs, FTSENT *ftsent, int hflag, int vflag) in apply_specs() argument
415 (ftsent->fts_statp->st_mode & S_IFMT) != ent->mode) in apply_specs()
418 pmatch.rm_eo = ftsent->fts_pathlen; in apply_specs()
419 error = regexec(&ent->regex, ftsent->fts_path, 1, in apply_specs()
440 ftsent->fts_path); in apply_specs()
476 if ((hflag == FTS_PHYSICAL ? mac_set_link(ftsent->fts_accpath, mac) : in apply_specs()
477 mac_set_file(ftsent->fts_accpath, mac)) != 0) { in apply_specs()
483 err(1, "mac_set_link(%s, %s)", ftsent->fts_path, macstr); in apply_specs()