Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_arena.c30 page1 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in basic_alloc1()
34 page2 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in basic_alloc1()
38 no_page = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in basic_alloc1()
50 page3 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in basic_alloc1()
69 page1 = bpf_arena_alloc_pages(&arena, NULL, 2, NUMA_NO_NODE, 0); in basic_alloc2()
111 pages = bpf_arena_alloc_pages(&ar->map, NULL, ar->map.max_entries, NUMA_NO_NODE, 0); in basic_alloc3()
125 bpf_arena_alloc_pages(map, NULL, map->max_entries, 0, 0); in iter_maps1()
135 bpf_arena_alloc_pages((void *)seq, NULL, 1, 0, 0); in iter_maps2()
147 bpf_arena_alloc_pages(map->inner_map_meta, NULL, map->max_entries, 0, 0); in iter_maps3()
H A Dverifier_arena_large.c28 page1 = base = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in big_alloc1()
32 page2 = bpf_arena_alloc_pages(&arena, base + ARENA_SIZE - PAGE_SIZE * 2, in big_alloc1()
37 no_page = bpf_arena_alloc_pages(&arena, base + ARENA_SIZE - PAGE_SIZE, in big_alloc1()
50 page3 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in big_alloc1()
86 pg = bpf_arena_alloc_pages(&arena, NULL, pages_atonce,
114 base = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0);
162 pg = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0);
H A Darena_atomics.c217 page = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in uaf()
/linux/tools/testing/selftests/bpf/
H A Dbpf_arena_common.h47 void __arena* bpf_arena_alloc_pages(void *map, void __arena *addr, __u32 page_cnt,
63 static inline void __arena* bpf_arena_alloc_pages(void *map, void *addr, __u32 page_cnt, in bpf_arena_alloc_pages() function
H A Dbpf_arena_alloc.h33 page = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in bpf_alloc()
H A Dbpf_arena_htab.h95 void __arena *buckets = bpf_arena_alloc_pages(&arena, NULL, 2, NUMA_NO_NODE, 0); in htab_init()