Lines Matching refs:rb_list_head
829 static struct list_head *rb_list_head(struct list_head *list) in rb_list_head() function
869 return rb_list_head(list->next) != &page->list; in rb_is_reader_page()
977 struct list_head *p = rb_list_head((*bpage)->list.next); in rb_inc_page()
995 if (RB_WARN_ON(cpu_buffer, rb_list_head(list->prev->next) != list)) in rb_set_head_page()
1115 if (RB_WARN_ON(cpu_buffer, rb_list_head(list->prev) != list->prev)) in rb_check_list()
1117 if (RB_WARN_ON(cpu_buffer, rb_list_head(list->next) != list->next)) in rb_check_list()
1499 tail_page = rb_list_head(tail_page->next); in rb_remove_pages()
1503 first_page = list_entry(rb_list_head(to_remove->next), in rb_remove_pages()
1507 to_remove = rb_list_head(to_remove)->next; in rb_remove_pages()
1511 next_page = rb_list_head(to_remove)->next; in rb_remove_pages()
1520 next_page = rb_list_head(next_page); in rb_remove_pages()
1544 last_page = list_entry(rb_list_head(to_remove), struct buffer_page, in rb_remove_pages()
3690 cpu_buffer->reader_page->list.next = rb_list_head(reader->list.next); in rb_get_reader_page()
3739 rb_list_head(reader->list.next)->prev = &cpu_buffer->reader_page->list; in rb_get_reader_page()