Home
last modified time | relevance | path

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

/Linux-v5.10/tools/bpf/
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); }
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()
/Linux-v5.10/lib/
Dtest_bpf.c477 BPF_STMT(BPF_LD | BPF_B | BPF_IND, 1),
567 BPF_STMT(BPF_LD | BPF_H | BPF_IND, MAX_K),
604 BPF_STMT(BPF_LD | BPF_B | BPF_IND, 0),
631 BPF_STMT(BPF_LD | BPF_B | BPF_IND, 0),
950 BPF_STMT(BPF_LD | BPF_B | BPF_IND, MAX_K),
976 BPF_STMT(BPF_LD | BPF_W | BPF_IND, 0),
1018 BPF_STMT(BPF_LD | BPF_H | BPF_IND, 14),
1020 BPF_STMT(BPF_LD | BPF_H | BPF_IND, 16),
1057 BPF_STMT(BPF_LD | BPF_H | BPF_IND, 14),
1059 BPF_STMT(BPF_LD | BPF_H | BPF_IND, 16),
[all …]
/Linux-v5.10/include/uapi/linux/
Dbpf_common.h25 #define BPF_IND 0x40 macro
/Linux-v5.10/tools/include/uapi/linux/
Dbpf_common.h25 #define BPF_IND 0x40 macro
/Linux-v5.10/arch/powerpc/net/
Dbpf_jit_comp.c428 case BPF_LD | BPF_W | BPF_IND: in bpf_jit_build_body()
431 case BPF_LD | BPF_H | BPF_IND: in bpf_jit_build_body()
434 case BPF_LD | BPF_B | BPF_IND: in bpf_jit_build_body()
/Linux-v5.10/arch/sparc/net/
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()
/Linux-v5.10/tools/include/linux/
Dfilter.h146 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \
/Linux-v5.10/kernel/bpf/
Ddisasm.c189 } else if (BPF_MODE(insn->code) == BPF_IND) { in print_bpf_insn()
Dcore.c1348 [BPF_LD | BPF_IND | BPF_B] = true, in bpf_opcode_in_insntable()
1349 [BPF_LD | BPF_IND | BPF_H] = true, in bpf_opcode_in_insntable()
1350 [BPF_LD | BPF_IND | BPF_W] = true, in bpf_opcode_in_insntable()
Dverifier.c1520 (BPF_MODE(code) == BPF_ABS || BPF_MODE(code) == BPF_IND)) in check_subprogs()
1930 if (mode == BPF_IND || mode == BPF_ABS) in backtrack_insn()
7754 if (mode == BPF_IND) { in check_ld_abs()
9554 if (mode == BPF_ABS || mode == BPF_IND) { in do_check()
10900 BPF_MODE(insn->code) == BPF_IND)) { in fixup_bpf_calls()
/Linux-v5.10/arch/mips/net/
Dbpf_jit.c734 case BPF_LD | BPF_W | BPF_IND: in build_body()
738 case BPF_LD | BPF_H | BPF_IND: in build_body()
742 case BPF_LD | BPF_B | BPF_IND: in build_body()
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.h416 (BPF_MODE(code) == BPF_ABS || BPF_MODE(code) == BPF_IND); in is_mbpf_classic_load()
Djit.c3467 [BPF_LD | BPF_IND | BPF_B] = data_ind_ld1,
3468 [BPF_LD | BPF_IND | BPF_H] = data_ind_ld2,
3469 [BPF_LD | BPF_IND | BPF_W] = data_ind_ld4,
3970 BPF_MODE(insn.code) != BPF_IND) in nfp_bpf_opt_ld_mask()
4005 BPF_MODE(insn.code) != BPF_IND) in nfp_bpf_opt_ld_shift()
/Linux-v5.10/net/core/
Dfilter.c472 bool indirect = BPF_MODE(fp->code) == BPF_IND; in convert_bpf_ld_abs()
648 case BPF_LD | BPF_IND | BPF_W: in bpf_convert_filter()
649 case BPF_LD | BPF_IND | BPF_H: in bpf_convert_filter()
650 case BPF_LD | BPF_IND | BPF_B: in bpf_convert_filter()
990 [BPF_LD | BPF_W | BPF_IND] = true, in chk_code_allowed()
991 [BPF_LD | BPF_H | BPF_IND] = true, in chk_code_allowed()
992 [BPF_LD | BPF_B | BPF_IND] = true, in chk_code_allowed()
7794 bool indirect = BPF_MODE(orig->code) == BPF_IND; in bpf_gen_ld_abs()
/Linux-v5.10/Documentation/networking/
Dfilter.rst1011 BPF_IND 0x40
1018 (BPF_IND | <size> | BPF_LD) which are used to access packet data.
1027 BPF_IND | BPF_LD instructions.
1037 BPF_IND | BPF_W | BPF_LD means:
/Linux-v5.10/include/linux/
Dfilter.h236 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \