Searched refs:start_read_index (Results 1 – 1 of 1) sorted by relevance
542 u32 start_read_index) in hv_pkt_iter_bytes_read() argument544 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()547 return rbi->ring_datasize - start_read_index + in hv_pkt_iter_bytes_read()574 u32 curr_write_sz, pending_sz, bytes_read, start_read_index; in hv_pkt_iter_close() local582 start_read_index = rbi->ring_buffer->read_index; in hv_pkt_iter_close()619 bytes_read = hv_pkt_iter_bytes_read(rbi, start_read_index); in hv_pkt_iter_close()