/external/ltp/testcases/kernel/syscalls/linkat/ |
D | linkat01.c | 87 static int olddirfd, newdirfd = -1, cwd_fd = AT_FDCWD, stdinfd = 0, badfd = variable 102 &olddirfd, TEST_FILE1, &newdirfd, TEST_FILE1, 0, 106 &olddirfd, spathname, &newdirfd, TEST_FILE1, 0, 0, 0, 0}, 109 &olddirfd, TEST_FILE1, &newdirfd, dpathname, 0, 113 &cwd_fd, TEST_DIR1 "/" TEST_FILE1, &newdirfd, TEST_FILE1, 0, 121 &cwd_fd, spathname, &newdirfd, TEST_FILE1, 0, 0, 0, 0}, 128 &stdinfd, TEST_DIR1 "/" TEST_FILE1, &newdirfd, TEST_FILE1, 0, 136 &stdinfd, spathname, &newdirfd, TEST_FILE1, 0, 0, 0, 0}, 143 &badfd, TEST_DIR1 "/" TEST_FILE1, &newdirfd, TEST_FILE1, 0, 151 &badfd, spathname, &newdirfd, TEST_FILE1, 0, 0, 0, 0}, [all …]
|
/external/ltp/testcases/kernel/syscalls/renameat2/ |
D | renameat201.c | 53 static int newdirfd; variable 59 int *newdirfd; member 64 {&olddirfd, TEST_FILE, &newdirfd, TEST_FILE2, RENAME_NOREPLACE, EEXIST}, 65 {&olddirfd, TEST_FILE, &newdirfd, TEST_FILE2, RENAME_EXCHANGE, 0}, 66 {&olddirfd, TEST_FILE, &newdirfd, NON_EXIST, RENAME_EXCHANGE, ENOENT}, 67 {&olddirfd, TEST_FILE, &newdirfd, TEST_FILE3, RENAME_NOREPLACE, 0}, 68 {&olddirfd, TEST_FILE, &newdirfd, TEST_FILE2, RENAME_NOREPLACE 70 {&olddirfd, TEST_FILE, &newdirfd, TEST_FILE2, RENAME_WHITEOUT 120 newdirfd = SAFE_OPEN(cleanup, TEST_DIR2, O_DIRECTORY); in setup() 128 if (newdirfd > 0 && close(newdirfd) < 0) in cleanup() [all …]
|
D | renameat202.c | 40 static int newdirfd; variable 68 newdirfd, TEST_FILE2, RENAME_EXCHANGE)); in main() 97 newdirfd = SAFE_OPEN(cleanup, TEST_DIR2, O_DIRECTORY); in setup() 108 if (newdirfd > 0 && close(newdirfd) < 0) in cleanup()
|
D | renameat2.h | 27 int renameat2(int olddirfd, const char *oldpath, int newdirfd, in renameat2() argument 30 return ltp_syscall(__NR_renameat2, olddirfd, oldpath, newdirfd, in renameat2()
|
/external/ltp/testcases/kernel/syscalls/symlinkat/ |
D | symlinkat01.c | 67 static int olddirfd, newdirfd = -1, cwd_fd = AT_FDCWD, stdinfd = 0, crapfd = variable 80 "../" TEST_DIR1 "/" TEST_FILE1, &newdirfd, TEST_FILE1, 84 "../" TEST_DIR1 "/" TEST_FILE1, &newdirfd, dpathname, 127 int newdirfd, const char *newfilename) in mysymlinkat() argument 129 return ltp_syscall(__NR_symlinkat, oldfilename, newdirfd, newfilename); in mysymlinkat() 166 close(newdirfd); in setup_every_copy() 171 newdirfd = SAFE_OPEN(cleanup, TEST_DIR2, O_DIRECTORY); in setup_every_copy()
|
/external/ltp/testcases/kernel/syscalls/renameat/ |
D | renameat01.c | 77 static int newdirfd; variable 96 { &olddirfd, TESTFILE, &newdirfd, NEW_TESTFILE, 0 }, 97 { &olddirfd, absoldpath, &newdirfd, absnewpath, 0 }, 170 newdirfd = SAFE_OPEN(cleanup, NEW_TESTDIR, O_DIRECTORY); in setup() 240 if (newdirfd > 0 && close(newdirfd) < 0) in cleanup()
|
/external/ltp/include/lapi/ |
D | renameat.h | 28 int renameat(int olddirfd, const char *oldpath, int newdirfd, in renameat() argument 31 return ltp_syscall(__NR_renameat, olddirfd, oldpath, newdirfd, in renameat()
|
/external/strace/tests-m32/ |
D | renameat2.c | 46 const unsigned long newdirfd = in main() local 50 olddirfd, oldpath, newdirfd, newpath, 1); in main()
|
/external/strace/tests-mx32/ |
D | renameat2.c | 46 const unsigned long newdirfd = in main() local 50 olddirfd, oldpath, newdirfd, newpath, 1); in main()
|
/external/strace/tests/ |
D | renameat2.c | 46 const unsigned long newdirfd = in main() local 50 olddirfd, oldpath, newdirfd, newpath, 1); in main()
|
/external/ltp/include/old/ |
D | safe_macros.h | 97 #define SAFE_LINKAT(cleanup_fn, olddirfd, oldpath, newdirfd, newpath, flags) \ argument 99 (newdirfd), (newpath), (flags))
|
/external/ltp/lib/ |
D | safe_macros.c | 386 int newdirfd, const char *newpath, int flags) in safe_linkat() argument 390 rval = linkat(olddirfd, oldpath, newdirfd, newpath, flags); in safe_linkat() 395 file, lineno, olddirfd, oldpath, newdirfd, in safe_linkat()
|
/external/ltp/include/ |
D | safe_macros_fn.h | 103 int newdirfd, const char *newpath, int flags);
|
D | tst_safe_macros.h | 134 #define SAFE_LINKAT(olddirfd, oldpath, newdirfd, newpath, flags) \ argument 136 (newdirfd), (newpath), (flags))
|