Searched refs:start_write_offset (Results 1 – 1 of 1) sorted by relevance
255 u32 start_write_offset, in hv_copyto_ringbuffer() argument264 if (srclen > ring_buffer_size - start_write_offset) { in hv_copyto_ringbuffer()265 frag_len = ring_buffer_size - start_write_offset; in hv_copyto_ringbuffer()266 memcpy(ring_buffer + start_write_offset, src, frag_len); in hv_copyto_ringbuffer()269 memcpy(ring_buffer + start_write_offset, src, srclen); in hv_copyto_ringbuffer()271 start_write_offset += srclen; in hv_copyto_ringbuffer()272 start_write_offset %= ring_buffer_size; in hv_copyto_ringbuffer()274 return start_write_offset; in hv_copyto_ringbuffer()