write_loc 143 drivers/hv/ring_buffer.c u32 read_loc, write_loc, dsize; write_loc 147 drivers/hv/ring_buffer.c write_loc = READ_ONCE(rbi->ring_buffer->write_index); write_loc 150 drivers/hv/ring_buffer.c *write = write_loc >= read_loc ? dsize - (write_loc - read_loc) : write_loc 151 drivers/hv/ring_buffer.c read_loc - write_loc; write_loc 381 drivers/hv/ring_buffer.c u32 write_loc = READ_ONCE(rbi->ring_buffer->write_index); write_loc 383 drivers/hv/ring_buffer.c if (write_loc >= priv_read_loc) write_loc 384 drivers/hv/ring_buffer.c return write_loc - priv_read_loc; write_loc 386 drivers/hv/ring_buffer.c return (rbi->ring_datasize - priv_read_loc) + write_loc; write_loc 141 include/linux/hyperv.h u32 read_loc, write_loc, dsize, read; write_loc 145 include/linux/hyperv.h write_loc = READ_ONCE(rbi->ring_buffer->write_index); write_loc 147 include/linux/hyperv.h read = write_loc >= read_loc ? (write_loc - read_loc) : write_loc 148 include/linux/hyperv.h (dsize - read_loc) + write_loc; write_loc 155 include/linux/hyperv.h u32 read_loc, write_loc, dsize, write; write_loc 159 include/linux/hyperv.h write_loc = rbi->ring_buffer->write_index; write_loc 161 include/linux/hyperv.h write = write_loc >= read_loc ? dsize - (write_loc - read_loc) : write_loc 162 include/linux/hyperv.h read_loc - write_loc;