Lines Matching refs:write_index
77 u32 next = ring_info->ring_buffer->write_index;
87 ring_info->ring_buffer->write_index = next_write_location;
101 return (u64)ring_info->ring_buffer->write_index << 32;
141 write_loc = READ_ONCE(rbi->ring_buffer->write_index);
169 debug_info->current_write_index = ring_info->ring_buffer->write_index;
224 ring_info->ring_buffer->write_index = 0;
446 * store_release() to update the write_index. Use load_acquire()
448 * before the read of the write_index and potentially getting
451 write_loc = virt_load_acquire(&rbi->ring_buffer->write_index);
565 * 3. Read the current write_index
615 * Ensure the read of write_index in hv_get_bytes_to_write()