/linux/tools/testing/selftests/bpf/verifier/ |
A D | ld_imm64.c | 34 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 0), 47 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 0), 56 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 0), 65 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 1), 75 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 1, 1), 85 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 1), 95 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 1), 105 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 1), 116 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, BPF_REG_1, 0, 1), 127 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, BPF_REG_1, 0, 1), [all …]
|
/linux/tools/bpf/ |
A D | bpf_exp.y | 148 bpf_set_curr_instr(BPF_LD | BPF_IMM, 0, 0, $3); } 150 bpf_set_curr_instr(BPF_LD | BPF_IMM, 0, 0, $2); } 155 bpf_set_curr_instr(BPF_LD | BPF_IMM, 0, 0, $3); } 173 bpf_set_curr_instr(BPF_LDX | BPF_IMM, 0, 0, $3); } 175 bpf_set_curr_instr(BPF_LDX | BPF_IMM, 0, 0, $2); } 180 bpf_set_curr_instr(BPF_LDX | BPF_IMM, 0, 0, $3); }
|
A D | bpf_dbg.c | 279 case BPF_LD | BPF_IMM: in bpf_disasm() 283 case BPF_LDX | BPF_IMM: in bpf_disasm() 718 case BPF_LD | BPF_IMM: in bpf_single_step() 721 case BPF_LDX | BPF_IMM: in bpf_single_step()
|
/linux/lib/ |
A D | test_bpf.c | 3066 BPF_STMT(BPF_LD | BPF_IMM, 1), 3068 BPF_STMT(BPF_LD | BPF_IMM, 2), 3097 BPF_STMT(BPF_LD | BPF_IMM, 1), 3112 BPF_STMT(BPF_LD | BPF_IMM, 8), 3395 BPF_STMT(BPF_LD | BPF_IMM, 2), 3399 BPF_STMT(BPF_LD | BPF_IMM, 2), 3402 BPF_STMT(BPF_LD | BPF_IMM, 2), 3405 BPF_STMT(BPF_LD | BPF_IMM, 2), 3408 BPF_STMT(BPF_LD | BPF_IMM, 2), 3411 BPF_STMT(BPF_LD | BPF_IMM, 2), [all …]
|
/linux/tools/include/uapi/linux/ |
A D | bpf_common.h | 23 #define BPF_IMM 0x00 macro
|
/linux/include/uapi/linux/ |
A D | bpf_common.h | 23 #define BPF_IMM 0x00 macro
|
/linux/tools/include/linux/ |
A D | filter.h | 285 .code = BPF_LD | BPF_DW | BPF_IMM, \ 299 .code = BPF_LD | BPF_DW | BPF_IMM, \
|
/linux/tools/bpf/bpftool/ |
A D | xlated_dumper.c | 236 double_insn = insn[i].code == (BPF_LD | BPF_IMM | BPF_DW); in dump_xlated_json() 343 double_insn = insn[i].code == (BPF_LD | BPF_IMM | BPF_DW); in dump_xlated_plain()
|
/linux/samples/bpf/ |
A D | bpf_insn.h | 86 .code = BPF_LD | BPF_DW | BPF_IMM, \
|
/linux/kernel/ |
A D | seccomp.c | 286 ftest->code = BPF_LD | BPF_IMM; in seccomp_check_filter() 290 ftest->code = BPF_LDX | BPF_IMM; in seccomp_check_filter() 315 case BPF_LD | BPF_IMM: in seccomp_check_filter() 316 case BPF_LDX | BPF_IMM: in seccomp_check_filter()
|
/linux/arch/sparc/net/ |
A D | bpf_jit_comp_32.c | 570 case BPF_LD | BPF_IMM: in bpf_jit_compile() 573 case BPF_LDX | BPF_IMM: in bpf_jit_compile()
|
A D | bpf_jit_comp_64.c | 1243 case BPF_LD | BPF_IMM | BPF_DW: in build_insn()
|
/linux/kernel/bpf/ |
A D | disasm.c | 240 } else if (BPF_MODE(insn->code) == BPF_IMM && in print_bpf_insn()
|
A D | core.c | 293 dst[i].code == (BPF_LD | BPF_IMM | BPF_DW) && in bpf_prog_calc_tag() 1072 case BPF_LD | BPF_IMM | BPF_DW: in bpf_jit_blind_insn() 1164 if (insn[0].code == (BPF_LD | BPF_IMM | BPF_DW) && in bpf_jit_blind_constants()
|
/linux/tools/lib/bpf/ |
A D | libbpf_internal.h | 493 return insn->code == (BPF_LD | BPF_IMM | BPF_DW); in is_ldimm64_insn()
|
/linux/arch/mips/net/ |
A D | bpf_jit_comp64.c | 809 case BPF_LD | BPF_IMM | BPF_DW: in build_insn()
|
/linux/arch/powerpc/net/ |
A D | bpf_jit_comp64.c | 806 case BPF_LD | BPF_IMM | BPF_DW: /* dst = (u64) imm */ in bpf_jit_build_body()
|
A D | bpf_jit_comp32.c | 838 case BPF_LD | BPF_IMM | BPF_DW: /* dst = (u64) imm */ in bpf_jit_build_body()
|
/linux/tools/testing/selftests/bpf/ |
A D | test_sysctl.c | 1422 if (prog[insn_num].code != (BPF_LD | BPF_DW | BPF_IMM)) { in fixup_sysctl_value()
|
/linux/arch/arm64/net/ |
A D | bpf_jit_comp.c | 788 case BPF_LD | BPF_IMM | BPF_DW: in build_insn()
|
/linux/include/linux/ |
A D | filter.h | 192 .code = BPF_LD | BPF_DW | BPF_IMM, \
|
/linux/Documentation/networking/ |
A D | filter.rst | 1018 BPF_IMM 0x00 /* used for 32-bit mov in classic BPF and 64-bit in eBPF */ 1103 eBPF has one 16-byte instruction: ``BPF_LD | BPF_DW | BPF_IMM`` which consists 1106 Classic BPF has similar instruction: ``BPF_LD | BPF_W | BPF_IMM`` which loads
|
/linux/arch/s390/net/ |
A D | bpf_jit_comp.c | 739 case BPF_LD | BPF_IMM | BPF_DW: /* dst = (u64) imm */ in bpf_jit_insn()
|
/linux/arch/riscv/net/ |
A D | bpf_jit_comp64.c | 965 case BPF_LD | BPF_IMM | BPF_DW: in bpf_jit_emit_insn()
|
/linux/arch/x86/net/ |
A D | bpf_jit_comp.c | 1001 case BPF_LD | BPF_IMM | BPF_DW: in do_jit()
|