Searched refs:ftsent (Results 1 - 2 of 2) sorted by relevance
/system/core/toolbox/ |
H A D | restorecon.c | 96 FTSENT *ftsent; local 103 while ((ftsent = fts_read(fts))) { 104 switch (ftsent->fts_info) { 110 fprintf(stderr, "Could not access %s: %s\n", ftsent->fts_path, 112 fts_set(fts, ftsent, FTS_SKIP); 115 if (restore(ftsent->fts_path, ftsent->fts_statp) < 0) 116 fts_set(fts, ftsent, FTS_SKIP);
|
/system/vold/ |
H A D | VolumeManager.cpp | 551 for (FTSENT *ftsent = fts_read(fts); ftsent != NULL; ftsent = fts_read(fts)) { 553 if (!strcmp(ftsent->fts_name, "lost+found")) { 562 const bool privateFile = !strcmp(ftsent->fts_name, filename); 564 int fd = open(ftsent->fts_accpath, O_NOFOLLOW); 566 SLOGE("Couldn't open file %s: %s", ftsent->fts_accpath, strerror(errno)); 573 if (ftsent->fts_info & FTS_D) { 575 } else if (ftsent->fts_info & FTS_F) {
|
Completed in 242 milliseconds