Home
last modified time | relevance | path

Searched refs:priv_read_index (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/hv/
Dring_buffer.c233 ring_info->priv_read_index = 0; in hv_ringbuffer_init()
440 u32 priv_read_loc = rbi->priv_read_index; in hv_pkt_iter_avail()
476 desc = (struct vmpacket_descriptor *)(hv_get_ring_buffer(rbi) + rbi->priv_read_index); in hv_pkt_iter_first()
531 rbi->priv_read_index += packetlen + VMBUS_PKT_TRAILER; in __hv_pkt_iter_next()
532 if (rbi->priv_read_index >= dsize) in __hv_pkt_iter_next()
533 rbi->priv_read_index -= dsize; in __hv_pkt_iter_next()
544 if (rbi->priv_read_index >= start_read_index) in hv_pkt_iter_bytes_read()
545 return rbi->priv_read_index - start_read_index; in hv_pkt_iter_bytes_read()
548 rbi->priv_read_index; in hv_pkt_iter_bytes_read()
583 rbi->ring_buffer->read_index = rbi->priv_read_index; in hv_pkt_iter_close()
/linux-6.6.21/include/linux/
Dhyperv.h178 u32 priv_read_index; member
/linux-6.6.21/drivers/net/hyperv/
Dnetvsc.c1698 prefetch(hv_get_ring_buffer(rbi) + rbi->priv_read_index); in netvsc_channel_cb()