/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | nftw.c | 24 * nftw implementation 37 struct FTW nftw; local 44 nftw.base = ftw->pathlen - ftw->namelen; 45 nftw.level = ftw->level; 46 nftw.quit = 0; 47 n = (*nftw_userf)(ftw->path, &ftw->statb, n, &nftw); 48 ftw->status = nftw.quit; 53 nftw(const char* path, int(*userf)(const char*, const struct stat*, int, struct FTW*), int depth, int flags) function
|
H A D | ftw.h | 24 * ftw,nftw over ftwalk 56 extern int nftw(const char*, int(*)(const char*, const struct stat*, int, struct FTW*), int, int);
|
/illumos-gate/usr/src/head/ |
H A D | ftw.h | 58 * Codes for the fourth argument to nftw. You can specify the 97 #pragma redefine_extname nftw nftw64 103 #define nftw nftw64 macro 114 #pragma redefine_extname nftw64 nftw 120 #define nftw64 nftw 130 extern int nftw(const char *,
|
/illumos-gate/usr/src/lib/libast/amd64/include/ast/ |
H A D | ftw.h | 26 * ftw,nftw over ftwalk 66 extern __MANGLE__ int nftw __PROTO__((const char*, int(*)(const char*, const struct stat*, int, struct FTW*), int, int));
|
H A D | ast_map.h | 176 #undef nftw macro 177 #define nftw _ast_nftw macro
|
/illumos-gate/usr/src/lib/libast/i386/include/ast/ |
H A D | ftw.h | 26 * ftw,nftw over ftwalk 66 extern __MANGLE__ int nftw __PROTO__((const char*, int(*)(const char*, const struct stat*, int, struct FTW*), int, int));
|
H A D | ast_map.h | 176 #undef nftw macro 177 #define nftw _ast_nftw macro
|
/illumos-gate/usr/src/lib/libast/sparc/include/ast/ |
H A D | ftw.h | 26 * ftw,nftw over ftwalk 66 extern __MANGLE__ int nftw __PROTO__((const char*, int(*)(const char*, const struct stat*, int, struct FTW*), int, int));
|
H A D | ast_map.h | 176 #undef nftw macro 177 #define nftw _ast_nftw macro
|
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | ftw.h | 26 * ftw,nftw over ftwalk 66 extern __MANGLE__ int nftw __PROTO__((const char*, int(*)(const char*, const struct stat*, int, struct FTW*), int, int));
|
H A D | ast_map.h | 176 #undef nftw macro 177 #define nftw _ast_nftw macro
|
/illumos-gate/usr/src/tools/protolist/ |
H A D | protolist.c | 164 if (nftw(".", visit_dir, MAX_DEPTH, FTW_PHYS) != 0) { 165 perror("nftw");
|
/illumos-gate/usr/src/cmd/svc/common/ |
H A D | manifest_find.c | 41 * This module makes use of the nftw(3C) function to scan the directory. 42 * nftw() calls a processing function for every file that it finds. 43 * Unfortunately, nftw does not allow us to pass in any structure pointers 164 * This function is called by nftw(3C) every time that it finds an object 269 if (nftw(dir, process, MAX_DEPTH, FTW_MOUNT) == 0) {
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | nftw.c | 33 * nftw - new file tree walk 35 * int nftw(char *path, int (*fn)(), int depth, int flags); 39 * nftw visits each file and directory in the tree starting at 43 * Otherwise, nftw will follow links but will not 80 * considered an error and nftw will return -1. 85 * If fn returns nonzero, nftw returns this value to its caller. 90 * in order to descend to arbitrary depths, nftw requires 2 file 92 * the depth argument is less than 2 nftw will not use openat(), and 116 #define nftw nftw64 macro 122 #pragma weak _nftw = nftw 495 nftw(const char *path, function [all...] |
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/ |
H A D | ast_map.h | 155 #undef nftw macro 156 #define nftw _ast_nftw macro
|
/illumos-gate/usr/src/lib/libast/i386/src/lib/libast/ |
H A D | ast_map.h | 155 #undef nftw macro 156 #define nftw _ast_nftw macro
|
/illumos-gate/usr/src/lib/libast/sparc/src/lib/libast/ |
H A D | ast_map.h | 155 #undef nftw macro 156 #define nftw _ast_nftw macro
|
/illumos-gate/usr/src/lib/libast/sparcv9/src/lib/libast/ |
H A D | ast_map.h | 155 #undef nftw macro 156 #define nftw _ast_nftw macro
|
/illumos-gate/usr/src/cmd/grep/ |
H A D | grep.c | 261 if (nftw(path, recursive, MAX_DEPTH, walkflags) != 0) {
|
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/ |
H A D | sm_svc.c | 812 if (nftw(dir, nftw_owner, MAX_FDS, FTW_PHYS) != 0) {
|
/illumos-gate/usr/src/tools/findunref/ |
H A D | findunref.c | 184 if (nftw(subtree, checkpath, 100, FTW_PHYS) != 0)
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_utils.c | 59 /* defines for nftw() */ 303 rv = nftw(basedir, do_recurse_dev, NFTW_DEPTH, FTW_PHYS); 313 if ((rv = nftw(dev_dir_hints[i], do_recurse_dev, NFTW_DEPTH,
|
/illumos-gate/usr/src/cmd/modload/ |
H A D | add_drv.c | 807 * use nftw to walk through /dev looking for links that match 824 (void) nftw("/dev", dev_node, ft_depth, walk_flags);
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | eval.c | 458 nftw(get_name(fp), &walker, MAX_DEPTH, FTW_PHYS|FTW_MOUNT); 597 * PROBLEM: given the information that nftw provides us with,
|
/illumos-gate/usr/src/cmd/grep_xpg4/ |
H A D | grep.c | 418 if (nftw(path, recursive, MAX_DEPTH, walkflags) != 0) {
|