Home
last modified time | relevance | path

Searched refs:pathdat (Results 1 – 8 of 8) sorted by relevance

/external/ltp/testcases/kernel/syscalls/nftw/
Dtools64.c30 extern pathdata pathdat[];
78 if (pathdat[i].type == DIR) { in setup_path()
79 if (mkdir(pathdat[i].name, pathdat[i].mode) == -1) { in setup_path()
81 pathdat[i].name, i); in setup_path()
88 } else if (pathdat[i].type == SYM) { in setup_path()
89 if (symlink(pathdat[i].contents, pathdat[i].name) == -1) { in setup_path()
91 pathdat[i].name); in setup_path()
99 if ((fd = open(pathdat[i].name, O_WRONLY | O_CREAT, in setup_path()
100 pathdat[i].mode)) == -1) { in setup_path()
101 sprintf(ebuf, "Can't open %s", pathdat[i].name); in setup_path()
[all …]
Dtools.c30 extern pathdata pathdat[];
79 if (pathdat[i].type == DIR) { in setup_path()
80 if (mkdir(pathdat[i].name, pathdat[i].mode) == -1) { in setup_path()
82 pathdat[i].name, i); in setup_path()
89 } else if (pathdat[i].type == SYM) { in setup_path()
90 if (symlink(pathdat[i].contents, pathdat[i].name) == -1) { in setup_path()
92 pathdat[i].name); in setup_path()
100 if ((fd = open(pathdat[i].name, O_WRONLY | O_CREAT, in setup_path()
101 pathdat[i].mode)) == -1) { in setup_path()
102 sprintf(ebuf, "Can't open %s", pathdat[i].name); in setup_path()
[all …]
Dnftw64.c66 pathdata pathdat[] = { variable
254 npathdats = ARRAY_SIZE(pathdat); in main()
Dnftw.c66 pathdata pathdat[] = { variable
257 npathdats = ARRAY_SIZE(pathdat); in main()
Dtest.c32 extern pathdata pathdat[];
Dtest_func64.c30 extern pathdata pathdat[];
Dtest_func.c30 extern pathdata pathdat[];
Dtest64.c32 extern pathdata pathdat[];