• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/trace/

Lines Matching defs:read

52  * associated with the CPU it is currently executing on.  A reader may read
56 * reader page. When a reader has read the entire reader page, this reader
344 unsigned read; /* index for next read */
372 * @page: The page to read
452 struct buffer_page *head_page; /* read from head */
463 unsigned long read;
1413 cpu_buffer->reader_page->read);
1527 cpu_buffer->reader_page->read = 0;
2411 * and then that event will not be read later.
2533 return reader->read == rb_page_commit(reader) &&
2536 head->read == rb_page_commit(commit)));
2624 - cpu_buffer->read;
2688 local_read(&cpu_buffer->overrun)) - cpu_buffer->read;
2727 iter->head = iter->head_page->read;
2730 iter->head = cpu_buffer->reader_page->read;
2737 iter->cache_read = cpu_buffer->read;
2764 * ring_buffer_iter_empty - check if an iterator has no more to read
2864 /* If there's more to read, return this page */
2865 if (cpu_buffer->reader_page->read < rb_page_size(reader))
2870 cpu_buffer->reader_page->read > rb_page_size(reader)))
2905 * We want to make sure we read the overruns after we set up our
2976 cpu_buffer->read++;
2981 cpu_buffer->reader_page->read += length;
3108 * Check if someone performed a consuming read to
3109 * the buffer. A consuming read invalidates the iterator
3112 if (unlikely(iter->cache_read != cpu_buffer->read ||
3191 * ring_buffer_peek - peek at the next event to be read
3192 * @buffer: The ring buffer to read
3197 * This will return the event that will be read next, but does
3231 * ring_buffer_iter_peek - peek at the next event to be read
3235 * This will return the event that will be read next, but does
3259 * @cpu: the cpu to read the buffer from
3311 * ring_buffer_read_prepare - Prepare for a non consuming read of the buffer
3312 * @buffer: The ring buffer to read from
3320 * corrupted. This is not a consuming read, so a producer is not
3368 * ring_buffer_read_start - start a non consuming read of the buffer
3415 * ring_buffer_read - read the next item in the ring buffer by the iterator
3417 * @ts: The time stamp of the event read.
3466 cpu_buffer->head_page->read = 0;
3475 cpu_buffer->reader_page->read = 0;
3482 cpu_buffer->read = 0;
3681 * ring_buffer_alloc_read_page - allocate a page to read from buffer
3690 * the page that was allocated, with the read page of the buffer.
3713 * ring_buffer_free_read_page - free an allocated read page
3768 unsigned int read;
3799 read = reader->read;
3806 * If this page has been partially read or
3807 * if len is not big enough to read the rest of the page or
3812 if (read || (len < (commit - read)) ||
3815 unsigned int rpos = read;
3822 if (len > (commit - read))
3823 len = (commit - read);
3840 rpos = reader->read;
3855 read = 0;
3858 cpu_buffer->read += rb_page_entries(reader);
3866 reader->read = 0;
3877 ret = read;
3962 .read = rb_simple_read,