Lines Matching +full:recv +full:- +full:empty
4 * Copyright (c) 2019-2020 Red Hat Inc
10 * See the COPYING file in the top-level directory.
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()
218 /* buffers to recv */
228 /* used for de-compression methods */
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
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.
278 * The recv_setup, recv_cleanup, recv are only called on the QEMU
284 * channel setup phase. May be empty.
287 * p->iov. Compression methods may use p->compress_data.
293 * channel cleanup phase. May be empty.
303 * Must validate p->flags according to what was set at
306 * Must read the data from the QIOChannel p->c.
308 int (*recv)(MultiFDRecvParams *p, Error **errp); member
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()