Lines Matching refs:vmpacket_descriptor
287 struct vmpacket_descriptor *desc = kv_list[0].iov_base; in hv_ringbuffer_write()
392 struct vmpacket_descriptor *desc; in hv_ringbuffer_read()
463 struct vmpacket_descriptor *hv_pkt_iter_first(struct vmbus_channel *channel) in hv_pkt_iter_first()
466 struct vmpacket_descriptor *desc, *desc_copy; in hv_pkt_iter_first()
472 if (bytes_avail < sizeof(struct vmpacket_descriptor)) in hv_pkt_iter_first()
476 desc = (struct vmpacket_descriptor *)(hv_get_ring_buffer(rbi) + rbi->priv_read_index); in hv_pkt_iter_first()
489 if (pkt_len < sizeof(struct vmpacket_descriptor) || pkt_len > bytes_avail) in hv_pkt_iter_first()
496 if (pkt_offset < sizeof(struct vmpacket_descriptor) || pkt_offset > pkt_len) in hv_pkt_iter_first()
497 pkt_offset = sizeof(struct vmpacket_descriptor); in hv_pkt_iter_first()
500 desc_copy = (struct vmpacket_descriptor *)rbi->pkt_buffer; in hv_pkt_iter_first()
521 struct vmpacket_descriptor *
523 const struct vmpacket_descriptor *desc) in __hv_pkt_iter_next()