/openbmc/qemu/chardev/ |
H A D | char-pipe.c | 127 int fd_in, fd_out; in qemu_chr_open_pipe() local 134 fd_in = RETRY_ON_EINTR(qemu_open_old(filename_in, O_RDWR | O_BINARY)); in qemu_chr_open_pipe() 138 if (fd_in < 0 || fd_out < 0) { in qemu_chr_open_pipe() 139 if (fd_in >= 0) { in qemu_chr_open_pipe() 140 close(fd_in); in qemu_chr_open_pipe() 145 fd_in = fd_out = RETRY_ON_EINTR( in qemu_chr_open_pipe() 148 if (fd_in < 0) { in qemu_chr_open_pipe() 153 qemu_chr_open_fd(chr, fd_in, fd_out); in qemu_chr_open_pipe()
|
H A D | char-fd.c | 210 int fd_in, int fd_out) in qemu_chr_open_fd() argument 219 if (fd_out == fd_in && fd_in >= 0) { in qemu_chr_open_fd() 220 s->ioc_in = QIO_CHANNEL(qio_channel_file_new_fd(fd_in)); in qemu_chr_open_fd() 227 if (fd_in >= 0) { in qemu_chr_open_fd() 228 s->ioc_in = QIO_CHANNEL(qio_channel_file_new_fd(fd_in)); in qemu_chr_open_fd()
|
/openbmc/u-boot/tools/ |
H A D | mksunxiboot.c | 68 int fd_in, fd_out; in main() local 109 fd_in = open(argv[1], O_RDONLY); in main() 110 if (fd_in < 0) { in main() 118 file_size = lseek(fd_in, 0, SEEK_END); in main() 132 lseek(fd_in, 0, SEEK_SET); in main() 133 count = read(fd_in, img.code, file_size); in main() 173 close(fd_in); in main()
|
/openbmc/obmc-console/ |
H A D | console-client.c | 59 int fd_in; member 144 len = read(client->fd_in, buf, sizeof(buf)); in process_tty() 191 client->fd_in = STDIN_FILENO; in client_tty_init() 193 client->is_tty = isatty(client->fd_in); in client_tty_init() 199 rc = tcgetattr(client->fd_in, &termios); in client_tty_init() 207 rc = tcsetattr(client->fd_in, TCSANOW, &termios); in client_tty_init() 262 tcsetattr(client->fd_in, TCSANOW, &client->orig_termios); in client_fini() 352 pollfds[0].fd = client->fd_in; in main()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | bpf_syscall_macro.c | 92 int BPF_KSYSCALL(splice_enter, int fd_in, loff_t *off_in, int fd_out, in BPF_KSYSCALL() argument 100 splice_fd_in = fd_in; in BPF_KSYSCALL()
|
/openbmc/qemu/include/chardev/ |
H A D | char-fd.h | 44 void qemu_chr_open_fd(Chardev *chr, int fd_in, int fd_out);
|
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.c | 1246 int fd = 0, ret, fd_in = 0; in main_loop() local 1251 fd_in = open(cfg_input, O_RDONLY); in main_loop() 1257 fd = sock_connect_mptcp(cfg_host, cfg_port, cfg_sock_proto, &peer, fd_in, &winfo); in main_loop() 1274 fd_in = open(cfg_input, O_RDONLY); in main_loop() 1279 ret = copyfd_io(fd_in, fd, 1, 0, &winfo); in main_loop() 1295 close(fd_in); in main_loop()
|
/openbmc/obmc-console/test/ |
H A D | test-client-escape.c | 205 ctx->client.fd_in = (int)idx; in run_one_test()
|
/openbmc/linux/tools/testing/selftests/memfd/ |
H A D | memfd_test.c | 152 static int mfd_assert_reopen_fd(int fd_in) in mfd_assert_reopen_fd() argument 157 sprintf(path, "/proc/self/fd/%d", fd_in); in mfd_assert_reopen_fd() 161 printf("re-open of existing fd %d failed\n", fd_in); in mfd_assert_reopen_fd()
|
/openbmc/linux/fs/ |
H A D | splice.c | 1568 SYSCALL_DEFINE6(splice, int, fd_in, loff_t __user *, off_in, in SYSCALL_DEFINE6() argument 1582 in = fdget(fd_in); in SYSCALL_DEFINE6()
|
H A D | read_write.c | 1558 SYSCALL_DEFINE6(copy_file_range, int, fd_in, loff_t __user *, off_in, in SYSCALL_DEFINE6() argument 1568 f_in = fdget(fd_in); in SYSCALL_DEFINE6()
|
/openbmc/linux/include/linux/ |
H A D | syscalls.h | 488 asmlinkage long sys_splice(int fd_in, loff_t __user *off_in, 904 asmlinkage long sys_copy_file_range(int fd_in, loff_t __user *off_in,
|