Home
last modified time | relevance | path

Searched refs:BPF_IMM (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.3-rc2/tools/testing/selftests/bpf/verifier/
A Dld_imm64.c34 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 Dbpf_loop_inline.c46 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 Dbpf_exp.y148 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 Dbpf_dbg.c279 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 Dtest_bpf.c3067 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 Dbpf_common.h23 #define BPF_IMM 0x00 macro
/linux-6.3-rc2/tools/include/uapi/linux/
A Dbpf_common.h23 #define BPF_IMM 0x00 macro
/linux-6.3-rc2/tools/include/linux/
A Dfilter.h285 .code = BPF_LD | BPF_DW | BPF_IMM, \
299 .code = BPF_LD | BPF_DW | BPF_IMM, \
/linux-6.3-rc2/tools/bpf/bpftool/
A Dxlated_dumper.c239 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 Dbpf_insn.h86 .code = BPF_LD | BPF_DW | BPF_IMM, \
/linux-6.3-rc2/Documentation/bpf/
A Dinstruction-set.rst271 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 Dclassic_vs_extended.rst370 BPF_IMM 0x00 /* used for 32-bit mov in classic BPF and 64-bit in eBPF */
/linux-6.3-rc2/kernel/
A Dseccomp.c291 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 Ddisasm.c240 } else if (BPF_MODE(insn->code) == BPF_IMM && in print_bpf_insn()
A Dcore.c306 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 Dbpf_jit_comp_32.c570 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 Dlibbpf_internal.h529 return insn->code == (BPF_LD | BPF_IMM | BPF_DW); in is_ldimm64_insn()
A Drelo_core.c18 return insn->code == (BPF_LD | BPF_IMM | BPF_DW); in is_ldimm64_insn()
/linux-6.3-rc2/arch/mips/net/
A Dbpf_jit_comp64.c817 case BPF_LD | BPF_IMM | BPF_DW: in build_insn()
/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dtest_sysctl.c1422 if (prog[insn_num].code != (BPF_LD | BPF_DW | BPF_IMM)) { in fixup_sysctl_value()
A Dtest_verifier.c445 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 Dbpf_jit_comp64.c936 case BPF_LD | BPF_IMM | BPF_DW: /* dst = (u64) imm */ in bpf_jit_build_body()
A Dbpf_jit_comp32.c1011 case BPF_LD | BPF_IMM | BPF_DW: /* dst = (u64) imm */ in bpf_jit_build_body()
/linux-6.3-rc2/include/linux/
A Dfilter.h193 .code = BPF_LD | BPF_DW | BPF_IMM, \
/linux-6.3-rc2/arch/loongarch/net/
A Dbpf_jit.c869 case BPF_LD | BPF_IMM | BPF_DW: in build_insn()

Completed in 61 milliseconds

12