Lines Matching refs:read_offset
377 unsigned int buffer_size, read_offset, write_offset, bytes_to_copy, full_cnt;
421 read_offset = log_buf_state_local.read_ptr;
450 read_offset = 0;
452 } else if (unlikely((read_offset > buffer_size) ||
456 read_offset = 0;
461 if (read_offset > write_offset) {
463 bytes_to_copy = buffer_size - read_offset;
465 bytes_to_copy = write_offset - read_offset;
467 i915_memcpy_from_wc(dst_data + read_offset,
468 src_data + read_offset, bytes_to_copy);