Searched refs:start_read_offset (Results 1 – 1 of 1) sorted by relevance
248 u32 start_read_offset);601 u32 start_read_offset) in copyfrom_ringbuffer() argument609 if (destlen > ring_buffer_size - start_read_offset) { in copyfrom_ringbuffer()612 frag_len = ring_buffer_size - start_read_offset; in copyfrom_ringbuffer()614 memcpy(dest, ring_buffer + start_read_offset, frag_len); in copyfrom_ringbuffer()618 memcpy(dest, ring_buffer + start_read_offset, destlen); in copyfrom_ringbuffer()621 start_read_offset += destlen; in copyfrom_ringbuffer()622 start_read_offset %= ring_buffer_size; in copyfrom_ringbuffer()624 return start_read_offset; in copyfrom_ringbuffer()