Lines Matching refs:pages
38 struct page **pages; member
102 struct page **pages, *page; in bpf_ringbuf_area_alloc() local
124 array_size = (nr_meta_pages + 2 * nr_data_pages) * sizeof(*pages); in bpf_ringbuf_area_alloc()
125 pages = bpf_map_area_alloc(array_size, numa_node); in bpf_ringbuf_area_alloc()
126 if (!pages) in bpf_ringbuf_area_alloc()
135 pages[i] = page; in bpf_ringbuf_area_alloc()
137 pages[nr_data_pages + i] = page; in bpf_ringbuf_area_alloc()
140 rb = vmap(pages, nr_meta_pages + 2 * nr_data_pages, in bpf_ringbuf_area_alloc()
143 kmemleak_not_leak(pages); in bpf_ringbuf_area_alloc()
144 rb->pages = pages; in bpf_ringbuf_area_alloc()
151 __free_page(pages[i]); in bpf_ringbuf_area_alloc()
152 bpf_map_area_free(pages); in bpf_ringbuf_area_alloc()
221 struct page **pages = rb->pages; in bpf_ringbuf_free() local
226 __free_page(pages[i]); in bpf_ringbuf_free()
227 bpf_map_area_free(pages); in bpf_ringbuf_free()