Home
last modified time | relevance | path

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

/drivers/hv/
Dring_buffer.c484 u32 start_read_index) in hv_pkt_iter_bytes_read() argument
486 if (rbi->priv_read_index >= start_read_index) in hv_pkt_iter_bytes_read()
487 return rbi->priv_read_index - start_read_index; in hv_pkt_iter_bytes_read()
489 return rbi->ring_datasize - start_read_index + in hv_pkt_iter_bytes_read()
516 u32 curr_write_sz, pending_sz, bytes_read, start_read_index; in hv_pkt_iter_close() local
524 start_read_index = rbi->ring_buffer->read_index; in hv_pkt_iter_close()
561 bytes_read = hv_pkt_iter_bytes_read(rbi, start_read_index); in hv_pkt_iter_close()