Searched refs:fd_out (Results 1 – 10 of 10) sorted by relevance
| /linux/arch/um/drivers/ |
| H A D | ubd_user.c | 28 int start_io_thread(struct os_helper_thread **td_out, 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 D | chan_kern.c | 109 chan->fd_out = fd; in open_one_chan() 123 err = os_dup_file(chan->fd_out); in open_one_chan() 127 chan->fd_out = err; in open_one_chan() 129 err = os_set_fd_block(chan->fd_out, 1); in open_one_chan() 131 os_close_file(chan->fd_out); in open_one_chan() 260 if (chan->fd_out != chan->fd_in) in close_one_chan() 261 os_close_file(chan->fd_out); in close_one_chan() 267 chan->fd_out = -1; in close_one_chan() 297 n = chan->ops->write(chan->fd_out, buf, len, chan->data); in write_chan() 311 n = chan->ops->console_write(chan->fd_out, buf, len); in console_write_chan() [all …]
|
| H A D | chan_user.c | 239 static int winch_tramp(int fd, struct tty_port *port, int *fd_out, in winch_tramp() argument 269 *fd_out = fds[0]; in winch_tramp() 280 err = os_set_fd_block(*fd_out, 0); in winch_tramp()
|
| H A D | chan.h | 26 int fd_out; /* only different to fd_in if blocking output is needed */ member
|
| H A D | virtio_uml.c | 622 static int vhost_user_init_mem_region(u64 addr, u64 size, int *fd_out, in vhost_user_init_mem_region() argument 630 *fd_out = rc; in vhost_user_init_mem_region() 638 if (WARN(rc != *fd_out, "phys_mapping of 0x%llx failed: %d != %d\n", in vhost_user_init_mem_region() 639 addr + size - 1, rc, *fd_out)) in vhost_user_init_mem_region()
|
| /linux/tools/testing/selftests/exec/ |
| H A D | check-exec.c | 180 static void fill_exec_fd(struct __test_metadata *_metadata, const int fd_out) in fill_exec_fd() argument 192 EXPECT_EQ(len, write(fd_out, buf, len)) in fill_exec_fd() 206 int fd_out; in fill_exec_path() local 208 fd_out = open(path, O_CLOEXEC | O_WRONLY); in fill_exec_path() 209 ASSERT_LE(0, fd_out) in fill_exec_path() 213 fill_exec_fd(_metadata, fd_out); in fill_exec_path() 214 EXPECT_EQ(0, close(fd_out)); in fill_exec_path()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | bpf_syscall_macro.c | 90 int BPF_KSYSCALL(splice_enter, int fd_in, loff_t *off_in, int fd_out, in BPF_KSYSCALL() argument 100 splice_fd_out = fd_out; in BPF_KSYSCALL()
|
| /linux/fs/ |
| H A D | splice.c | 1619 int, fd_out, loff_t __user *, off_out, in SYSCALL_DEFINE6() argument 1632 CLASS(fd, out)(fd_out); in SYSCALL_DEFINE6()
|
| H A D | read_write.c | 1649 int, fd_out, loff_t __user *, off_out, in SYSCALL_DEFINE6() argument 1660 CLASS(fd, f_out)(fd_out); in SYSCALL_DEFINE6()
|
| /linux/include/linux/ |
| H A D | syscalls.h | 521 int fd_out, loff_t __user *off_out, 948 int fd_out, loff_t __user *off_out,
|