Searched refs:pathdat (Results 1 – 8 of 8) sorted by relevance
/external/ltp/testcases/kernel/syscalls/nftw/ |
D | tools64.c | 30 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 …]
|
D | tools.c | 30 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 …]
|
D | nftw64.c | 66 pathdata pathdat[] = { variable 254 npathdats = ARRAY_SIZE(pathdat); in main()
|
D | nftw.c | 66 pathdata pathdat[] = { variable 257 npathdats = ARRAY_SIZE(pathdat); in main()
|
D | test.c | 32 extern pathdata pathdat[];
|
D | test_func64.c | 30 extern pathdata pathdat[];
|
D | test_func.c | 30 extern pathdata pathdat[];
|
D | test64.c | 32 extern pathdata pathdat[];
|