Searched refs:start_read_index (Results 1 – 1 of 1) sorted by relevance
564 u32 start_read_index) in hv_pkt_iter_bytes_read() argument566 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() local604 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()