Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Darena.c46 #define GUARD_SZ round_up(1ull << sizeof_field(struct bpf_insn, off) * 8, PAGE_SIZE << 1) macro
47 #define KERN_VM_SZ (SZ_4G + GUARD_SZ)
83 return arena ? (u64) (long) arena->kern_vm->addr + GUARD_SZ / 2 : 0; in bpf_arena_get_kern_vm_start()
263 SZ_4G + GUARD_SZ / 2, apply_range_set_cb, NULL); in populate_pgtable_except_pte()
394 SZ_4G + GUARD_SZ / 2, existing_page_cb, arena); in arena_map_free()
1179 if (page_addr < kbase || page_addr >= kbase + SZ_4G + GUARD_SZ / 2) in bpf_arena_handle_page_fault()
/linux/Documentation/bpf/
H A Dkfuncs.rst288 ``GUARD_SZ / 2``, 32 KiB, past the pointer in a single unchecked access).
573 The arena is followed by a ``GUARD_SZ / 2`` (32 KiB) guard region that
575 therefore access up to ``GUARD_SZ / 2`` past it without bounds-checking