Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_arena_large.c133 page = base = arena_base(&arena) + 4096 * __PAGE_SIZE;
135 ret = bpf_arena_reserve_pages(&arena, base + 3 * __PAGE_SIZE, 4); in free_reserved()
156 addr = arena_base(&arena) + 32768 * __PAGE_SIZE; in free_reserved()
162 ret = bpf_arena_reserve_pages(&arena, addr + 2 * __PAGE_SIZE, 2); in free_reserved()
171 bpf_arena_free_pages(&arena, addr + __PAGE_SIZE , 2);
174 page = bpf_arena_alloc_pages(&arena, addr + __PAGE_SIZE, 2, NUMA_NO_NODE, 0);
H A Dverifier_arena.c16 #define ARENA_VM_START ((1ull << 32) | (~0u - __PAGE_SIZE * 2 + 1))
18 #define ARENA_VM_START ((1ull << 44) | (~0u - __PAGE_SIZE * 2 + 1))
103 __u64 bad_addr = ARENA_VM_START - __PAGE_SIZE; in free_scalar_below_arena()
136 page2 = page1 + __PAGE_SIZE; in basic_alloc2_nosleep()
137 page3 = page1 + __PAGE_SIZE * 2; in basic_alloc2_nosleep()
138 page4 = page1 - __PAGE_SIZE; in basic_alloc2_nosleep()
174 page2 = page1 + __PAGE_SIZE; in basic_alloc2()
175 page3 = page1 + __PAGE_SIZE * 2; in basic_alloc2()
176 page4 = page1 - __PAGE_SIZE; in basic_alloc2()
244 page += __PAGE_SIZE; in basic_reserve1_nosleep()
[all …]
H A Dtest_sockmap_change_tail.c7 #define PAGE_SIZE __PAGE_SIZE
H A Dtest_tc_change_tail.c6 #define PAGE_SIZE __PAGE_SIZE
H A Ddynptr_success.c926 const __u32 max_frag_size = __PAGE_SIZE - headroom - sizeof(struct skb_shared_info); in test_dynptr_probe_str()
/linux/tools/testing/selftests/bpf/libarena/include/libarena/
H A Dcommon.h27 #define ARENA_PAGES (1UL << (32 - __builtin_ffs(__PAGE_SIZE) + 1))
/linux/tools/testing/selftests/bpf/
H A Dbpf_arena_common.h
/linux/tools/sched_ext/include/scx/
H A Dbpf_arena_common.bpf.h6 #define PAGE_SIZE __PAGE_SIZE
/linux/kernel/bpf/
H A Dcore.c97 __PAGE_SIZE = PAGE_SIZE enumerator
106 size = round_up(size, __PAGE_SIZE); in bpf_prog_alloc_no_stats()