Home
last modified time | relevance | path

Searched refs:nr_data_pages (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/kernel/bpf/
H A Dringbuf.c94 int nr_data_pages = data_sz >> PAGE_SHIFT; in bpf_ringbuf_area_alloc() local
95 int nr_pages = nr_meta_pages + nr_data_pages; in bpf_ringbuf_area_alloc()
118 array_size = (nr_meta_pages + 2 * nr_data_pages) * sizeof(*pages); in bpf_ringbuf_area_alloc()
131 pages[nr_data_pages + i] = page; in bpf_ringbuf_area_alloc()
134 rb = vmap(pages, nr_meta_pages + 2 * nr_data_pages, in bpf_ringbuf_area_alloc()
342 int nr_data_pages; in ringbuf_map_mem_usage() local
349 nr_data_pages = map->max_entries >> PAGE_SHIFT; in ringbuf_map_mem_usage()
350 usage += (nr_meta_pages + 2 * nr_data_pages) * sizeof(struct page *); in ringbuf_map_mem_usage()