Searched refs:MAX_BPF_STACK (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
D | bpf_local_storage.h | 95 (KMALLOC_MAX_SIZE - MAX_BPF_STACK - \
|
D | bpf_verifier.h | 215 #define BPF_ID_MAP_SIZE (MAX_BPF_REG + MAX_BPF_STACK / BPF_REG_SIZE)
|
D | filter.h | 87 #define MAX_BPF_STACK 512 macro
|
/kernel/linux/linux-5.10/arch/mips/net/ |
D | ebpf_jit.c | 293 BUILD_BUG_ON(MAX_BPF_STACK & 7); in gen_int_prologue() 294 locals_size = (ctx->flags & EBPF_SEEN_FP) ? MAX_BPF_STACK : 0; in gen_int_prologue() 831 emit_instr(ctx, daddiu, dst, MIPS_R_SP, MAX_BPF_STACK); in build_one_insn() 834 emit_instr(ctx, daddiu, MIPS_R_AT, MIPS_R_SP, MAX_BPF_STACK); in build_one_insn() 1368 mem_off = insn->off + MAX_BPF_STACK; in build_one_insn() 1399 mem_off = insn->off + MAX_BPF_STACK; in build_one_insn() 1434 mem_off = insn->off + MAX_BPF_STACK; in build_one_insn()
|
/kernel/linux/linux-5.10/tools/include/linux/ |
D | filter.h | 28 #define MAX_BPF_STACK 512 macro
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | hashtab.c | 393 if (attr->key_size > MAX_BPF_STACK) in htab_map_alloc_check() 400 MAX_BPF_STACK - sizeof(struct htab_elem)) in htab_map_alloc_check()
|
D | verifier.c | 3289 if (depth > MAX_BPF_STACK) { in check_max_stack_depth() 3661 min_valid_off = -MAX_BPF_STACK; in check_stack_slot_within_bounds() 5733 max = MAX_BPF_STACK + mask_to_left; in retrieve_ptr_limit() 5990 if (off >= 0 || off < -MAX_BPF_STACK) { in check_stack_access_for_ptr_arithmetic() 11543 prog->aux->stack_depth = MAX_BPF_STACK; in fixup_bpf_calls()
|
/kernel/linux/linux-5.10/net/core/ |
D | sock_map.c | 1116 if (attr->key_size > MAX_BPF_STACK) in sock_hash_alloc()
|
D | filter.c | 565 BUILD_BUG_ON(BPF_MEMWORDS * sizeof(u32) > MAX_BPF_STACK); in bpf_convert_filter() 1644 __be32 diff[MAX_BPF_STACK / sizeof(__be32)]; 1645 u8 buff[MAX_BPF_STACK];
|
/kernel/linux/linux-5.10/Documentation/networking/ |
D | filter.rst | 1127 stack bounds, which are [-MAX_BPF_STACK, 0). In this example offset is 8,
|