Home
last modified time | relevance | path

Searched refs:pipe (Results 1 – 25 of 34) sorted by relevance

12

/qemu/include/hw/xen/interface/io/
H A Dusbif.h295 #define usbif_pipeportnum(pipe) ((pipe) & USBIF_PIPE_PORT_MASK) argument
296 #define usbif_setportnum_pipe(pipe, portnum) ((pipe) | (portnum)) argument
298 #define usbif_pipeunlink(pipe) ((pipe) & USBIF_PIPE_UNLINK) argument
299 #define usbif_pipesubmit(pipe) (!usbif_pipeunlink(pipe)) argument
300 #define usbif_setunlink_pipe(pipe) ((pipe) | USBIF_PIPE_UNLINK) argument
302 #define usbif_pipein(pipe) ((pipe) & USBIF_PIPE_DIR) argument
303 #define usbif_pipeout(pipe) (!usbif_pipein(pipe)) argument
305 #define usbif_pipedevice(pipe) \ argument
306 (((pipe) >> USBIF_PIPE_DEV_SHIFT) & USBIF_PIPE_DEV_MASK)
308 #define usbif_pipeendpoint(pipe) \ argument
[all …]
/qemu/tests/qtest/
H A Divshmem-test.c247 int pipe[2]; /* to handle quit */ member
260 FD_SET(t->pipe[0], &fds); in server_thread()
261 maxfd = t->pipe[0] + 1; in server_thread()
279 if (FD_ISSET(t->pipe[0], &fds)) { in server_thread()
324 g_unix_open_pipe(thread.pipe, FD_CLOEXEC, &err); in test_ivshmem_server()
370 if (qemu_write_full(thread.pipe[1], "q", 1) != 1) { in test_ivshmem_server()
377 close(thread.pipe[1]); in test_ivshmem_server()
378 close(thread.pipe[0]); in test_ivshmem_server()
/qemu/hw/usb/
H A Dxen-usb.c172 if (usbif_pipein(usbback_req->req.pipe)) { in usbback_gnttab_map()
193 if (!usbif_pipeisoc(usbback_req->req.pipe)) { in usbback_gnttab_map()
234 pid = usbif_pipein(usbback_req->req.pipe) ? USB_TOKEN_IN : USB_TOKEN_OUT; in usbback_init_packet()
235 ep_nr = usbif_pipeendpoint(usbback_req->req.pipe); in usbback_init_packet()
237 if (usbif_pipectrl(usbback_req->req.pipe)) { in usbback_init_packet()
244 switch (usbif_pipetype(usbback_req->req.pipe)) { in usbback_init_packet()
403 devnum = usbif_pipedevice(usbback_req->req.pipe); in usbback_process_unlink_req()
406 usbif_pipeportnum(usbback_req->req.pipe) - 1; in usbback_process_unlink_req()
449 devnum = usbif_pipedevice(usbback_req->req.pipe); in usbback_check_and_submit()
467 stub = usbif->ports + usbif_pipeportnum(usbback_req->req.pipe) - 1; in usbback_check_and_submit()
[all …]
/qemu/scripts/
H A Dclean-header-guards.pl91 open(my $pipe, "-|", "$opt_c -E -D$guard -c -P - <$fname")
93 while (<$pipe>) {
99 close $pipe
/qemu/chardev/
H A Dchar-pipe.c111 ChardevHostdev *opts = backend->u.pipe.data; in qemu_chr_open_pipe()
126 ChardevHostdev *opts = backend->u.pipe.data; in qemu_chr_open_pipe()
169 dev = backend->u.pipe.data = g_new0(ChardevHostdev, 1); in qemu_chr_parse_pipe()
H A Dmeson.build8 'char-pipe.c',
/qemu/tests/tcg/multiarch/
H A Dfollow-fork-mode.c28 err = pipe(fd); in main()
/qemu/tests/unit/
H A Dtest-char.c583 gchar *in, *out, *pipe = g_build_filename(tmp_path, "pipe", NULL); in char_hub_test() local
588 in = g_strdup_printf("%s.in", pipe); in char_hub_test()
592 out = g_strdup_printf("%s.out", pipe); in char_hub_test()
619 qemu_opt_set(opts, "path", pipe, &error_abort); in char_hub_test()
744 g_free(pipe); in char_hub_test()
888 gchar *tmp, *in, *out, *pipe = g_build_filename(tmp_path, "pipe", NULL); in char_pipe_test() local
895 in = g_strdup_printf("%s.in", pipe); in char_pipe_test()
899 out = g_strdup_printf("%s.out", pipe); in char_pipe_test()
904 tmp = g_strdup_printf("pipe:%s", pipe); in char_pipe_test()
946 g_free(pipe); in char_pipe_test()
/qemu/qapi/
H A Dchar.json231 # Configuration info for device and pipe chardevs.
483 # @pipe: pipes (since 1.5)
533 'pipe',
567 # @data: Configuration info for device and pipe chardevs
726 'pipe': 'ChardevHostdevWrapper',
/qemu/tests/qtest/migration/
H A Dprecopy-tests.c143 FILE *pipe = popen(cmd, "r"); in new_rdma_link() local
144 if (pipe == NULL) { in new_rdma_link()
150 while (fgets(buffer + idx, 128 - idx, pipe) != NULL) { in new_rdma_link()
154 int status = pclose(pipe); in new_rdma_link()
/qemu/linux-user/mips/
H A Dsyscall-args-o32.c.inc43 [ 42] = 0, /* pipe */
H A Dsyscall_o32.tbl54 42 o32 pipe sysm_pipe
/qemu/bsd-user/netbsd/
H A Dstrace.list87 { TARGET_NETBSD_NR_pipe, "pipe", NULL, NULL, NULL },
/qemu/tests/tcg/multiarch/linux/
H A Dlinux-test.c337 chk_error(pipe(fds)); in test_pipe()
/qemu/docs/
H A Dqdev-device-use.txt207 * pipe:FNAME becomes -chardev pipe,path=FNAME
/qemu/bsd-user/openbsd/
H A Dstrace.list110 { TARGET_OPENBSD_NR_pipe, "pipe", NULL, NULL, NULL },
/qemu/linux-user/mips64/
H A Dsyscall_n64.tbl31 21 n64 pipe sysm_pipe
H A Dsyscall_n32.tbl31 21 n32 pipe sysm_pipe
/qemu/linux-user/x86_64/
H A Dsyscall_64.tbl34 22 common pipe sys_pipe
/qemu/linux-user/xtensa/
H A Dsyscall.tbl48 37 common pipe sys_pipe
/qemu/linux-user/hppa/
H A Dsyscall.tbl55 42 common pipe sys_pipe
/qemu/linux-user/sh4/
H A Dsyscall.tbl52 42 common pipe sys_sh_pipe
/qemu/linux-user/microblaze/
H A Dsyscall.tbl52 42 common pipe sys_pipe
/qemu/linux-user/m68k/
H A Dsyscall.tbl52 42 common pipe sys_pipe
/qemu/docs/interop/
H A Dvhost-user.rst54 - Either eventfd or pipe/pipe2. On platforms where eventfd is not
56 resort, pipe. Each file descriptor will be used for receiving or
627 generally behave like a pipe: The writing end will write all the data it
1681 For example, the channel may be a pipe, in which case the two ends of
1682 the pipe fulfill these requirements respectively.
1692 based on efficiency: If the channel is a pipe, both ends will most

12