Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/nftw/
H A Dtest.c25 * test.c - Test functions for nftw()
28 #include "nftw.h"
40 * A call to int nftw(const char *path, int (*fn)(const char *, const
53 fprintf(temp, "TEST: nftw() succeeds\n"); in test1A()
57 if ((ret = nftw("./tmp/data/dirh", test_func1, MAX_FD, 0)) == -1) { in test1A()
58 perror("ERROR: nftw failed"); in test1A()
102 * A call to int nftw(const char *path, int (*fn)(const char *, const
114 "TEST: nftw with FTW_PHYS does not follow symbolic links\n"); in test2A()
118 if ((ret = nftw("./tmp/data/dirl", test_func1, MAX_FD, FTW_PHYS)) in test2A()
120 perror("nftw"); in test2A()
[all...]
H A DMakefile19 nftw01: nftw.o tools.o test_func.o test.o lib.o
H A Dtools.c25 * tools.c - Supporting functions for nftw.c
28 #include "nftw.h"
61 * Setup the environment to run the nftw.c
170 * nftw()
175 return nftw(path, nftw_fn, 10, FTW_MOUNT); in callback()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dftw.h30 int nftw(const char *, int (*)(const char *, const struct stat *, int, struct FTW *), int, int);
34 #define nftw64 nftw
/third_party/musl/porting/uniproton/kernel/include/
H A Dftw.h30 int nftw(const char *, int (*)(const char *, const struct stat *, int, struct FTW *), int, int);
34 #define nftw64 nftw
/third_party/musl/porting/liteos_m/kernel/include/
H A Dftw.h30 int nftw(const char *, int (*)(const char *, const struct stat *, int, struct FTW *), int, int);
34 #define nftw64 nftw
/third_party/musl/include/
H A Dftw.h30 int nftw(const char *, int (*)(const char *, const struct stat *, int, struct FTW *), int, int);
34 #define nftw64 nftw
/third_party/musl/libc-test/src/functionalext/supplement/misc/
H A Dnftw.c86 t_error("%s error in remove test nftw filepath! \n", __func__); in remove_directory()
95 t_error("%s error in rmdir test nftw path! \n", __func__); in remove_directory()
103 t_error("%s error in mkdir test nftw path! %s \n", __func__, path); in nftw_build_testfile()
206 int ret = nftw(TEST_NFTW_PATH, nftw_callback, TEST_FD_LIMIT, flag[i]); in nftw_0100()
218 int ret = nftw(TEST_NFTW_PATH, nftw_callback, 0, FTW_PHYS); in nftw_0200()
232 int ret = nftw(path, nftw_callback, TEST_FD_LIMIT, FTW_PHYS); in nftw_0300()
/third_party/mesa3d/src/freedreno/perfcntrs/
H A Dfreedreno_dt.c102 nftw(path, find_freqs_fn, 64, 0); in find_freqs()
190 ret = nftw("/proc/device-tree/", find_device_fn, 64, 0); in find_device()
/third_party/musl/src/misc/
H A Dnftw.c147 int nftw(const char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags)
168 weak_alias(nftw, nftw64);
/third_party/musl/porting/liteos_a/user/src/misc/
H A Dnftw.c107 int nftw(const char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags) in nftw() function
128 weak_alias(nftw, nftw64);
/third_party/musl/src/legacy/
H A Dftw.c8 return nftw(path, (int (*)())fn, fd_limit, FTW_PHYS); in ftw()
/third_party/ltp/testcases/kernel/syscalls/
H A DMakefile15 mincore mprotect nftw profil remap_file_pages sbrk
/third_party/musl/libc-test/src/api/
H A Dftw.c73 {int(*p)(const char*,int(*)(const char*,const struct stat*,int,struct FTW*),int,int) = nftw;} in f()
/third_party/mesa3d/src/util/tests/
H A Dcache_test.cpp46 /* Callback for nftw used in rmrf_local below.
76 return nftw(path, remove_entry, 64, FTW_DEPTH | FTW_PHYS); in rmrf_local()

Completed in 4 milliseconds