Home
last modified time | relevance | path

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

12

/linux/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 …]
/linux/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/lib/
A Dtest_bpf.c3066 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 Dbpf_common.h23 #define BPF_IMM 0x00 macro
/linux/include/uapi/linux/
A Dbpf_common.h23 #define BPF_IMM 0x00 macro
/linux/tools/include/linux/
A Dfilter.h285 .code = BPF_LD | BPF_DW | BPF_IMM, \
299 .code = BPF_LD | BPF_DW | BPF_IMM, \
/linux/tools/bpf/bpftool/
A Dxlated_dumper.c236 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 Dbpf_insn.h86 .code = BPF_LD | BPF_DW | BPF_IMM, \
/linux/kernel/
A Dseccomp.c286 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 Dbpf_jit_comp_32.c570 case BPF_LD | BPF_IMM: in bpf_jit_compile()
573 case BPF_LDX | BPF_IMM: in bpf_jit_compile()
A Dbpf_jit_comp_64.c1243 case BPF_LD | BPF_IMM | BPF_DW: in build_insn()
/linux/kernel/bpf/
A Ddisasm.c240 } else if (BPF_MODE(insn->code) == BPF_IMM && in print_bpf_insn()
A Dcore.c293 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 Dlibbpf_internal.h493 return insn->code == (BPF_LD | BPF_IMM | BPF_DW); in is_ldimm64_insn()
/linux/arch/mips/net/
A Dbpf_jit_comp64.c809 case BPF_LD | BPF_IMM | BPF_DW: in build_insn()
/linux/arch/powerpc/net/
A Dbpf_jit_comp64.c806 case BPF_LD | BPF_IMM | BPF_DW: /* dst = (u64) imm */ in bpf_jit_build_body()
A Dbpf_jit_comp32.c838 case BPF_LD | BPF_IMM | BPF_DW: /* dst = (u64) imm */ in bpf_jit_build_body()
/linux/tools/testing/selftests/bpf/
A Dtest_sysctl.c1422 if (prog[insn_num].code != (BPF_LD | BPF_DW | BPF_IMM)) { in fixup_sysctl_value()
/linux/arch/arm64/net/
A Dbpf_jit_comp.c788 case BPF_LD | BPF_IMM | BPF_DW: in build_insn()
/linux/include/linux/
A Dfilter.h192 .code = BPF_LD | BPF_DW | BPF_IMM, \
/linux/Documentation/networking/
A Dfilter.rst1018 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 Dbpf_jit_comp.c739 case BPF_LD | BPF_IMM | BPF_DW: /* dst = (u64) imm */ in bpf_jit_insn()
/linux/arch/riscv/net/
A Dbpf_jit_comp64.c965 case BPF_LD | BPF_IMM | BPF_DW: in bpf_jit_emit_insn()
/linux/arch/x86/net/
A Dbpf_jit_comp.c1001 case BPF_LD | BPF_IMM | BPF_DW: in do_jit()

Completed in 68 milliseconds

12