Searched refs:priv_read_loc (Results 1 – 1 of 1) sorted by relevance
380 u32 priv_read_loc = rbi->priv_read_index; in hv_pkt_iter_avail() local383 if (write_loc >= priv_read_loc) in hv_pkt_iter_avail()384 return write_loc - priv_read_loc; in hv_pkt_iter_avail()386 return (rbi->ring_datasize - priv_read_loc) + write_loc; in hv_pkt_iter_avail()