Home
last modified time | relevance | path

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

12

/qemu/include/hw/xen/interface/io/
H A Dusbif.h296 #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
313 #define usbif_pipeisoc(pipe) (usbif_pipetype(pipe) == USBIF_PIPE_TYPE_ISOC) argument
314 #define usbif_pipeint(pipe) (usbif_pipetype(pipe) == USBIF_PIPE_TYPE_INT) argument
315 #define usbif_pipectrl(pipe) (usbif_pipetype(pipe) == USBIF_PIPE_TYPE_CTRL) argument
316 #define usbif_pipebulk(pipe) (usbif_pipetype(pipe) == USBIF_PIPE_TYPE_BULK) 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()
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()
449 devnum = usbif_pipedevice(usbback_req->req.pipe); in usbback_check_and_submit()
532 usbback_req->req.pipe); in usbback_dispatch()
535 if (unlikely(usbif_pipeunlink(usbback_req->req.pipe))) { in usbback_dispatch()
540 if (usbif_pipectrl(usbback_req->req.pipe)) { in usbback_dispatch()
[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.build7 'char-pipe.c',
/qemu/tests/tcg/multiarch/
H A Dfollow-fork-mode.c28 err = pipe(fd); in main()
/qemu/qapi/
H A Dchar.json231 # Configuration info for device and pipe chardevs.
437 # @pipe: Since 1.5
479 'pipe',
512 # @data: Configuration info for device and pipe chardevs
650 'pipe': 'ChardevHostdevWrapper',
/qemu/tests/unit/
H A Dtest-char.c469 gchar *tmp, *in, *out, *pipe = g_build_filename(tmp_path, "pipe", NULL); in char_pipe_test() local
476 in = g_strdup_printf("%s.in", pipe); in char_pipe_test()
480 out = g_strdup_printf("%s.out", pipe); in char_pipe_test()
485 tmp = g_strdup_printf("pipe:%s", pipe); in char_pipe_test()
527 g_free(pipe); in char_pipe_test()
/qemu/linux-user/mips/
H A Dsyscall-args-o32.c.inc43 [ 42] = 0, /* pipe */
/qemu/bsd-user/netbsd/
H A Dstrace.list87 { TARGET_NETBSD_NR_pipe, "pipe", NULL, NULL, NULL },
/qemu/docs/about/
H A Demulation.rst138 redirected to a file, pipe or socket like any other ``chardev``
/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_n32.tbl31 21 n32 pipe sysm_pipe
H A Dsyscall_n64.tbl31 21 n64 pipe sysm_pipe
/qemu/linux-user/x86_64/
H A Dsyscall_64.tbl33 22 common pipe sys_pipe
/qemu/linux-user/xtensa/
H A Dsyscall.tbl48 37 common pipe sys_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/linux-user/sh4/
H A Dsyscall.tbl52 42 common pipe sys_sh_pipe
/qemu/linux-user/arm/
H A Dsyscall.tbl56 42 common pipe sys_pipe
/qemu/linux-user/hppa/
H A Dsyscall.tbl55 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
625 generally behave like a pipe: The writing end will write all the data it
1679 For example, the channel may be a pipe, in which case the two ends of
1680 the pipe fulfill these requirements respectively.
1690 based on efficiency: If the channel is a pipe, both ends will most

12