Lines Matching +full:channel +full:- +full:use

4  * Copyright (c) 2019-2020 Red Hat Inc
10 * See the COPYING file in the top-level directory.
65 uint32_t unused32[1]; /* Reserved for future use */
66 uint64_t unused64[3]; /* Reserved for future use */
70 * - normal pages (initial normal_pages entries)
71 * - zero pages (following zero_pages entries)
109 return data->type == MULTIFD_PAYLOAD_NONE; in multifd_payload_empty()
115 data->type = type; in multifd_set_payload_type()
122 /* channel number */
124 /* channel thread name */
126 /* channel thread id */
131 /* communication channel */
164 /* packets sent through this channel */
178 /* channel number */
180 /* channel thread name */
182 /* channel thread id */
185 /* communication channel */
212 /* packets received through this channel */
228 /* used for de-compression methods */
239 * Setup for sending side. Called once per channel during channel
242 * Must allocate p->iov. If packets are in use (default), one
246 * p->write_flags may be used for passing flags to the QIOChannel.
248 * p->compression_data may be used by compression methods to store
254 * Cleanup for sending side. Called once per channel during
255 * channel cleanup phase.
262 * a channel that is currently idle.
264 * Must populate p->iov with the data to be sent, increment
265 * p->iovs_num to match the amount of iovecs used and set
266 * p->next_packet_size with the amount of data currently present
267 * in p->iov.
270 * p->flags.
272 * As a last step, if packets are in use (default), must prepare
283 * Setup for receiving side. Called once per channel during
284 * channel setup phase. May be empty.
286 * May allocate data structures for the receiving of data. May use
287 * p->iov. Compression methods may use p->compress_data.
292 * Cleanup for receiving side. Called once per channel during
293 * channel cleanup phase. May be empty.
300 * channel that is currently idle. Only called if there is data
303 * Must validate p->flags according to what was set at
306 * Must read the data from the QIOChannel p->c.
319 p->iov[0].iov_len = p->packet_len; in multifd_send_prepare_header()
320 p->iov[0].iov_base = p->packet; in multifd_send_prepare_header()
321 p->iovs_num++; in multifd_send_prepare_header()