| /src/sys/arch/zaurus/stand/zboot/ |
| loadfile_zboot.c | 107 int tofd; local 126 tofd = uopen(_PATH_ZBOOT, LINUX_O_WRONLY); 127 if (tofd == -1) { 132 if (uwrite(tofd, bibuf, p - bibuf) != p - bibuf) 136 uclose(tofd); 141 tofd = uopen(_PATH_ZBOOT, LINUX_O_WRONLY); 142 if (tofd == -1) { 153 if ((sz = uwrite(tofd, buf, sz)) != sizeof(buf)) { 164 if (sz >= 0 && uwrite(tofd, buf, sz) != sz) { 169 uclose(tofd); [all...] |
| /src/usr.bin/patch/ |
| util.c | 172 int tofd, fromfd; local 175 tofd = open(to, O_CREAT|O_TRUNC|O_WRONLY, 0666); 176 if (tofd < 0) 182 if (write(tofd, buf, i) != i) 185 close(tofd);
|
| /src/sys/compat/linux/common/ |
| linux_file.c | 1027 syscallarg(int) tofd; 1035 SCARG(&ua, tofd) = SCARG(uap, tofd);
|
| /src/sys/external/bsd/compiler_rt/dist/include/sanitizer/ |
| netbsd_syscall_hooks.h | 2525 #define __sanitizer_syscall_pre_renameat(fromfd, from, tofd, to) \ 2527 (long long)(from), (long long)(tofd), \ 2529 #define __sanitizer_syscall_post_renameat(res, fromfd, from, tofd, to) \ 2531 (long long)(from), (long long)(tofd), \ 4592 long long tofd, long long to); 4594 long long from, long long tofd,
|
| /src/sys/kern/ |
| vfs_syscalls.c | 4387 syscallarg(int) tofd; 4392 SCARG(uap, tofd), SCARG(uap, to), UIO_USERSPACE, 0); 4433 do_sys_renameat(struct lwp *l, int fromfd, const char *from, int tofd, 4444 KASSERT(l != NULL || tofd == AT_FDCWD); 4528 if ((error = fd_nameiat(l, tofd, &tnd)) != 0)
|
| /src/lib/librumphijack/ |
| hijack.c | 1354 linkat(int fromfd, const char *from, int tofd, const char *to, int flags) 1356 if (fromfd != AT_FDCWD || tofd != AT_FDCWD
|
| /src/sys/compat/linux/arch/aarch64/ |
| linux_systrace_args.c | 292 iarg[2] = SCARG(p, tofd); /* int */ 1801 iarg[2] = SCARG(p, tofd); /* int */
|
| linux_syscallargs.h | 1112 syscallarg(int) tofd; member in struct:linux_sys_renameat2_args
|
| /src/sys/compat/netbsd32/ |
| netbsd32_fs.c | 1165 syscallarg(int) tofd; 1172 NETBSD32TO64_UAP(tofd);
|
| netbsd32_syscallargs.h | 2480 syscallarg(int) tofd; member in struct:netbsd32_renameat_args
|
| netbsd32_systrace_args.c | 3313 iarg[2] = SCARG(p, tofd); /* int */
|
| /src/sys/compat/linux/arch/alpha/ |
| linux_syscallargs.h | 1388 syscallarg(int) tofd; member in struct:linux_sys_renameat2_args
|
| /src/sys/compat/linux/arch/amd64/ |
| linux_syscallargs.h | 1278 syscallarg(int) tofd; member in struct:linux_sys_renameat2_args
|
| linux_systrace_args.c | 1828 iarg[2] = SCARG(p, tofd); /* int */ 2117 iarg[2] = SCARG(p, tofd); /* int */
|
| /src/sys/compat/linux/arch/arm/ |
| linux_syscallargs.h | 1352 syscallarg(int) tofd; member in struct:linux_sys_renameat2_args
|
| linux_systrace_args.c | 1927 iarg[2] = SCARG(p, tofd); /* int */ 2216 iarg[2] = SCARG(p, tofd); /* int */
|
| /src/sys/compat/linux/arch/i386/ |
| linux_syscallargs.h | 1366 syscallarg(int) tofd; member in struct:linux_sys_renameat2_args
|
| linux_systrace_args.c | 1980 iarg[2] = SCARG(p, tofd); /* int */ 2238 iarg[2] = SCARG(p, tofd); /* int */
|
| /src/sys/compat/linux/arch/m68k/ |
| linux_syscallargs.h | 1318 syscallarg(int) tofd; member in struct:linux_sys_renameat2_args
|
| /src/sys/compat/linux/arch/mips/ |
| linux_syscallargs.h | 1390 syscallarg(int) tofd; member in struct:linux_sys_renameat2_args
|
| /src/sys/compat/linux/arch/powerpc/ |
| linux_syscallargs.h | 1277 syscallarg(int) tofd; member in struct:linux_sys_renameat2_args
|
| /src/sys/rump/librump/rumpkern/ |
| rump_syscalls.c | 5832 rump___sysimpl_renameat(int fromfd, const char * from, int tofd, const char * to) 5842 SPARG(&callarg, tofd) = tofd;
|
| /src/sys/compat/linux32/arch/amd64/ |
| linux32_systrace_args.c | 1801 iarg[2] = SCARG(p, tofd); /* int */
|
| /src/sys/compat/linux32/arch/aarch64/ |
| linux32_systrace_args.c | 1874 iarg[2] = SCARG(p, tofd); /* int */
|
| /src/sys/sys/ |
| syscallargs.h | 3015 syscallarg(int) tofd; member in struct:sys_renameat_args
|