Searched refs:nftw (Results 1 - 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/lib/libast/common/comp/
H A Dnftw.c24 * 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 Dftw.h24 * 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 Dftw.h58 * 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 Dftw.h26 * 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 Dast_map.h176 #undef nftw macro
177 #define nftw _ast_nftw macro
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dftw.h26 * 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 Dast_map.h176 #undef nftw macro
177 #define nftw _ast_nftw macro
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dftw.h26 * 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 Dast_map.h176 #undef nftw macro
177 #define nftw _ast_nftw macro
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dftw.h26 * 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 Dast_map.h176 #undef nftw macro
177 #define nftw _ast_nftw macro
/illumos-gate/usr/src/tools/protolist/
H A Dprotolist.c164 if (nftw(".", visit_dir, MAX_DEPTH, FTW_PHYS) != 0) {
165 perror("nftw");
/illumos-gate/usr/src/cmd/svc/common/
H A Dmanifest_find.c41 * 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 Dnftw.c33 * 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 Dast_map.h155 #undef nftw macro
156 #define nftw _ast_nftw macro
/illumos-gate/usr/src/lib/libast/i386/src/lib/libast/
H A Dast_map.h155 #undef nftw macro
156 #define nftw _ast_nftw macro
/illumos-gate/usr/src/lib/libast/sparc/src/lib/libast/
H A Dast_map.h155 #undef nftw macro
156 #define nftw _ast_nftw macro
/illumos-gate/usr/src/lib/libast/sparcv9/src/lib/libast/
H A Dast_map.h155 #undef nftw macro
156 #define nftw _ast_nftw macro
/illumos-gate/usr/src/tools/findunref/
H A Dfindunref.c188 if (nftw(subtree, checkpath, 100, FTW_PHYS) != 0)
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_utils.c59 /* 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 Dadd_drv.c807 * 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 Deval.c458 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/tools/protocmp/
H A Dprotocmp.c797 i = nftw(".", set_values, MAX_DEPTH, FTW_PHYS|FTW_DEPTH);
799 perror("nftw");
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_svc.c916 if (nftw(dir, nftw_owner, MAX_FDS, FTW_PHYS) != 0) {
/illumos-gate/usr/src/cmd/grep/
H A Dgrep.c507 if (nftw(path, recursive, MAX_DEPTH, walkflags) != 0) {

Completed in 845 milliseconds

12