Home
last modified time | relevance | path

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

/include/linux/
Dhyperv.h191 static inline u32 hv_get_bytes_to_read(const struct hv_ring_buffer_info *rbi) in hv_get_bytes_to_read() argument
195 dsize = rbi->ring_datasize; in hv_get_bytes_to_read()
196 read_loc = rbi->ring_buffer->read_index; in hv_get_bytes_to_read()
197 write_loc = READ_ONCE(rbi->ring_buffer->write_index); in hv_get_bytes_to_read()
205 static inline u32 hv_get_bytes_to_write(const struct hv_ring_buffer_info *rbi) in hv_get_bytes_to_write() argument
209 dsize = rbi->ring_datasize; in hv_get_bytes_to_write()
210 read_loc = READ_ONCE(rbi->ring_buffer->read_index); in hv_get_bytes_to_write()
211 write_loc = rbi->ring_buffer->write_index; in hv_get_bytes_to_write()
219 const struct hv_ring_buffer_info *rbi) in hv_get_avail_to_write_percent() argument
221 u32 avail_write = hv_get_bytes_to_write(rbi); in hv_get_avail_to_write_percent()
[all …]