Home
last modified time | relevance | path

Searched refs:read_fd (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/io/
H A Dchannel-util.c41 void qio_channel_util_set_aio_fd_handler(int read_fd, in qio_channel_util_set_aio_fd_handler() argument
49 if (read_fd == write_fd && read_ctx == write_ctx) { in qio_channel_util_set_aio_fd_handler()
50 aio_set_fd_handler(read_ctx, read_fd, io_read, io_write, in qio_channel_util_set_aio_fd_handler()
54 aio_set_fd_handler(read_ctx, read_fd, io_read, NULL, in qio_channel_util_set_aio_fd_handler()
/openbmc/linux/tools/testing/selftests/powerpc/mm/
H A Dstack_expansion_signal.c82 close(read_pipe.read_fd); in test_one_size()
88 close(write_pipe.read_fd); in test_one_size()
95 close(read_pipe.read_fd); in test_one_size()
/openbmc/linux/tools/testing/selftests/powerpc/pmu/
H A Dlib.c25 FAIL_IF(read(read_pipe.read_fd, &c, 1) != 1); in sync_with_child()
36 FAIL_IF(read(read_pipe.read_fd, &c, 1) != 1); in wait_for_parent()
H A Dlib.h17 int read_fd; member
/openbmc/qemu/include/io/
H A Dchannel-util.h67 void qio_channel_util_set_aio_fd_handler(int read_fd,
/openbmc/qemu/hw/virtio/
H A Dvhost.c2245 int pipe_fds[2], read_fd = -1, write_fd = -1, reply_fd = -1; in vhost_save_backend_state() local
2256 read_fd = pipe_fds[0]; in vhost_save_backend_state()
2280 close(read_fd); in vhost_save_backend_state()
2281 read_fd = reply_fd; in vhost_save_backend_state()
2289 read_ret = RETRY_ON_EINTR(read(read_fd, transfer_buf, chunk_size)); in vhost_save_backend_state()
2311 close(read_fd); in vhost_save_backend_state()
2312 read_fd = -1; in vhost_save_backend_state()
2324 if (read_fd >= 0) { in vhost_save_backend_state()
2325 close(read_fd); in vhost_save_backend_state()
2337 int pipe_fds[2], read_fd = -1, write_fd = -1, reply_fd = -1; in vhost_load_backend_state() local
[all …]
/openbmc/openbmc/meta-phosphor/classes/
H A Dimage_types_phosphor.bbclass704 with open(get_pubkey_path(d), 'r') as read_fd:
706 write_fd.write(read_fd.read())