Lines Matching refs:fts
786 FTS *fts; in selinux_restorecon() local
919 fts = fts_open(paths, fts_flags, NULL); in selinux_restorecon()
920 if (!fts) in selinux_restorecon()
923 ftsent = fts_read(fts); in selinux_restorecon()
959 fts_set(fts, ftsent, FTS_SKIP); in selinux_restorecon()
966 fts_set(fts, ftsent, FTS_SKIP); in selinux_restorecon()
973 fts_set(fts, ftsent, FTS_SKIP); in selinux_restorecon()
978 fts_set(fts, ftsent, FTS_SKIP); in selinux_restorecon()
983 fts_set(fts, ftsent, FTS_SKIP); in selinux_restorecon()
996 } while ((ftsent = fts_read(fts)) != NULL); in selinux_restorecon()
1012 (void) fts_close(fts); in selinux_restorecon()
1154 FTS *fts; in selinux_restorecon_xattr() local
1196 fts = fts_open(paths, fts_flags, NULL); in selinux_restorecon_xattr()
1197 if (!fts) { in selinux_restorecon_xattr()
1204 while ((ftsent = fts_read(fts)) != NULL) { in selinux_restorecon_xattr()
1215 fts_set(fts, ftsent, FTS_SKIP); in selinux_restorecon_xattr()
1234 (void) fts_close(fts); in selinux_restorecon_xattr()
1239 (void) fts_close(fts); in selinux_restorecon_xattr()