/linux-6.3-rc2/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 …]
|
A D | bpf_loop_inline.c | 46 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, BPF_REG_2, BPF_PSEUDO_FUNC, 0, 6), 78 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, BPF_REG_2, BPF_PSEUDO_FUNC, 0, 7), 107 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, BPF_REG_2, BPF_PSEUDO_FUNC, 0, 10), 112 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, BPF_REG_2, BPF_PSEUDO_FUNC, 0, 8), 148 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, BPF_REG_2, BPF_PSEUDO_FUNC, 0, 9), 151 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, BPF_REG_2, BPF_PSEUDO_FUNC, 0, 8), 185 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, BPF_REG_2, BPF_PSEUDO_FUNC, 0, 22), 192 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, BPF_REG_2, BPF_PSEUDO_FUNC, 0, 16), 204 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, BPF_REG_2, BPF_PSEUDO_FUNC, 0, 6),
|
/linux-6.3-rc2/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-6.3-rc2/lib/ |
A D | test_bpf.c | 3067 BPF_STMT(BPF_LD | BPF_IMM, 1), 3069 BPF_STMT(BPF_LD | BPF_IMM, 2), 3098 BPF_STMT(BPF_LD | BPF_IMM, 1), 3113 BPF_STMT(BPF_LD | BPF_IMM, 8), 3396 BPF_STMT(BPF_LD | BPF_IMM, 2), 3400 BPF_STMT(BPF_LD | BPF_IMM, 2), 3403 BPF_STMT(BPF_LD | BPF_IMM, 2), 3406 BPF_STMT(BPF_LD | BPF_IMM, 2), 3409 BPF_STMT(BPF_LD | BPF_IMM, 2), 3412 BPF_STMT(BPF_LD | BPF_IMM, 2), [all …]
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | bpf_common.h | 23 #define BPF_IMM 0x00 macro
|
/linux-6.3-rc2/tools/include/uapi/linux/ |
A D | bpf_common.h | 23 #define BPF_IMM 0x00 macro
|
/linux-6.3-rc2/tools/include/linux/ |
A D | filter.h | 285 .code = BPF_LD | BPF_DW | BPF_IMM, \ 299 .code = BPF_LD | BPF_DW | BPF_IMM, \
|
/linux-6.3-rc2/tools/bpf/bpftool/ |
A D | xlated_dumper.c | 239 double_insn = insn[i].code == (BPF_LD | BPF_IMM | BPF_DW); in dump_xlated_json() 346 double_insn = insn[i].code == (BPF_LD | BPF_IMM | BPF_DW); in dump_xlated_plain()
|
/linux-6.3-rc2/samples/bpf/ |
A D | bpf_insn.h | 86 .code = BPF_LD | BPF_DW | BPF_IMM, \
|
/linux-6.3-rc2/Documentation/bpf/ |
A D | instruction-set.rst | 271 BPF_IMM 0x00 64-bit immediate instructions `64-bit immediate instructions`_ 373 Instructions with the ``BPF_IMM`` 'mode' modifier use the wide instruction 378 ``BPF_LD | BPF_DW | BPF_IMM`` means::
|
A D | classic_vs_extended.rst | 370 BPF_IMM 0x00 /* used for 32-bit mov in classic BPF and 64-bit in eBPF */
|
/linux-6.3-rc2/kernel/ |
A D | seccomp.c | 291 ftest->code = BPF_LD | BPF_IMM; in seccomp_check_filter() 295 ftest->code = BPF_LDX | BPF_IMM; in seccomp_check_filter() 320 case BPF_LD | BPF_IMM: in seccomp_check_filter() 321 case BPF_LDX | BPF_IMM: in seccomp_check_filter()
|
/linux-6.3-rc2/kernel/bpf/ |
A D | disasm.c | 240 } else if (BPF_MODE(insn->code) == BPF_IMM && in print_bpf_insn()
|
A D | core.c | 306 dst[i].code == (BPF_LD | BPF_IMM | BPF_DW) && in bpf_prog_calc_tag() 1326 case BPF_LD | BPF_IMM | BPF_DW: in bpf_jit_blind_insn() 1428 if (insn[0].code == (BPF_LD | BPF_IMM | BPF_DW) && in bpf_jit_blind_constants()
|
/linux-6.3-rc2/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()
|
/linux-6.3-rc2/tools/lib/bpf/ |
A D | libbpf_internal.h | 529 return insn->code == (BPF_LD | BPF_IMM | BPF_DW); in is_ldimm64_insn()
|
A D | relo_core.c | 18 return insn->code == (BPF_LD | BPF_IMM | BPF_DW); in is_ldimm64_insn()
|
/linux-6.3-rc2/arch/mips/net/ |
A D | bpf_jit_comp64.c | 817 case BPF_LD | BPF_IMM | BPF_DW: in build_insn()
|
/linux-6.3-rc2/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()
|
A D | test_verifier.c | 445 insn[i++] = BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, in bpf_fill_big_prog_with_loop_1()
|
/linux-6.3-rc2/arch/powerpc/net/ |
A D | bpf_jit_comp64.c | 936 case BPF_LD | BPF_IMM | BPF_DW: /* dst = (u64) imm */ in bpf_jit_build_body()
|
A D | bpf_jit_comp32.c | 1011 case BPF_LD | BPF_IMM | BPF_DW: /* dst = (u64) imm */ in bpf_jit_build_body()
|
/linux-6.3-rc2/include/linux/ |
A D | filter.h | 193 .code = BPF_LD | BPF_DW | BPF_IMM, \
|
/linux-6.3-rc2/arch/loongarch/net/ |
A D | bpf_jit.c | 869 case BPF_LD | BPF_IMM | BPF_DW: in build_insn()
|