Home
last modified time | relevance | path

Searched refs:RETRY_ON_EINTR (Results 1 – 22 of 22) sorted by relevance

/openbmc/qemu/net/
H A Dtap-solaris.c87 ip_fd = RETRY_ON_EINTR(open("/dev/udp", O_RDWR, 0)); in tap_alloc()
93 tap_fd = RETRY_ON_EINTR(open("/dev/tap", O_RDWR, 0)); in tap_alloc()
107 if_fd = RETRY_ON_EINTR(open("/dev/tap", O_RDWR, 0)); in tap_alloc()
140 arp_fd = RETRY_ON_EINTR(open("/dev/tap", O_RDWR, 0)); in tap_alloc()
H A Dtap-bsd.c59 fd = RETRY_ON_EINTR(open(dname, O_RDWR)); in tap_open()
114 fd = RETRY_ON_EINTR(open(PATH_NET_TAP, O_RDWR)); in tap_open_clone()
162 fd = RETRY_ON_EINTR(open(dname, O_RDWR)); in tap_open()
H A Dl2tpv3.c243 ret = RETRY_ON_EINTR(sendmsg(s->fd, &message, 0)); in net_l2tpv3_receive_dgram_iov()
286 ret = RETRY_ON_EINTR(sendmsg(s->fd, &message, 0)); in net_l2tpv3_receive_dgram()
433 count = RETRY_ON_EINTR( in net_l2tpv3_send()
H A Dtap-linux.c48 fd = RETRY_ON_EINTR(open(PATH_NET_TUN, O_RDWR)); in tap_open()
H A Dtap.c106 len = RETRY_ON_EINTR(writev(s->fd, iov, iovcnt)); in tap_write_packet()
554 fd = RETRY_ON_EINTR(recv_fd(sv[0])); in net_bridge_run_helper()
625 fd = RETRY_ON_EINTR(tap_open(ifname, ifname_sz, vnet_hdr, vnet_hdr_required, in net_tap_init()
H A Dsocket.c120 ret = RETRY_ON_EINTR( in net_socket_receive_dgram()
/openbmc/qemu/chardev/
H A Dchar-pipe.c134 fd_in = RETRY_ON_EINTR(qemu_open_old(filename_in, O_RDWR | O_BINARY)); in qemu_chr_open_pipe()
135 fd_out = RETRY_ON_EINTR(qemu_open_old(filename_out, O_RDWR | O_BINARY)); in qemu_chr_open_pipe()
145 fd_in = fd_out = RETRY_ON_EINTR( in qemu_chr_open_pipe()
H A Dchar-pty.c98 rc = RETRY_ON_EINTR(g_poll(&pfd, 1, 0)); in pty_chr_update_read_handler()
125 rc = RETRY_ON_EINTR(g_poll(&pfd, 1, 0)); in char_pty_chr_write()
H A Dchar-fd.c201 fd = RETRY_ON_EINTR(qemu_open_old(src, flags, 0666)); in qmp_chardev_open_file_source()
/openbmc/qemu/
H A Dos-posix.c294 fd = RETRY_ON_EINTR(qemu_open_old("/dev/null", O_RDWR)); in os_setup_post()
/openbmc/qemu/backends/tpm/
H A Dtpm_util.c127 n = RETRY_ON_EINTR(g_poll(fds, 1, 1000)); in tpm_util_request()
/openbmc/qemu/util/
H A Dvfio-helpers.c245 ret = RETRY_ON_EINTR( in qemu_vfio_pci_read_config()
259 ret = RETRY_ON_EINTR( in qemu_vfio_pci_write_config()
H A Dosdep.c252 ret = RETRY_ON_EINTR(fcntl(fd, fcntl_op_setlk, &fl)); in qemu_lock_fcntl()
H A Dmain-loop.c66 len = RETRY_ON_EINTR(read(fd, &info, sizeof(info))); in sigfd_handler()
/openbmc/qemu/include/qemu/
H A Dosdep.h332 #define RETRY_ON_EINTR(expr) \ macro
/openbmc/qemu/hw/9pfs/
H A D9p-local.c473 tsize = RETRY_ON_EINTR(read(fd, (void *)buf, bufsz)); in local_readlink()
909 write_size = RETRY_ON_EINTR(write(fd, (void *)oldpath, oldpath_size)); in local_symlink()
/openbmc/qemu/tests/
H A Dvhost-user-bridge.c334 ret = RETRY_ON_EINTR(recvmsg(vubr->backend_udp_sock, &msg, 0)); in vubr_backend_recv_cb()
/openbmc/qemu/tests/qtest/
H A Dlibqtest.c238 pid = RETRY_ON_EINTR(waitpid(s->qemu_pid, &s->wstatus, 0)); in qtest_wait_qemu()
770 ret = RETRY_ON_EINTR(bind(sock, (struct sockaddr *)&addr, sizeof(addr))); in qtest_socket_server()
/openbmc/qemu/hw/virtio/
H A Dvhost.c2289 read_ret = RETRY_ON_EINTR(read(read_fd, transfer_buf, chunk_size)); in vhost_save_backend_state()
2401 write_ret = RETRY_ON_EINTR( in vhost_load_backend_state()
/openbmc/qemu/semihosting/
H A Dsyscalls.c327 ret = RETRY_ON_EINTR(read(gf->hostfd, ptr, len)); in host_read()
/openbmc/qemu/qga/
H A Dcommands-posix.c56 rpid = RETRY_ON_EINTR(waitpid(pid, status, 0)); in ga_wait_child()
/openbmc/qemu/block/
H A Dfile-posix.c1607 ret = RETRY_ON_EINTR( in handle_aiocb_ioctl()
1691 len = RETRY_ON_EINTR( in handle_aiocb_rw_vector()
2267 n = RETRY_ON_EINTR(pwrite(fd, buf, write_size, 0)); in allocate_first_block()