Home
last modified time | relevance | path

Searched refs:QIOChannel (Results 1 – 25 of 90) sorted by relevance

1234

/openbmc/qemu/include/io/
H A Dchannel.h29 OBJECT_DECLARE_TYPE(QIOChannel, QIOChannelClass,
59 typedef gboolean (*QIOChannelFunc)(QIOChannel *ioc,
81 struct QIOChannel { struct
111 ssize_t (*io_writev)(QIOChannel *ioc, argument
118 ssize_t (*io_readv)(QIOChannel *ioc,
125 int (*io_close)(QIOChannel *ioc,
127 GSource * (*io_create_watch)(QIOChannel *ioc,
129 int (*io_set_blocking)(QIOChannel *ioc,
134 ssize_t (*io_pwritev)(QIOChannel *ioc,
139 ssize_t (*io_preadv)(QIOChannel *ioc,
[all …]
H A Dchannel-tls.h47 QIOChannel parent;
48 QIOChannel *master;
79 qio_channel_tls_new_server(QIOChannel *master,
109 qio_channel_tls_new_client(QIOChannel *master,
H A Dchannel-watch.h46 GSource *qio_channel_create_fd_watch(QIOChannel *ioc,
64 GSource *qio_channel_create_socket_watch(QIOChannel *ioc,
85 GSource *qio_channel_create_fd_pair_watch(QIOChannel *ioc,
H A Dchannel-websock.h56 QIOChannel parent;
57 QIOChannel *master;
88 qio_channel_websock_new_server(QIOChannel *master);
/openbmc/qemu/io/
H A Dchannel.c29 bool qio_channel_has_feature(QIOChannel *ioc, in qio_channel_has_feature()
36 void qio_channel_set_feature(QIOChannel *ioc, in qio_channel_set_feature()
43 void qio_channel_set_name(QIOChannel *ioc, in qio_channel_set_name()
51 ssize_t qio_channel_readv_full(QIOChannel *ioc, in qio_channel_readv_full()
79 ssize_t qio_channel_writev_full(QIOChannel *ioc, in qio_channel_writev_full()
113 int coroutine_mixed_fn qio_channel_readv_all_eof(QIOChannel *ioc, in qio_channel_readv_all_eof()
121 int coroutine_mixed_fn qio_channel_readv_all(QIOChannel *ioc, in qio_channel_readv_all()
129 int coroutine_mixed_fn qio_channel_readv_full_all_eof(QIOChannel *ioc, in qio_channel_readv_full_all_eof()
219 int coroutine_mixed_fn qio_channel_readv_full_all(QIOChannel *ioc, in qio_channel_readv_full_all()
238 int coroutine_mixed_fn qio_channel_writev_all(QIOChannel *ioc, in qio_channel_writev_all()
[all …]
H A Dchannel-null.c31 QIOChannel *ioc;
58 qio_channel_null_readv(QIOChannel *ioc, in qio_channel_null_readv()
79 qio_channel_null_writev(QIOChannel *ioc, in qio_channel_null_writev()
100 qio_channel_null_set_blocking(QIOChannel *ioc G_GNUC_UNUSED, in qio_channel_null_set_blocking()
109 qio_channel_null_seek(QIOChannel *ioc G_GNUC_UNUSED, in qio_channel_null_seek()
119 qio_channel_null_close(QIOChannel *ioc, in qio_channel_null_close()
130 qio_channel_null_set_aio_fd_handler(QIOChannel *ioc G_GNUC_UNUSED, in qio_channel_null_set_aio_fd_handler()
189 qio_channel_null_create_watch(QIOChannel *ioc, in qio_channel_null_create_watch()
H A Dchannel-tls.c65 qio_channel_tls_new_server(QIOChannel *master, in qio_channel_tls_new_server()
71 QIOChannel *ioc; in qio_channel_tls_new_server()
108 qio_channel_tls_new_client(QIOChannel *master, in qio_channel_tls_new_client()
114 QIOChannel *ioc; in qio_channel_tls_new_client()
156 static gboolean qio_channel_tls_handshake_io(QIOChannel *ioc,
214 static gboolean qio_channel_tls_handshake_io(QIOChannel *ioc, in qio_channel_tls_handshake_io()
265 static ssize_t qio_channel_tls_readv(QIOChannel *ioc, in qio_channel_tls_readv()
302 static ssize_t qio_channel_tls_writev(QIOChannel *ioc, in qio_channel_tls_writev()
336 static int qio_channel_tls_set_blocking(QIOChannel *ioc, in qio_channel_tls_set_blocking()
345 static void qio_channel_tls_set_delay(QIOChannel *ioc, in qio_channel_tls_set_delay()
[all …]
H A Dchannel-file.c107 static ssize_t qio_channel_file_readv(QIOChannel *ioc, in qio_channel_file_readv()
136 static ssize_t qio_channel_file_writev(QIOChannel *ioc, in qio_channel_file_writev()
164 static ssize_t qio_channel_file_preadv(QIOChannel *ioc, in qio_channel_file_preadv()
190 static ssize_t qio_channel_file_pwritev(QIOChannel *ioc, in qio_channel_file_pwritev()
215 static int qio_channel_file_set_blocking(QIOChannel *ioc, in qio_channel_file_set_blocking()
235 static off_t qio_channel_file_seek(QIOChannel *ioc, in qio_channel_file_seek()
254 static int qio_channel_file_close(QIOChannel *ioc, in qio_channel_file_close()
269 static void qio_channel_file_set_aio_fd_handler(QIOChannel *ioc, in qio_channel_file_set_aio_fd_handler()
283 static GSource *qio_channel_file_create_watch(QIOChannel *ioc, in qio_channel_file_create_watch()
H A Dchannel-socket.c62 QIOChannel *ioc; in qio_channel_socket_new()
118 QIOChannel *ioc = QIO_CHANNEL(sioc); in qio_channel_socket_set_fd()
408 QIOChannel *ioc_local = QIO_CHANNEL(cioc); in qio_channel_socket_accept()
435 QIOChannel *ioc_local = QIO_CHANNEL(ioc); in qio_channel_socket_finalize()
501 static ssize_t qio_channel_socket_readv(QIOChannel *ioc, in qio_channel_socket_readv()
554 static ssize_t qio_channel_socket_writev(QIOChannel *ioc, in qio_channel_socket_writev()
634 static ssize_t qio_channel_socket_readv(QIOChannel *ioc, in qio_channel_socket_readv()
682 static ssize_t qio_channel_socket_writev(QIOChannel *ioc, in qio_channel_socket_writev()
728 static int qio_channel_socket_flush(QIOChannel *ioc, in qio_channel_socket_flush()
806 qio_channel_socket_set_blocking(QIOChannel *ioc, in qio_channel_socket_set_blocking()
[all …]
H A Dchannel-watch.c28 QIOChannel *ioc;
38 QIOChannel *ioc;
52 QIOChannel *ioc;
248 GSource *qio_channel_create_fd_watch(QIOChannel *ioc, in qio_channel_create_fd_watch()
277 GSource *qio_channel_create_socket_watch(QIOChannel *ioc, in qio_channel_create_socket_watch()
307 GSource *qio_channel_create_socket_watch(QIOChannel *ioc, in qio_channel_create_socket_watch()
315 GSource *qio_channel_create_fd_pair_watch(QIOChannel *ioc, in qio_channel_create_fd_pair_watch()
H A Dchannel-buffer.c52 static ssize_t qio_channel_buffer_readv(QIOChannel *ioc, in qio_channel_buffer_readv()
80 static ssize_t qio_channel_buffer_writev(QIOChannel *ioc, in qio_channel_buffer_writev()
119 static int qio_channel_buffer_set_blocking(QIOChannel *ioc G_GNUC_UNUSED, in qio_channel_buffer_set_blocking()
127 static off_t qio_channel_buffer_seek(QIOChannel *ioc, in qio_channel_buffer_seek()
140 static int qio_channel_buffer_close(QIOChannel *ioc, in qio_channel_buffer_close()
207 static GSource *qio_channel_buffer_create_watch(QIOChannel *ioc, in qio_channel_buffer_create_watch()
/openbmc/qemu/migration/
H A Dyank_functions.c18 QIOChannel *ioc = QIO_CHANNEL(opaque); in migration_yank_iochannel()
24 static bool migration_ioc_yank_supported(QIOChannel *ioc) in migration_ioc_yank_supported()
29 void migration_ioc_register_yank(QIOChannel *ioc) in migration_ioc_register_yank()
38 void migration_ioc_unregister_yank(QIOChannel *ioc) in migration_ioc_unregister_yank()
49 QIOChannel *ioc = qemu_file_get_ioc(file); in migration_ioc_unregister_yank_from_file()
H A Dtls.h28 QIOChannel *ioc,
31 QIOChannelTLS *migration_tls_client_create(QIOChannel *ioc,
36 QIOChannel *ioc,
41 bool migrate_channel_requires_tls_upgrade(QIOChannel *ioc);
H A Dtls.c61 QIOChannel *ioc = QIO_CHANNEL(qio_task_get_source(task)); in migration_tls_incoming_handshake()
75 QIOChannel *ioc, in migration_tls_channel_process_incoming()
105 QIOChannel *ioc = QIO_CHANNEL(qio_task_get_source(task)); in migration_tls_outgoing_handshake()
117 QIOChannelTLS *migration_tls_client_create(QIOChannel *ioc, in migration_tls_client_create()
137 QIOChannel *ioc, in migration_tls_channel_connect()
159 bool migrate_channel_requires_tls_upgrade(QIOChannel *ioc) in migrate_channel_requires_tls_upgrade()
H A Dchannel-block.c51 qio_channel_block_readv(QIOChannel *ioc, in qio_channel_block_readv()
76 qio_channel_block_writev(QIOChannel *ioc, in qio_channel_block_writev()
101 qio_channel_block_set_blocking(QIOChannel *ioc, in qio_channel_block_set_blocking()
114 qio_channel_block_seek(QIOChannel *ioc, in qio_channel_block_seek()
140 qio_channel_block_close(QIOChannel *ioc, in qio_channel_block_close()
160 qio_channel_block_set_aio_fd_handler(QIOChannel *ioc, in qio_channel_block_set_aio_fd_handler()
H A Dchannel.h21 void migration_channel_process_incoming(QIOChannel *ioc);
24 QIOChannel *ioc,
28 int migration_channel_read_peek(QIOChannel *ioc,
H A Dfile.c102 QIOChannel *ioc; in file_start_outgoing_migration()
128 static gboolean file_accept_incoming_migration(QIOChannel *ioc, in file_accept_incoming_migration()
137 static void file_create_incoming_channels(QIOChannel *ioc, char *filename, in file_create_incoming_channels()
141 g_autofree QIOChannel **iocs = NULL; in file_create_incoming_channels()
151 iocs = g_new0(QIOChannel *, channels); in file_create_incoming_channels()
198 int file_write_ramblock_iov(QIOChannel *ioc, const struct iovec *iov, in file_write_ramblock_iov()
H A Dfd.c54 QIOChannel *ioc; in fd_start_outgoing_migration()
77 static gboolean fd_accept_incoming_migration(QIOChannel *ioc, in fd_accept_incoming_migration()
88 QIOChannel *ioc; in fd_start_incoming_migration()
/openbmc/qemu/hw/remote/
H A Dmessage.c23 static void process_config_write(QIOChannel *ioc, PCIDevice *dev,
25 static void process_config_read(QIOChannel *ioc, PCIDevice *dev,
27 static void process_bar_write(QIOChannel *ioc, MPQemuMsg *msg, Error **errp);
28 static void process_bar_read(QIOChannel *ioc, MPQemuMsg *msg, Error **errp);
29 static void process_device_reset_msg(QIOChannel *ioc, PCIDevice *dev,
93 static void process_config_write(QIOChannel *ioc, PCIDevice *dev, in process_config_write()
117 static void process_config_read(QIOChannel *ioc, PCIDevice *dev, in process_config_read()
141 static void process_bar_write(QIOChannel *ioc, MPQemuMsg *msg, Error **errp) in process_bar_write()
178 static void process_bar_read(QIOChannel *ioc, MPQemuMsg *msg, Error **errp) in process_bar_read()
215 static void process_device_reset_msg(QIOChannel *ioc, PCIDevice *dev, in process_device_reset_msg()
/openbmc/qemu/tests/unit/
H A Dio-channel-helpers.h31 QIOChannel *src,
32 QIOChannel *dst);
35 QIOChannel *src);
37 QIOChannel *dst);
H A Dio-channel-helpers.c26 QIOChannel *src;
27 QIOChannel *dst;
104 QIOChannel *src, in qio_channel_test_run_threads()
105 QIOChannel *dst) in qio_channel_test_run_threads()
130 QIOChannel *src) in qio_channel_test_run_writer()
139 QIOChannel *dst) in qio_channel_test_run_reader()
H A Dtest-io-channel-socket.c31 static void test_io_channel_set_socket_bufs(QIOChannel *src, in test_io_channel_set_socket_bufs()
32 QIOChannel *dst) in test_io_channel_set_socket_bufs()
54 QIOChannel **srv, in test_io_channel_setup_sync()
55 QIOChannel **src, in test_io_channel_setup_sync()
56 QIOChannel **dst) in test_io_channel_setup_sync()
105 QIOChannel **srv, in test_io_channel_setup_async()
106 QIOChannel **src, in test_io_channel_setup_async()
107 QIOChannel **dst) in test_io_channel_setup_async()
176 QIOChannel *src, *dst, *srv; in test_io_channel()
413 QIOChannel *src, *dst, *srv; in test_io_channel_unix_fd_pass()
[all …]
/openbmc/qemu/nbd/
H A Dclient.c67 static int nbd_send_option_request(QIOChannel *ioc, uint32_t opt, in nbd_send_option_request()
99 static void nbd_send_opt_abort(QIOChannel *ioc) in nbd_send_opt_abort()
114 static int nbd_receive_option_reply(QIOChannel *ioc, uint32_t opt, in nbd_receive_option_reply()
154 static int nbd_handle_reply_err(QIOChannel *ioc, NBDOptionReply *reply, in nbd_handle_reply_err()
250 static int nbd_receive_list(QIOChannel *ioc, char **name, char **description, in nbd_receive_list()
339 static int nbd_opt_info_or_go(QIOChannel *ioc, uint32_t opt, in nbd_opt_info_or_go()
507 static int nbd_receive_query_exports(QIOChannel *ioc, in nbd_receive_query_exports()
562 static int nbd_request_simple_option(QIOChannel *ioc, int opt, bool strict, in nbd_request_simple_option()
617 static QIOChannel *nbd_receive_starttls(QIOChannel *ioc, in nbd_receive_starttls()
668 static int nbd_send_meta_query(QIOChannel *ioc, uint32_t opt, in nbd_send_meta_query()
[all …]
/openbmc/qemu/include/chardev/
H A Dchar-io.h33 QIOChannel *ioc,
41 int io_channel_send(QIOChannel *ioc, const void *buf, size_t len);
43 int io_channel_send_full(QIOChannel *ioc, const void *buf, size_t len,
/openbmc/qemu/include/block/
H A Dnbd.h396 int nbd_receive_negotiate(QIOChannel *ioc, QCryptoTLSCreds *tlscreds,
397 const char *hostname, QIOChannel **outioc,
400 int nbd_receive_export_list(QIOChannel *ioc, QCryptoTLSCreds *tlscreds,
405 int nbd_send_request(QIOChannel *ioc, NBDRequest *request);
406 int coroutine_fn nbd_receive_reply(BlockDriverState *bs, QIOChannel *ioc,
439 static inline int nbd_read(QIOChannel *ioc, void *buffer, size_t size, in nbd_read()
456 static inline int nbd_read##bits(QIOChannel *ioc, \
503 QIOChannel *coroutine_fn

1234