Home
last modified time | relevance | path

Searched refs:MAX_BPF_REG (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/include/linux/
Dbpf_verifier.h232 struct bpf_reg_state regs[MAX_BPF_REG];
272 #define BPF_ID_MAP_SIZE (MAX_BPF_REG + MAX_BPF_STACK / BPF_REG_SIZE)
361 for (___j = 0; ___j < MAX_BPF_REG; ___j++) { \
Dfilter.h61 #define BPF_REG_AX MAX_BPF_REG
62 #define MAX_BPF_EXT_REG (MAX_BPF_REG + 1)
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/bpf/
Dverifier.c646 if (meta->insn.src_reg >= MAX_BPF_REG || in nfp_verify_insn()
647 meta->insn.dst_reg >= MAX_BPF_REG) { in nfp_verify_insn()
/linux-6.1.9/tools/include/uapi/linux/
Dbpf.h69 #define MAX_BPF_REG __MAX_BPF_REG macro
/linux-6.1.9/include/uapi/linux/
Dbpf.h69 #define MAX_BPF_REG __MAX_BPF_REG macro
/linux-6.1.9/kernel/bpf/
Dverifier.c846 for (i = 0; i < MAX_BPF_REG; i++) { in print_verifier_state()
1386 if (WARN_ON(regno >= MAX_BPF_REG)) { in mark_reg_known_zero()
1389 for (regno = 0; regno < MAX_BPF_REG; regno++) in mark_reg_known_zero()
1703 if (WARN_ON(regno >= MAX_BPF_REG)) { in mark_reg_unknown()
1723 if (WARN_ON(regno >= MAX_BPF_REG)) { in mark_reg_not_init()
1756 for (i = 0; i < MAX_BPF_REG; i++) { in init_reg_state()
2467 if (regno >= MAX_BPF_REG) { in check_reg_arg()
11740 for (i = 0; i < MAX_BPF_REG; i++) in func_states_equal()
11834 BUILD_BUG_ON(BPF_REG_FP + 1 != MAX_BPF_REG); in propagate_liveness()
11917 for (i = 0; i < MAX_BPF_REG; i++) in states_maybe_looping()
Dcore.c1223 BUILD_BUG_ON(MAX_BPF_REG + 1 != MAX_BPF_JIT_REG); in bpf_jit_blind_insn()
/linux-6.1.9/net/core/
Dfilter.c570 BUILD_BUG_ON(BPF_REG_FP + 1 != MAX_BPF_REG); in bpf_convert_filter()