Searched refs:bpf_arena_alloc_pages (Results 1 – 6 of 6) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | verifier_arena.c | 30 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 D | verifier_arena_large.c | 28 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 D | arena_atomics.c | 217 page = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in uaf()
|
/linux/tools/testing/selftests/bpf/ |
H A D | bpf_arena_common.h | 47 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 D | bpf_arena_alloc.h | 33 page = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in bpf_alloc()
|
H A D | bpf_arena_htab.h | 95 void __arena *buckets = bpf_arena_alloc_pages(&arena, NULL, 2, NUMA_NO_NODE, 0); in htab_init()
|