Searched refs:FTW_CHDIR (Results 1 – 13 of 13) sorted by relevance
48 * FTW_CHDIR The walk will change to each directory before89 * a file descriptor is used for each level. When FTW_CHDIR isn't set,192 if ((vp->curflags & FTW_CHDIR) && last) in walk() 201 if (((vp->curflags & FTW_CHDIR) == 0) && (depth >= 2)) { in walk() 314 if (vp->curflags & FTW_CHDIR) { in walk() 427 if (vp->curflags & FTW_CHDIR) { in walk() 520 if (flags & FTW_CHDIR) { in nftw() 563 if (((flags & FTW_CHDIR) == 0) && (depth >= 2)) { in nftw() 602 if (flags & FTW_CHDIR) in nftw() 609 * Get stat info on path when FTW_CHDIR i[all...]
37 #define FTW_CHDIR (FTW_DOT) macro
57 if (flags & FTW_CHDIR) flags &= ~FTW_DOT; in nftw()
46 #define FTW_CHDIR (FTW_DOT) macro
64 #define FTW_CHDIR 04 /* chdir to each directory before reading */ macro
225 static int walkflags = FTW_CHDIR|FTW_PHYS|FTW_ANYERR|FTW_NOLOOP;372 if ((errno == EACCES) && (walkflags & FTW_CHDIR)) { in main() 378 walkflags &= ~FTW_CHDIR; in main() 536 walkflags &= ~FTW_CHDIR;605 walkflags &= ~FTW_CHDIR;1078 filename = (walkflags & FTW_CHDIR) ?1088 filename = (walkflags & FTW_CHDIR) ?1100 filename = (walkflags & FTW_CHDIR) ?
236 int walkflags = FTW_CHDIR; in prepare() 291 /* pass offset to relative name from FTW_CHDIR */ in recursive()
393 int walkflags = FTW_CHDIR; in process_path() 454 /* Pass offset to relative name from FTW_CHDIR */ in recursive()