Lines Matching defs:write
26 * When we write to the ring buffer, check if the host needs to
70 /* Get the next write location for the specified ring buffer. */
79 /* Set the next write location for the specified ring buffer. */
103 /* Get the read and write indices as u64 of the specified ring buffer. */
136 * Get number of bytes available to read and to write to
141 u32 *read, u32 *write)
145 /* Capture the read/write indices before they changed */
150 *write = write_loc >= read_loc ? dsize - (write_loc - read_loc) :
152 *read = dsize - *write;
288 * is empty since the read index == write index.
324 /* Issue a full memory barrier before updating the write index */
327 /* Now, update the write location */