• Home
  • Raw
  • Download

Lines Matching refs:head_page

470 	struct buffer_page		*head_page;	/* read from head */  member
530 struct buffer_page *head_page; member
1306 head = cpu_buffer->head_page; in rb_head_page_activate()
1403 if (RB_WARN_ON(cpu_buffer, !cpu_buffer->head_page)) in rb_set_head_page()
1411 page = head = cpu_buffer->head_page; in rb_set_head_page()
1421 cpu_buffer->head_page = page; in rb_set_head_page()
1700 cpu_buffer->head_page in rb_allocate_cpu_buffer()
1702 cpu_buffer->tail_page = cpu_buffer->commit_page = cpu_buffer->head_page; in rb_allocate_cpu_buffer()
1952 cpu_buffer->head_page = list_entry(next_page, in rb_remove_pages()
2030 struct list_head *head_page, *prev_page, *r; in rb_insert_pages() local
2034 head_page = &rb_set_head_page(cpu_buffer)->list; in rb_insert_pages()
2035 if (!head_page) in rb_insert_pages()
2037 prev_page = head_page->prev; in rb_insert_pages()
2043 ((unsigned long)head_page | RB_PAGE_HEAD); in rb_insert_pages()
2056 head_page->prev = last_page; in rb_insert_pages()
2338 struct buffer_page *iter_head_page = iter->head_page; in rb_iter_head_event()
2386 iter->page_stamp = iter->read_stamp = iter->head_page->page->time_stamp; in rb_iter_head_event()
2423 if (iter->head_page == cpu_buffer->reader_page) in rb_inc_iter()
2424 iter->head_page = rb_set_head_page(cpu_buffer); in rb_inc_iter()
2426 rb_inc_page(&iter->head_page); in rb_inc_iter()
2428 iter->page_stamp = iter->read_stamp = iter->head_page->page->time_stamp; in rb_inc_iter()
4337 iter->head_page = cpu_buffer->reader_page; in rb_iter_reset()
4341 iter->cache_reader_page = iter->head_page; in rb_iter_reset()
4348 iter->read_stamp = iter->head_page->page->time_stamp; in rb_iter_reset()
4384 struct buffer_page *head_page; in ring_buffer_iter_empty() local
4393 head_page = cpu_buffer->head_page; in ring_buffer_iter_empty()
4417 return ((iter->head_page == commit_page && iter->head >= commit) || in ring_buffer_iter_empty()
4418 (iter->head_page == reader && commit_page == head_page && in ring_buffer_iter_empty()
4419 head_page->read == commit && in ring_buffer_iter_empty()
4552 new_reader = ring_buffer_search_footer(cpu_buffer->head_page, in rb_swap_reader_page_ext()
4572 cpu_buffer->head_page = new_head; in rb_swap_reader_page_ext()
4666 rb_inc_page(&cpu_buffer->head_page); in rb_swap_reader_page()
4819 if (iter->next_event >= rb_page_size(iter->head_page)) { in rb_advance_iter()
4821 if (iter->head_page == cpu_buffer->commit_page) in rb_advance_iter()
4949 if (iter->head >= rb_page_size(iter->head_page)) { in rb_iter_peek()
4975 *ts = rb_fix_abs_ts(*ts, iter->head_page->page->time_stamp); in rb_iter_peek()
5188 bpage = ring_buffer_search_footer(cpu_buffer->head_page, in ring_buffer_update_view()
5196 __set_head_page_flag(cpu_buffer->head_page, RB_PAGE_NORMAL); in ring_buffer_update_view()
5201 cpu_buffer->reader_page->list.next = &cpu_buffer->head_page->list; in ring_buffer_update_view()
5203 cpu_buffer->head_page = bpage; in ring_buffer_update_view()
5406 cpu_buffer->head_page in rb_reset_cpu()
5408 rb_clear_buffer_page(cpu_buffer->head_page); in rb_reset_cpu()
5413 cpu_buffer->tail_page = cpu_buffer->head_page; in rb_reset_cpu()
5414 cpu_buffer->commit_page = cpu_buffer->head_page; in rb_reset_cpu()
6110 bpage = rb->head_page; in trace_buffer_pack()