Home
last modified time | relevance | path

Searched refs:MAX_BPF_STACK (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dbpf_local_storage.h95 (KMALLOC_MAX_SIZE - MAX_BPF_STACK - \
Dbpf_verifier.h215 #define BPF_ID_MAP_SIZE (MAX_BPF_REG + MAX_BPF_STACK / BPF_REG_SIZE)
Dfilter.h87 #define MAX_BPF_STACK 512 macro
/kernel/linux/linux-5.10/arch/mips/net/
Debpf_jit.c293 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/
Dfilter.h28 #define MAX_BPF_STACK 512 macro
/kernel/linux/linux-5.10/kernel/bpf/
Dhashtab.c393 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()
Dverifier.c3289 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/
Dsock_map.c1116 if (attr->key_size > MAX_BPF_STACK) in sock_hash_alloc()
Dfilter.c565 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/
Dfilter.rst1127 stack bounds, which are [-MAX_BPF_STACK, 0). In this example offset is 8,