Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/hv/
Dring_buffer.c564 u32 start_read_index) in hv_pkt_iter_bytes_read() argument
566 if (rbi->priv_read_index >= start_read_index) in hv_pkt_iter_bytes_read()
567 return rbi->priv_read_index - start_read_index; in hv_pkt_iter_bytes_read()
569 return rbi->ring_datasize - start_read_index + in hv_pkt_iter_bytes_read()
596 u32 curr_write_sz, pending_sz, bytes_read, start_read_index; in hv_pkt_iter_close() local
604 start_read_index = rbi->ring_buffer->read_index; in hv_pkt_iter_close()
641 bytes_read = hv_pkt_iter_bytes_read(rbi, start_read_index); in hv_pkt_iter_close()