Home
last modified time | relevance | path

Searched refs:BPF_IND (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/Documentation/bpf/
H A Dlinux-notes.rst55 ``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 Dclassic_vs_extended.rst372 BPF_IND 0x40
/openbmc/linux/tools/bpf/
H A Dbpf_exp.y124 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 Dbpf_dbg.c267 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 Dbpf_common.h25 #define BPF_IND 0x40 macro
/openbmc/linux/include/uapi/linux/
H A Dbpf_common.h25 #define BPF_IND 0x40 macro
/openbmc/linux/lib/
H A Dtest_bpf.c3076 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 Dbpf_jit_comp_32.c611 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 Dfilter.h146 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.h416 (BPF_MODE(code) == BPF_ABS || BPF_MODE(code) == BPF_IND); in is_mbpf_classic_load()
H A Djit.c3473 [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 Ddisasm.c278 } else if (BPF_MODE(insn->code) == BPF_IND) { in print_bpf_insn()
/openbmc/linux/kernel/bpf/
H A Ddisasm.c278 } else if (BPF_MODE(insn->code) == BPF_IND) { in print_bpf_insn()
H A Dcore.c1656 [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 Dverifier.c3078 (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 Dfilter.c478 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 Dfilter.h250 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \
/openbmc/linux/Documentation/bpf/standardization/
H A Dinstruction-set.rst433BPF_IND 0x40 legacy BPF packet access (indirect) `Legacy BPF Packet access instructions…