Home
last modified time | relevance | path

Searched refs:olddirfd (Results 1 – 25 of 27) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/linkat/
Dlinkat01.c87 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,
117 &olddirfd, TEST_FILE1, &cwd_fd, TEST_DIR2 "/" TEST_FILE1, 0,
124 &olddirfd, TEST_FILE1, &cwd_fd, dpathname, 0,
132 &olddirfd, TEST_FILE1, &stdinfd, TEST_DIR2 "/" TEST_FILE1, 0,
139 &olddirfd, TEST_FILE1, &stdinfd, dpathname, 0,
147 &olddirfd, TEST_FILE1, &badfd, TEST_DIR2 "/" TEST_FILE1, 0,
154 &olddirfd, TEST_FILE1, &badfd, dpathname, 0,
[all …]
/external/ltp/testcases/kernel/syscalls/renameat2/
Drenameat201.c52 static int olddirfd; variable
57 int *olddirfd; 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
119 olddirfd = SAFE_OPEN(cleanup, TEST_DIR, O_DIRECTORY); in setup()
125 if (olddirfd > 0 && close(olddirfd) < 0) in cleanup()
[all …]
Drenameat202.c39 static int olddirfd; variable
67 TEST(renameat2(olddirfd, TEST_FILE, in main()
96 olddirfd = SAFE_OPEN(cleanup, TEST_DIR, O_DIRECTORY); in setup()
105 if (olddirfd > 0 && close(olddirfd) < 0) in cleanup()
Drenameat2.h27 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/renameat/
Drenameat01.c76 static int olddirfd; variable
96 { &olddirfd, TESTFILE, &newdirfd, NEW_TESTFILE, 0 },
97 { &olddirfd, absoldpath, &newdirfd, absnewpath, 0 },
169 olddirfd = SAFE_OPEN(cleanup, TESTDIR, O_DIRECTORY); in setup()
237 if (olddirfd > 0 && close(olddirfd) < 0) in cleanup()
/external/strace/tests-mx32/
Drenameat2.c44 const unsigned long olddirfd = in main() local
50 olddirfd, oldpath, newdirfd, newpath, 1); in main()
53 (int) olddirfd, oldpath, newpath, rc, errno2name()); in main()
/external/strace/tests/
Drenameat2.c44 const unsigned long olddirfd = in main() local
50 olddirfd, oldpath, newdirfd, newpath, 1); in main()
53 (int) olddirfd, oldpath, newpath, rc, errno2name()); in main()
/external/strace/tests-m32/
Drenameat2.c44 const unsigned long olddirfd = in main() local
50 olddirfd, oldpath, newdirfd, newpath, 1); in main()
53 (int) olddirfd, oldpath, newpath, rc, errno2name()); in main()
/external/ltp/include/lapi/
Drenameat.h28 int renameat(int olddirfd, const char *oldpath, int newdirfd, in renameat() argument
31 return ltp_syscall(__NR_renameat, olddirfd, oldpath, newdirfd, in renameat()
/external/ltp/testcases/kernel/syscalls/symlinkat/
Dsymlinkat01.c67 static int olddirfd, newdirfd = -1, cwd_fd = AT_FDCWD, stdinfd = 0, crapfd = variable
224 olddirfd = SAFE_OPEN(cleanup, TEST_DIR1, O_DIRECTORY); in setup()
/external/ltp/include/old/
Dsafe_macros.h97 #define SAFE_LINKAT(cleanup_fn, olddirfd, oldpath, newdirfd, newpath, flags) \ argument
98 safe_linkat(__FILE__, __LINE__, cleanup_fn, (olddirfd), (oldpath), \
/external/ltp/lib/
Dsafe_macros.c385 void (cleanup_fn)(void), int olddirfd, const char *oldpath, 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/
Dsafe_macros_fn.h102 void (cleanup_fn)(void), int olddirfd, const char *oldpath,
Dtst_safe_macros.h151 #define SAFE_LINKAT(olddirfd, oldpath, newdirfd, newpath, flags) \ argument
152 safe_linkat(__FILE__, __LINE__, NULL, (olddirfd), (oldpath), \
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dzsyscall_linux_s390x.go42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
53 …_, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd…
1046 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
1057 …_, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdir…
Dzsyscall_linux_386.go42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
53 …_, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd…
1046 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
1057 …_, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdir…
Dzsyscall_linux_arm64.go42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
53 …_, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd…
1046 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
1057 …_, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdir…
Dzsyscall_linux_mipsle.go42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
53 …_, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd…
1046 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
1057 …_, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdir…
Dzsyscall_linux_mips64le.go42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
53 …_, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd…
1046 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
1057 …_, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdir…
Dzsyscall_linux_sparc64.go42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
53 …_, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd…
1061 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
1072 …_, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdir…
Dzsyscall_linux_arm.go42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
53 …_, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd…
1046 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
1057 …_, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdir…
Dzsyscall_linux_mips64.go42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
53 …_, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd…
1046 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
1057 …_, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdir…
Dzsyscall_linux_amd64.go42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
53 …_, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd…
1046 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
1057 …_, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdir…
Dzsyscall_linux_mips.go42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
53 …_, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd…
1046 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
1057 …_, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdir…
Dzsyscall_linux_ppc64.go42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
53 …_, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd…
1046 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
1057 …_, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdir…

12