Searched refs:MAX_BPF_STACK (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.4/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() 830 emit_instr(ctx, daddiu, dst, MIPS_R_SP, MAX_BPF_STACK); in build_one_insn() 833 emit_instr(ctx, daddiu, MIPS_R_AT, MIPS_R_SP, MAX_BPF_STACK); in build_one_insn() 1364 mem_off = insn->off + MAX_BPF_STACK; in build_one_insn() 1395 mem_off = insn->off + MAX_BPF_STACK; in build_one_insn() 1430 mem_off = insn->off + MAX_BPF_STACK; in build_one_insn()
|
/Linux-v5.4/tools/include/linux/ |
D | filter.h | 28 #define MAX_BPF_STACK 512 macro
|
/Linux-v5.4/arch/x86/net/ |
D | bpf_jit_comp.c | 257 EMIT2_off32(0x8B, 0x85, -36 - MAX_BPF_STACK); /* mov eax, dword ptr [rbp - 548] */ in emit_bpf_tail_call() 263 EMIT2_off32(0x89, 0x85, -36 - MAX_BPF_STACK); /* mov dword ptr [rbp -548], eax */ in emit_bpf_tail_call()
|
/Linux-v5.4/kernel/bpf/ |
D | hashtab.c | 277 if (attr->key_size > MAX_BPF_STACK) in htab_map_alloc_check() 284 MAX_BPF_STACK - sizeof(struct htab_elem)) in htab_map_alloc_check()
|
D | verifier.c | 2120 if (off >= 0 || off < -MAX_BPF_STACK) { in check_stack_access() 2609 if (depth > MAX_BPF_STACK) { in check_max_stack_depth() 2939 if (off >= 0 || off < -MAX_BPF_STACK || off + access_size > 0 || in __check_stack_boundary() 4217 *ptr_limit = MAX_BPF_STACK + off; in retrieve_ptr_limit() 6681 #define ID_MAP_SIZE (MAX_BPF_REG + MAX_BPF_STACK / BPF_REG_SIZE) 9014 env->prog->aux->stack_depth = MAX_BPF_STACK; in fixup_bpf_calls()
|
/Linux-v5.4/net/core/ |
D | bpf_sk_storage.c | 623 MAX_BPF_STACK - sizeof(struct bpf_sk_storage_elem) || in bpf_sk_storage_map_alloc_check()
|
D | sock_map.c | 806 if (attr->key_size > MAX_BPF_STACK) in sock_hash_alloc()
|
D | filter.c | 546 BUILD_BUG_ON(BPF_MEMWORDS * sizeof(u32) > MAX_BPF_STACK); in bpf_convert_filter() 1625 __be32 diff[MAX_BPF_STACK / sizeof(__be32)]; 1626 u8 buff[MAX_BPF_STACK];
|
/Linux-v5.4/include/linux/ |
D | filter.h | 78 #define MAX_BPF_STACK 512 macro
|
/Linux-v5.4/Documentation/networking/ |
D | filter.txt | 1077 stack bounds, which are [-MAX_BPF_STACK, 0). In this example offset is 8,
|