Lines Matching refs:pages

488 	struct list_head		*pages;  member
1298 rb_list_head_clear(cpu_buffer->pages); in rb_head_page_deactivate()
1300 list_for_each(hd, cpu_buffer->pages) in rb_head_page_deactivate()
1380 list = cpu_buffer->pages; in rb_set_head_page()
1542 head = rb_list_head(cpu_buffer->pages); in rb_check_pages()
1967 cpu_buffer->pages = &head_page->list; in rb_meta_validate_events()
2201 long nr_pages, struct list_head *pages) in __rb_allocate_pages() argument
2257 list_add_tail(&bpage->list, pages); in __rb_allocate_pages()
2289 list_for_each_entry_safe(bpage, tmp, pages, list) { in __rb_allocate_pages()
2302 LIST_HEAD(pages); in rb_allocate_pages()
2306 if (__rb_allocate_pages(cpu_buffer, nr_pages, &pages)) in rb_allocate_pages()
2314 cpu_buffer->pages = pages.next; in rb_allocate_pages()
2315 list_del(&pages); in rb_allocate_pages()
2407 = list_entry(cpu_buffer->pages, struct buffer_page, list); in rb_allocate_cpu_buffer()
2429 struct list_head *head = cpu_buffer->pages; in rb_free_cpu_buffer()
2755 cpu_buffer->pages = next_page; in rb_remove_pages()
2767 RB_WARN_ON(cpu_buffer, list_empty(cpu_buffer->pages)); in rb_remove_pages()
2811 struct list_head *pages = &cpu_buffer->new_pages; in rb_insert_pages() local
2845 first_page = pages->next; in rb_insert_pages()
2846 last_page = pages->prev; in rb_insert_pages()
2870 INIT_LIST_HEAD(pages); in rb_insert_pages()
5456 cpu_buffer->pages = reader->list.prev; in rb_get_reader_page()
6129 = list_entry(cpu_buffer->pages, struct buffer_page, list); in rb_reset_cpu()
6131 list_for_each_entry(page, cpu_buffer->pages, list) { in rb_reset_cpu()
6915 list_add(&old_pages, cpu_buffer->pages); in ring_buffer_subbuf_order_set()
6924 cpu_buffer->pages = cpu_buffer->new_pages.next; in ring_buffer_subbuf_order_set()
6929 = list_entry(cpu_buffer->pages, struct buffer_page, list); in ring_buffer_subbuf_order_set()
7122 struct page **pages __free(kfree) = NULL; in __rb_map_vma()
7159 pages = kcalloc(nr_pages, sizeof(*pages), GFP_KERNEL); in __rb_map_vma()
7160 if (!pages) in __rb_map_vma()
7166 pages[p++] = virt_to_page(cpu_buffer->meta_page); in __rb_map_vma()
7177 pages[p++] = ZERO_PAGE(zero_addr); in __rb_map_vma()
7199 pages[p++] = page; in __rb_map_vma()
7204 err = vm_insert_pages(vma, vma->vm_start, pages, &nr_pages); in __rb_map_vma()