/Linux-v5.10/tools/bpf/ |
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); }
|
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()
|
/Linux-v5.10/lib/ |
D | test_bpf.c | 477 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/ |
D | bpf_common.h | 25 #define BPF_IND 0x40 macro
|
/Linux-v5.10/tools/include/uapi/linux/ |
D | bpf_common.h | 25 #define BPF_IND 0x40 macro
|
/Linux-v5.10/arch/powerpc/net/ |
D | bpf_jit_comp.c | 428 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/ |
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()
|
/Linux-v5.10/tools/include/linux/ |
D | filter.h | 146 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \
|
/Linux-v5.10/kernel/bpf/ |
D | disasm.c | 189 } else if (BPF_MODE(insn->code) == BPF_IND) { in print_bpf_insn()
|
D | core.c | 1348 [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()
|
D | verifier.c | 1520 (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/ |
D | bpf_jit.c | 734 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/ |
D | main.h | 416 (BPF_MODE(code) == BPF_ABS || BPF_MODE(code) == BPF_IND); in is_mbpf_classic_load()
|
D | jit.c | 3467 [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/ |
D | filter.c | 472 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/ |
D | filter.rst | 1011 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/ |
D | filter.h | 236 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \
|