Lines Matching refs:vmpacket_descriptor
296 struct vmpacket_descriptor *desc = kv_list[0].iov_base; in hv_ringbuffer_write()
393 struct vmpacket_descriptor *desc; in hv_ringbuffer_read()
453 struct vmpacket_descriptor *hv_pkt_iter_first_raw(struct vmbus_channel *channel) in hv_pkt_iter_first_raw()
459 if (hv_pkt_iter_avail(rbi) < sizeof(struct vmpacket_descriptor)) in hv_pkt_iter_first_raw()
462 return (struct vmpacket_descriptor *)(hv_get_ring_buffer(rbi) + rbi->priv_read_index); in hv_pkt_iter_first_raw()
471 struct vmpacket_descriptor *hv_pkt_iter_first(struct vmbus_channel *channel) in hv_pkt_iter_first()
474 struct vmpacket_descriptor *desc, *desc_copy; in hv_pkt_iter_first()
494 if (pkt_len < sizeof(struct vmpacket_descriptor) || pkt_len > bytes_avail) in hv_pkt_iter_first()
501 if (pkt_offset < sizeof(struct vmpacket_descriptor) || pkt_offset > pkt_len) in hv_pkt_iter_first()
502 pkt_offset = sizeof(struct vmpacket_descriptor); in hv_pkt_iter_first()
505 desc_copy = (struct vmpacket_descriptor *)rbi->pkt_buffer; in hv_pkt_iter_first()
526 struct vmpacket_descriptor *
528 const struct vmpacket_descriptor *desc, in __hv_pkt_iter_next()