/openbmc/linux/Documentation/bpf/ |
H A D | linux-notes.rst | 55 ``BPF_IND | <size> | BPF_LD``. 60 and ``BPF_IND`` access packet data at an offset that includes the value of 82 ``BPF_IND | BPF_W | BPF_LD`` (0x40) means::
|
H A D | classic_vs_extended.rst | 372 BPF_IND 0x40
|
/openbmc/linux/tools/bpf/ |
H A D | bpf_exp.y | 124 bpf_set_curr_instr(BPF_LD | BPF_B | BPF_IND, 0, 0, $5); } 126 bpf_set_curr_instr(BPF_LD | BPF_B | BPF_IND, 0, 0, $6); } 136 bpf_set_curr_instr(BPF_LD | BPF_H | BPF_IND, 0, 0, $5); } 138 bpf_set_curr_instr(BPF_LD | BPF_H | BPF_IND, 0, 0, $6); } 164 bpf_set_curr_instr(BPF_LD | BPF_W | BPF_IND, 0, 0, $5); } 166 bpf_set_curr_instr(BPF_LD | BPF_W | BPF_IND, 0, 0, $6); }
|
H A D | bpf_dbg.c | 267 case BPF_LD_W | BPF_IND: in bpf_disasm() 271 case BPF_LD_H | BPF_IND: in bpf_disasm() 275 case BPF_LD_B | BPF_IND: in bpf_disasm() 685 case BPF_LD_W | BPF_IND: in bpf_single_step() 690 case BPF_LD_H | BPF_IND: in bpf_single_step() 697 case BPF_LD_B | BPF_IND: in bpf_single_step()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf_common.h | 25 #define BPF_IND 0x40 macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf_common.h | 25 #define BPF_IND 0x40 macro
|
/openbmc/linux/lib/ |
H A D | test_bpf.c | 3076 BPF_STMT(BPF_LD | BPF_B | BPF_IND, 1), 3203 BPF_STMT(BPF_LD | BPF_B | BPF_IND, 0), 3230 BPF_STMT(BPF_LD | BPF_B | BPF_IND, 0), 3575 BPF_STMT(BPF_LD | BPF_W | BPF_IND, 0), 3617 BPF_STMT(BPF_LD | BPF_H | BPF_IND, 14), 3619 BPF_STMT(BPF_LD | BPF_H | BPF_IND, 16), 3656 BPF_STMT(BPF_LD | BPF_H | BPF_IND, 14), 3658 BPF_STMT(BPF_LD | BPF_H | BPF_IND, 16), 3670 BPF_STMT(BPF_LD | BPF_B | BPF_IND, 26), 10408 BPF_STMT(BPF_LD | BPF_IND | BPF_B, 0x0), [all …]
|
/openbmc/linux/arch/sparc/net/ |
H A D | bpf_jit_comp_32.c | 611 case BPF_LD | BPF_W | BPF_IND: in bpf_jit_compile() 626 case BPF_LD | BPF_H | BPF_IND: in bpf_jit_compile() 629 case BPF_LD | BPF_B | BPF_IND: in bpf_jit_compile()
|
/openbmc/linux/tools/include/linux/ |
H A D | filter.h | 146 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | main.h | 416 (BPF_MODE(code) == BPF_ABS || BPF_MODE(code) == BPF_IND); in is_mbpf_classic_load()
|
H A D | jit.c | 3473 [BPF_LD | BPF_IND | BPF_B] = data_ind_ld1, 3474 [BPF_LD | BPF_IND | BPF_H] = data_ind_ld2, 3475 [BPF_LD | BPF_IND | BPF_W] = data_ind_ld4, 3976 BPF_MODE(insn.code) != BPF_IND) in nfp_bpf_opt_ld_mask() 4011 BPF_MODE(insn.code) != BPF_IND) in nfp_bpf_opt_ld_shift()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | disasm.c | 278 } else if (BPF_MODE(insn->code) == BPF_IND) { in print_bpf_insn()
|
/openbmc/linux/kernel/bpf/ |
H A D | disasm.c | 278 } else if (BPF_MODE(insn->code) == BPF_IND) { in print_bpf_insn()
|
H A D | core.c | 1656 [BPF_LD | BPF_IND | BPF_B] = true, in bpf_opcode_in_insntable() 1657 [BPF_LD | BPF_IND | BPF_H] = true, in bpf_opcode_in_insntable() 1658 [BPF_LD | BPF_IND | BPF_W] = true, in bpf_opcode_in_insntable()
|
H A D | verifier.c | 3078 (BPF_MODE(code) == BPF_ABS || BPF_MODE(code) == BPF_IND)) in check_subprogs() 3922 if (mode == BPF_IND || mode == BPF_ABS) in backtrack_insn() 14901 if (mode == BPF_IND) { in check_ld_abs() 17301 if (mode == BPF_ABS || mode == BPF_IND) { in do_check() 18941 BPF_MODE(insn->code) == BPF_IND)) { in do_misc_fixups()
|
/openbmc/linux/net/core/ |
H A D | filter.c | 478 bool indirect = BPF_MODE(fp->code) == BPF_IND; in convert_bpf_ld_abs() 654 case BPF_LD | BPF_IND | BPF_W: in bpf_convert_filter() 655 case BPF_LD | BPF_IND | BPF_H: in bpf_convert_filter() 656 case BPF_LD | BPF_IND | BPF_B: in bpf_convert_filter() 996 [BPF_LD | BPF_W | BPF_IND] = true, in chk_code_allowed() 997 [BPF_LD | BPF_H | BPF_IND] = true, in chk_code_allowed() 998 [BPF_LD | BPF_B | BPF_IND] = true, in chk_code_allowed() 8840 bool indirect = BPF_MODE(orig->code) == BPF_IND; in bpf_gen_ld_abs()
|
/openbmc/linux/include/linux/ |
H A D | filter.h | 250 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \
|
/openbmc/linux/Documentation/bpf/standardization/ |
H A D | instruction-set.rst | 433 …BPF_IND 0x40 legacy BPF packet access (indirect) `Legacy BPF Packet access instructions…
|