Home
last modified time | relevance | path

Searched refs:ftsent (Results 1 – 5 of 5) sorted by relevance

/external/selinux/libselinux/src/
Dselinux_restorecon.c845 FTSENT *ftsent; in selinux_restorecon() local
968 ftsent = fts_read(fts); in selinux_restorecon()
969 if (!ftsent) in selinux_restorecon()
981 dev_num = ftsent->fts_statp->st_dev; in selinux_restorecon()
986 if (flags.set_xdev && ftsent->fts_statp->st_dev != dev_num) in selinux_restorecon()
989 switch (ftsent->fts_info) { in selinux_restorecon()
993 ftsent->fts_path); in selinux_restorecon()
1002 ftsent->fts_path, in selinux_restorecon()
1003 strerror(ftsent->fts_errno)); in selinux_restorecon()
1004 fts_set(fts, ftsent, FTS_SKIP); in selinux_restorecon()
[all …]
/external/selinux/libselinux/utils/
Dselabel_get_digests_all_partial_matches.c35 FTSENT *ftsent; in main() local
92 while ((ftsent = fts_read(fts)) != NULL) { in main()
93 switch (ftsent->fts_info) { in main()
103 ftsent->fts_path, in main()
117 ftsent->fts_path); in main()
129 ftsent->fts_path); in main()
135 ftsent->fts_path); in main()
/external/selinux/libselinux/src/android/
Dandroid_platform.c1435 FTSENT *ftsent; in selinux_android_restorecon_common() local
1521 while ((ftsent = fts_read(fts)) != NULL) { in selinux_android_restorecon_common()
1522 switch (ftsent->fts_info) { in selinux_android_restorecon_common()
1525 "SELinux: Directory cycle on %s.\n", ftsent->fts_path); in selinux_android_restorecon_common()
1533 "SELinux: Could not read %s: %s.\n", ftsent->fts_path, strerror(errno)); in selinux_android_restorecon_common()
1534 fts_set(fts, ftsent, FTS_SKIP); in selinux_android_restorecon_common()
1538 "SELinux: Could not stat %s: %s.\n", ftsent->fts_path, strerror(errno)); in selinux_android_restorecon_common()
1539 fts_set(fts, ftsent, FTS_SKIP); in selinux_android_restorecon_common()
1543 "SELinux: Error on %s: %s.\n", ftsent->fts_path, strerror(errno)); in selinux_android_restorecon_common()
1544 fts_set(fts, ftsent, FTS_SKIP); in selinux_android_restorecon_common()
[all …]
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dlibcpuset.c3200 FTSENT *ftsent; in cpuset_fts_open() local
3224 while ((ftsent = fts_read(fts)) != NULL) { in cpuset_fts_open()
3225 if (ftsent->fts_info != FTS_D && ftsent->fts_info != FTS_DNR) in cpuset_fts_open()
3236 relpath = ftsent->fts_path + strlen(cpusetmnt); in cpuset_fts_open()
3242 if (ftsent->fts_info == FTS_DNR) { in cpuset_fts_open()
3244 ep->err = ftsent->fts_errno; in cpuset_fts_open()
3252 if (stat(ftsent->fts_path, ep->stat) < 0) { in cpuset_fts_open()
3254 ep->err = ftsent->fts_errno; in cpuset_fts_open()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc7857 void *ftsent = REAL(fts_read)(ftsp);
7858 if (ftsent)
7859 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, ftsent, struct_FTSENT_sz);
7860 return ftsent;
7868 void *ftsent = REAL(fts_children)(ftsp, options);
7869 if (ftsent)
7870 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, ftsent, struct_FTSENT_sz);
7871 return ftsent;