/third_party/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 …]
|
/third_party/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()
|
/third_party/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()
|
/third_party/ltp/testcases/kernel/syscalls/renameat/ |
D | renameat01.c | 76 static int newdirfd; variable 95 { &olddirfd, TESTFILE, &newdirfd, NEW_TESTFILE, 0 }, 96 { &olddirfd, absoldpath, &newdirfd, absnewpath, 0 }, 169 newdirfd = SAFE_OPEN(cleanup, NEW_TESTDIR, O_DIRECTORY); in setup() 239 if (newdirfd > 0 && close(newdirfd) < 0) in cleanup()
|
/third_party/ltp/include/lapi/ |
D | renameat.h | 15 static inline int renameat(int olddirfd, const char *oldpath, int newdirfd, in renameat() argument 18 return ltp_syscall(__NR_renameat, olddirfd, oldpath, newdirfd, in renameat()
|
/third_party/NuttX/fs/vfs/ |
D | fs_link.c | 156 int linkat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath, int flags) in linkat() argument 158 return do_link(olddirfd, oldpath, newdirfd, newpath, flags); in linkat()
|
D | fs_symlink.c | 176 int symlinkat(const char *target, int newdirfd, const char *path) in symlinkat() argument 178 return do_symlink(target, newdirfd, path); in symlinkat()
|
/third_party/rust/crates/libc/src/ |
D | wasi.rs | 621 newdirfd: ::c_int, in linkat() 635 newdirfd: ::c_int, in renameat() 640 newdirfd: ::c_int, in symlinkat() 748 newdirfd: c_int, in __wasilibc_nocwd_linkat() 772 newdirfd: c_int, in __wasilibc_nocwd_renameat() 807 newdirfd: c_int, in __wasilibc_link_newat() 818 newdirfd: c_int, in __wasilibc_rename_newat()
|
/third_party/ltp/include/old/ |
D | safe_macros.h | 97 #define SAFE_LINKAT(cleanup_fn, olddirfd, oldpath, newdirfd, newpath, flags) \ argument 99 (newdirfd), (newpath), (flags))
|
/third_party/ltp/lib/ |
D | safe_macros.c | 460 int newdirfd, const char *newpath, int flags) in safe_linkat() argument 464 rval = linkat(olddirfd, oldpath, newdirfd, newpath, flags); in safe_linkat() 469 newdirfd, newpath, flags); in safe_linkat() 473 olddirfd, oldpath, newdirfd, newpath, flags, rval); in safe_linkat()
|
/third_party/ltp/include/ |
D | safe_macros_fn.h | 103 int newdirfd, const char *newpath, int flags);
|
D | tst_safe_macros.h | 165 #define SAFE_LINKAT(olddirfd, oldpath, newdirfd, newpath, flags) \ argument 167 (newdirfd), (newpath), (flags))
|
/third_party/rust/crates/libc/src/unix/ |
D | mod.rs | 839 newdirfd: ::c_int, in linkat() 846 newdirfd: ::c_int, in renameat() 851 newdirfd: ::c_int, in symlinkat()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/ |
D | mod.rs | 1255 newdirfd: ::c_int, in renameat2()
|
/third_party/rust/crates/nix/src/ |
D | unistd.rs | 1255 newdirfd: Option<RawFd>, 1273 at_rawfd(newdirfd),
|
/third_party/rust/crates/libc/src/fuchsia/ |
D | mod.rs | 3558 newdirfd: ::c_int, in linkat() 3572 newdirfd: ::c_int, in renameat() 3577 newdirfd: ::c_int, in symlinkat()
|
/third_party/rust/crates/rustix/src/backend/libc/fs/ |
D | syscalls.rs | 351 newdirfd: c::c_int, in renameat2()
|