Lines Matching refs:reader_page
464 struct buffer_page *reader_page; member
982 pagebusy = cpu_buffer->reader_page == cpu_buffer->commit_page; in ring_buffer_wait()
1652 cpu_buffer->reader_page = bpage; in rb_allocate_cpu_buffer()
1659 INIT_LIST_HEAD(&cpu_buffer->reader_page->list); in rb_allocate_cpu_buffer()
1675 free_buffer_page(cpu_buffer->reader_page); in rb_allocate_cpu_buffer()
1689 free_buffer_page(cpu_buffer->reader_page); in rb_free_cpu_buffer()
1888 if (cpu_buffer->tail_page == cpu_buffer->reader_page) in rb_remove_pages()
2296 return __rb_page_index(cpu_buffer->reader_page, in rb_reader_event()
2297 cpu_buffer->reader_page->read); in rb_reader_event()
2389 if (iter->head_page == cpu_buffer->reader_page) in rb_inc_iter()
2718 cpu_buffer->reader_page))) { in rb_move_tail()
3098 if (cpu_buffer->reader_page == cpu_buffer->commit_page) in rb_wakeups()
3894 struct buffer_page *reader = cpu_buffer->reader_page; in rb_per_cpu_empty()
4111 if (cpu_buffer->tail_page == cpu_buffer->reader_page) in ring_buffer_oldest_event_ts()
4112 bpage = cpu_buffer->reader_page; in ring_buffer_oldest_event_ts()
4296 iter->head_page = cpu_buffer->reader_page; in rb_iter_reset()
4297 iter->head = cpu_buffer->reader_page->read; in rb_iter_reset()
4305 iter->page_stamp = cpu_buffer->reader_page->page->time_stamp; in rb_iter_reset()
4351 reader = cpu_buffer->reader_page; in ring_buffer_iter_empty()
4379 iter->head == rb_page_commit(cpu_buffer->reader_page))); in ring_buffer_iter_empty()
4503 new_rb_page = cpu_buffer->reader_page; in rb_swap_reader_page_ext()
4523 cpu_buffer->reader_page = new_reader; in rb_swap_reader_page_ext()
4524 cpu_buffer->reader_page->read = 0; in rb_swap_reader_page_ext()
4560 local_set(&cpu_buffer->reader_page->write, 0); in rb_swap_reader_page()
4561 local_set(&cpu_buffer->reader_page->entries, 0); in rb_swap_reader_page()
4562 local_set(&cpu_buffer->reader_page->page->commit, 0); in rb_swap_reader_page()
4563 cpu_buffer->reader_page->real_end = 0; in rb_swap_reader_page()
4573 cpu_buffer->reader_page->list.next = rb_list_head(reader->list.next); in rb_swap_reader_page()
4574 cpu_buffer->reader_page->list.prev = reader->list.prev; in rb_swap_reader_page()
4584 rb_set_list_to_head(&cpu_buffer->reader_page->list); in rb_swap_reader_page()
4609 ret = rb_head_page_replace(reader, cpu_buffer->reader_page); in rb_swap_reader_page()
4622 rb_list_head(reader->list.next)->prev = &cpu_buffer->reader_page->list; in rb_swap_reader_page()
4628 cpu_buffer->reader_page = reader; in rb_swap_reader_page()
4629 cpu_buffer->reader_page->read = 0; in rb_swap_reader_page()
4662 reader = cpu_buffer->reader_page; in rb_get_reader_page()
4665 if (cpu_buffer->reader_page->read < rb_page_size(reader)) in rb_get_reader_page()
4671 cpu_buffer->reader_page->read > page_size)) in rb_get_reader_page()
4676 if (cpu_buffer->commit_page == cpu_buffer->reader_page) in rb_get_reader_page()
4754 cpu_buffer->reader_page->read += length; in rb_advance_reader()
4885 iter->cache_reader_page != cpu_buffer->reader_page)) in rb_iter_peek()
5126 bpage = cpu_buffer->reader_page; in ring_buffer_update_view()
5156 cpu_buffer->reader_page->list.next = &cpu_buffer->head_page->list; in ring_buffer_update_view()
5371 INIT_LIST_HEAD(&cpu_buffer->reader_page->list); in rb_reset_cpu()
5373 rb_clear_buffer_page(cpu_buffer->reader_page); in rb_reset_cpu()
5857 cpu_buffer->reader_page == cpu_buffer->commit_page || in ring_buffer_read_page()
5859 struct buffer_data_page *rpage = cpu_buffer->reader_page->page; in ring_buffer_read_page()
5872 cpu_buffer->reader_page == cpu_buffer->commit_page)) in ring_buffer_read_page()
6071 cpu_pack->reader_page_va = (unsigned long)rb->reader_page->page; in trace_buffer_pack()