Home
last modified time | relevance | path

Searched refs:fd_out (Results 1 – 14 of 14) sorted by relevance

/openbmc/qemu/chardev/
H A Dchar-pipe.c127 int fd_in, fd_out; in qemu_chr_open_pipe() local
135 fd_out = RETRY_ON_EINTR(qemu_open_old(filename_out, O_RDWR | O_BINARY)); in qemu_chr_open_pipe()
138 if (fd_in < 0 || fd_out < 0) { in qemu_chr_open_pipe()
142 if (fd_out >= 0) { in qemu_chr_open_pipe()
143 close(fd_out); in qemu_chr_open_pipe()
145 fd_in = fd_out = RETRY_ON_EINTR( in qemu_chr_open_pipe()
153 qemu_chr_open_fd(chr, fd_in, fd_out); in qemu_chr_open_pipe()
H A Dchar-fd.c210 int fd_in, int fd_out) in qemu_chr_open_fd() argument
215 if (fd_out >= 0 && !g_unix_set_fd_nonblocking(fd_out, true, NULL)) { in qemu_chr_open_fd()
219 if (fd_out == fd_in && fd_in >= 0) { in qemu_chr_open_fd()
233 if (fd_out >= 0) { in qemu_chr_open_fd()
234 s->ioc_out = QIO_CHANNEL(qio_channel_file_new_fd(fd_out)); in qemu_chr_open_fd()
/openbmc/linux/arch/um/drivers/
H A Dubd_user.c28 int start_io_thread(unsigned long sp, int *fd_out) in start_io_thread() argument
41 *fd_out = fds[1]; in start_io_thread()
43 err = os_set_fd_block(*fd_out, 0); in start_io_thread()
63 *fd_out = -1; in start_io_thread()
H A Dchan_user.c219 static int winch_tramp(int fd, struct tty_port *port, int *fd_out, in winch_tramp() argument
249 *fd_out = fds[0]; in winch_tramp()
260 err = os_set_fd_block(*fd_out, 0); in winch_tramp()
H A Dvirtio_uml.c602 static int vhost_user_init_mem_region(u64 addr, u64 size, int *fd_out, in vhost_user_init_mem_region() argument
610 *fd_out = rc; in vhost_user_init_mem_region()
618 if (WARN(rc != *fd_out, "phys_mapping of 0x%llx failed: %d != %d\n", in vhost_user_init_mem_region()
619 addr + size - 1, rc, *fd_out)) in vhost_user_init_mem_region()
/openbmc/u-boot/tools/
H A Dmksunxiboot.c68 int fd_in, fd_out; in main() local
125 fd_out = open(argv[2], O_WRONLY | O_CREAT, 0666); in main()
126 if (fd_out < 0) { in main()
167 count = write(fd_out, &img, le32_to_cpu(img.header.length)); in main()
174 close(fd_out); in main()
/openbmc/linux/arch/um/os-Linux/drivers/
H A Dtuntap_user.c62 static int tuntap_open_tramp(char *gate, int *fd_out, int me, int remote, in tuntap_open_tramp() argument
69 char buf[CMSG_SPACE(sizeof(*fd_out))]; in tuntap_open_tramp()
123 *fd_out = ((int *) CMSG_DATA(cmsg))[0]; in tuntap_open_tramp()
124 os_set_exec_close(*fd_out); in tuntap_open_tramp()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_syscall_macro.c92 int BPF_KSYSCALL(splice_enter, int fd_in, loff_t *off_in, int fd_out, in BPF_KSYSCALL() argument
102 splice_fd_out = fd_out; in BPF_KSYSCALL()
/openbmc/obmc-console/
H A Dconsole-client.c59 int fd_out; member
177 rc = write_buf_to_fd(client->fd_out, buf, len); in process_console()
191 client->fd_out = STDOUT_FILENO; in client_tty_init()
/openbmc/qemu/include/chardev/
H A Dchar-fd.h44 void qemu_chr_open_fd(Chardev *chr, int fd_in, int fd_out);
/openbmc/linux/fs/
H A Dsplice.c1569 int, fd_out, loff_t __user *, off_out, in SYSCALL_DEFINE6() argument
1584 out = fdget(fd_out); in SYSCALL_DEFINE6()
H A Dread_write.c1559 int, fd_out, loff_t __user *, off_out, in SYSCALL_DEFINE6() argument
1572 f_out = fdget(fd_out); in SYSCALL_DEFINE6()
/openbmc/openbmc/poky/bitbake/lib/
H A Dpyinotify.py1311 fd_out = os.open(stdout, os.O_WRONLY|os.O_CREAT, 0o0600)
1312 os.dup2(fd_out, 1)
/openbmc/linux/include/linux/
H A Dsyscalls.h489 int fd_out, loff_t __user *off_out,
899 int fd_out, loff_t __user *off_out,