in_fd 44 arch/powerpc/boot/mktree.c int in_fd, out_fd; in_fd 82 arch/powerpc/boot/mktree.c if ((in_fd = open(argv[1], O_RDONLY)) < 0) { in_fd 99 arch/powerpc/boot/mktree.c if (read(in_fd, tmpbuf, sizeof(tmpbuf)) != sizeof(tmpbuf)) { in_fd 110 arch/powerpc/boot/mktree.c if (lseek(in_fd, (64 * 1024), SEEK_SET) < 0) { in_fd 125 arch/powerpc/boot/mktree.c if (read(in_fd, tmpbuf, sizeof(tmpbuf)) < 0) { in_fd 95 arch/um/drivers/harddog_kern.c extern void stop_watchdog(int in_fd, int out_fd); in_fd 106 arch/um/drivers/harddog_user.c void stop_watchdog(int in_fd, int out_fd) in_fd 108 arch/um/drivers/harddog_user.c close(in_fd); in_fd 1393 fs/read_write.c static ssize_t do_sendfile(int out_fd, int in_fd, loff_t *ppos, in_fd 1407 fs/read_write.c in = fdget(in_fd); in_fd 1492 fs/read_write.c SYSCALL_DEFINE4(sendfile, int, out_fd, int, in_fd, off_t __user *, offset, size_t, count) in_fd 1502 fs/read_write.c ret = do_sendfile(out_fd, in_fd, &pos, count, MAX_NON_LFS); in_fd 1508 fs/read_write.c return do_sendfile(out_fd, in_fd, NULL, count, 0); in_fd 1511 fs/read_write.c SYSCALL_DEFINE4(sendfile64, int, out_fd, int, in_fd, loff_t __user *, offset, size_t, count) in_fd 1519 fs/read_write.c ret = do_sendfile(out_fd, in_fd, &pos, count, 0); in_fd 1525 fs/read_write.c return do_sendfile(out_fd, in_fd, NULL, count, 0); in_fd 1529 fs/read_write.c COMPAT_SYSCALL_DEFINE4(sendfile, int, out_fd, int, in_fd, in_fd 1540 fs/read_write.c ret = do_sendfile(out_fd, in_fd, &pos, count, MAX_NON_LFS); in_fd 1546 fs/read_write.c return do_sendfile(out_fd, in_fd, NULL, count, 0); in_fd 1549 fs/read_write.c COMPAT_SYSCALL_DEFINE4(sendfile64, int, out_fd, int, in_fd, in_fd 1558 fs/read_write.c ret = do_sendfile(out_fd, in_fd, &pos, count, 0); in_fd 1564 fs/read_write.c return do_sendfile(out_fd, in_fd, NULL, count, 0); in_fd 606 include/linux/compat.h asmlinkage long compat_sys_sendfile(int out_fd, int in_fd, in_fd 608 include/linux/compat.h asmlinkage long compat_sys_sendfile64(int out_fd, int in_fd, in_fd 482 include/linux/syscalls.h asmlinkage long sys_sendfile64(int out_fd, int in_fd, in_fd 1067 include/linux/syscalls.h asmlinkage long sys_sendfile(int out_fd, int in_fd, in_fd 36 init/do_mounts_rd.c static int __init crd_load(int in_fd, int out_fd, decompress_fn deco); in_fd 179 init/do_mounts_rd.c int in_fd, out_fd; in_fd 193 init/do_mounts_rd.c in_fd = ksys_open(from, O_RDONLY, 0); in_fd 194 init/do_mounts_rd.c if (in_fd < 0) in_fd 197 init/do_mounts_rd.c nblocks = identify_ramdisk_image(in_fd, rd_image_start, &decompressor); in_fd 202 init/do_mounts_rd.c if (crd_load(in_fd, out_fd, decompressor) == 0) in_fd 225 init/do_mounts_rd.c if (ksys_ioctl(in_fd, BLKGETSIZE, (unsigned long)&devblocks) < 0) in_fd 250 init/do_mounts_rd.c if (ksys_close(in_fd)) { in_fd 255 init/do_mounts_rd.c in_fd = ksys_open(from, O_RDONLY, 0); in_fd 256 init/do_mounts_rd.c if (in_fd < 0) { in_fd 262 init/do_mounts_rd.c ksys_read(in_fd, buf, BLOCK_SIZE); in_fd 276 init/do_mounts_rd.c ksys_close(in_fd); in_fd 329 init/do_mounts_rd.c static int __init crd_load(int in_fd, int out_fd, decompress_fn deco) in_fd 332 init/do_mounts_rd.c crd_infd = in_fd; in_fd 140 tools/testing/selftests/exec/execveat.c int in_fd = open_or_die(src, O_RDONLY); in_fd 144 tools/testing/selftests/exec/execveat.c fstat(in_fd, &info); in_fd 145 tools/testing/selftests/exec/execveat.c sendfile(out_fd, in_fd, NULL, info.st_size); in_fd 146 tools/testing/selftests/exec/execveat.c close(in_fd); in_fd 31 tools/virtio/virtio-trace/trace-agent-rw.c rw_ti->in_fd = -1; in_fd 49 tools/virtio/virtio-trace/trace-agent-rw.c rw_ti->in_fd = open(in_path, O_RDONLY); in_fd 50 tools/virtio/virtio-trace/trace-agent-rw.c if (rw_ti->in_fd == -1) { in_fd 127 tools/virtio/virtio-trace/trace-agent-rw.c rlen = splice(ts->in_fd, NULL, ts->read_pipe, NULL, in_fd 247 tools/virtio/virtio-trace/trace-agent.c close(s->rw_ti[i]->in_fd); in_fd 37 tools/virtio/virtio-trace/trace-agent.h int in_fd;