Home
last modified time | relevance | path

Searched refs:out_fd (Results 1 – 11 of 11) sorted by relevance

/arch/powerpc/boot/
Dmktree.c43 int in_fd, out_fd; in main() local
86 if ((out_fd = open(argv[2], (O_RDWR | O_CREAT | O_TRUNC), 0666)) < 0) { in main()
118 if (write(out_fd, &bt, sizeof(bt)) != sizeof(bt)) { in main()
131 if (write(out_fd, tmpbuf, sizeof(tmpbuf)) != sizeof(tmpbuf)) { in main()
140 if (lseek(out_fd, 0, SEEK_SET) < 0) { in main()
144 if (write(out_fd, &bt, sizeof(bt)) != sizeof(bt)) { in main()
/arch/um/drivers/
Dharddog_user.c107 void stop_watchdog(int in_fd, int out_fd) in stop_watchdog() argument
110 close(out_fd); in stop_watchdog()
Dharddog_kern.c94 extern void stop_watchdog(int in_fd, int out_fd);
/arch/parisc/kernel/
Dsys_parisc32.c301 asmlinkage int sys32_sendfile(int out_fd, int in_fd, compat_off_t __user *offset, s32 count) in sys32_sendfile() argument
311 ret = sys_sendfile(out_fd, in_fd, offset ? (off_t __user *)&of : NULL, count); in sys32_sendfile()
320 asmlinkage int sys32_sendfile64(int out_fd, int in_fd, compat_loff_t __user *offset, s32 count) in sys32_sendfile64() argument
330 ret = sys_sendfile64(out_fd, in_fd, offset ? (loff_t __user *)&lof : NULL, count); in sys32_sendfile64()
/arch/powerpc/kernel/
Dsys_ppc32.c146 asmlinkage long compat_sys_sendfile(u32 out_fd, u32 in_fd, compat_off_t __user * offset, u32 count) in compat_sys_sendfile() argument
159 ret = sys_sendfile((int)out_fd, (int)in_fd, up, count); in compat_sys_sendfile()
168 asmlinkage int compat_sys_sendfile64(int out_fd, int in_fd, compat_loff_t __user *offset, s32 count) in compat_sys_sendfile64() argument
181 ret = sys_sendfile64(out_fd, in_fd, up, count); in compat_sys_sendfile64()
/arch/s390/kernel/
Dcompat_linux.h210 long sys32_sendfile(int out_fd, int in_fd, compat_off_t __user *offset,
212 long sys32_sendfile64(int out_fd, int in_fd, compat_loff_t __user *offset,
Dcompat_linux.c530 asmlinkage long sys32_sendfile(int out_fd, int in_fd, compat_off_t __user *offset, size_t count) in sys32_sendfile() argument
540 ret = sys_sendfile(out_fd, in_fd, in sys32_sendfile()
550 asmlinkage long sys32_sendfile64(int out_fd, int in_fd, in sys32_sendfile64() argument
561 ret = sys_sendfile64(out_fd, in_fd, in sys32_sendfile64()
/arch/sparc/kernel/
Dsys_sparc32.c526 asmlinkage long compat_sys_sendfile(int out_fd, int in_fd, in compat_sys_sendfile() argument
538 ret = sys_sendfile(out_fd, in_fd, in compat_sys_sendfile()
549 asmlinkage long compat_sys_sendfile64(int out_fd, int in_fd, in compat_sys_sendfile64() argument
561 ret = sys_sendfile64(out_fd, in_fd, in compat_sys_sendfile64()
/arch/mips/kernel/
Dlinux32.c393 SYSCALL_DEFINE4(32_sendfile, long, out_fd, long, in_fd,
404 ret = sys_sendfile(out_fd, in_fd, offset ? (off_t __user *)&of : NULL, count);
/arch/x86/ia32/
Dsys_ia32.c545 asmlinkage long sys32_sendfile(int out_fd, int in_fd, in sys32_sendfile() argument
556 ret = sys_sendfile(out_fd, in_fd, offset ? (off_t __user *)&of : NULL, in sys32_sendfile()
/arch/ia64/ia32/
Dsys_ia32.c1922 sys32_sendfile (int out_fd, int in_fd, int __user *offset, unsigned int count) in sys32_sendfile() argument
1932 ret = sys_sendfile(out_fd, in_fd, offset ? (off_t __user *) &of : NULL, count); in sys32_sendfile()