Lines Matching refs:rb_list_head
701 static struct list_head *rb_list_head(struct list_head *list);
723 next = rb_list_head(page->list.next); in verify_event()
1245 static struct list_head *rb_list_head(struct list_head *list) in rb_list_head() function
1284 return rb_list_head(list->next) != &page->list; in rb_is_reader_page()
1390 struct list_head *p = rb_list_head((*bpage)->list.next); in rb_inc_page()
1408 if (RB_WARN_ON(cpu_buffer, rb_list_head(list->prev->next) != list)) in rb_set_head_page()
1532 struct list_head *head = rb_list_head(cpu_buffer->pages); in rb_check_pages()
1536 rb_list_head(rb_list_head(head->next)->prev) != head)) in rb_check_pages()
1540 rb_list_head(rb_list_head(head->prev)->next) != head)) in rb_check_pages()
1543 for (tmp = rb_list_head(head->next); tmp != head; tmp = rb_list_head(tmp->next)) { in rb_check_pages()
1545 rb_list_head(rb_list_head(tmp->next)->prev) != tmp)) in rb_check_pages()
1549 rb_list_head(rb_list_head(tmp->prev)->next) != tmp)) in rb_check_pages()
1923 tail_page = rb_list_head(tail_page->next); in rb_remove_pages()
1927 first_page = list_entry(rb_list_head(to_remove->next), in rb_remove_pages()
1931 to_remove = rb_list_head(to_remove)->next; in rb_remove_pages()
1935 next_page = rb_list_head(to_remove)->next; in rb_remove_pages()
1944 next_page = rb_list_head(next_page); in rb_remove_pages()
1968 last_page = list_entry(rb_list_head(to_remove), struct buffer_page, in rb_remove_pages()
4616 cpu_buffer->reader_page->list.next = rb_list_head(reader->list.next); in rb_swap_reader_page()
4665 rb_list_head(reader->list.next)->prev = &cpu_buffer->reader_page->list; in rb_swap_reader_page()