Lines Matching refs:pages
505 struct list_head *pages; member
1276 rb_list_head_clear(cpu_buffer->pages); in rb_head_page_deactivate()
1278 list_for_each(hd, cpu_buffer->pages) in rb_head_page_deactivate()
1352 list = cpu_buffer->pages; in rb_set_head_page()
1477 struct list_head *head = rb_list_head(cpu_buffer->pages); in rb_check_pages()
1501 static int __rb_allocate_pages(long nr_pages, struct list_head *pages, int cpu) in __rb_allocate_pages() argument
1545 list_add(&bpage->list, pages); in __rb_allocate_pages()
1562 list_for_each_entry_safe(bpage, tmp, pages, list) { in __rb_allocate_pages()
1575 LIST_HEAD(pages); in rb_allocate_pages()
1579 if (__rb_allocate_pages(nr_pages, &pages, cpu_buffer->cpu)) in rb_allocate_pages()
1587 cpu_buffer->pages = pages.next; in rb_allocate_pages()
1588 list_del(&pages); in rb_allocate_pages()
1643 = list_entry(cpu_buffer->pages, struct buffer_page, list); in rb_allocate_cpu_buffer()
1660 struct list_head *head = cpu_buffer->pages; in rb_free_cpu_buffer()
1870 cpu_buffer->pages = next_page; in rb_remove_pages()
1881 RB_WARN_ON(cpu_buffer, list_empty(cpu_buffer->pages)); in rb_remove_pages()
1925 struct list_head *pages = &cpu_buffer->new_pages; in rb_insert_pages() local
1955 first_page = pages->next; in rb_insert_pages()
1956 last_page = pages->prev; in rb_insert_pages()
1979 INIT_LIST_HEAD(pages); in rb_insert_pages()
4344 cpu_buffer->pages = reader->list.prev; in rb_get_reader_page()
5004 = list_entry(cpu_buffer->pages, struct buffer_page, list); in rb_reset_cpu()
5006 list_for_each_entry(page, cpu_buffer->pages, list) { in rb_reset_cpu()