Home
last modified time | relevance | path

Searched refs:BPF_END (Results 1 – 25 of 26) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/bpf/
H A Ddisasm.c87 [BPF_END >> 4] = "endian",
177 if (BPF_OP(insn->code) == BPF_END) { in print_bpf_insn()
/openbmc/linux/kernel/bpf/
H A Ddisasm.c87 [BPF_END >> 4] = "endian",
177 if (BPF_OP(insn->code) == BPF_END) { in print_bpf_insn()
H A Dverifier.c3245 if (class == BPF_ALU64 && op == BPF_END && (insn->imm == 16 || insn->imm == 32)) in is_reg64()
3249 (class == BPF_ALU && op == BPF_END && insn->imm == 64)) in is_reg64()
3680 if (opcode == BPF_END || opcode == BPF_NEG) { in backtrack_insn()
13523 if (opcode == BPF_END || opcode == BPF_NEG) { in check_alu_op()
13695 } else if (opcode > BPF_END) { in check_alu_op()
/openbmc/linux/tools/testing/selftests/bpf/verifier/
H A Dbasic_instr.c183 .code = BPF_ALU64 | BPF_END | BPF_TO_BE,
/openbmc/linux/Documentation/bpf/standardization/
H A Dinstruction-set.rst243 BPF_END 0xd0 0 byte swap operations (see `Byte swap instructions`_ below)
299 and a 4-bit 'code' field of ``BPF_END``.
322 ``BPF_ALU | BPF_TO_LE | BPF_END`` with imm = 16/32/64 means::
328 ``BPF_ALU | BPF_TO_BE | BPF_END`` with imm = 16/32/64 means::
334 ``BPF_ALU64 | BPF_TO_LE | BPF_END`` with imm = 16/32/64 means::
/openbmc/linux/tools/include/linux/
H A Dfilter.h72 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \
/openbmc/linux/arch/powerpc/net/
H A Dbpf_jit_comp32.c752 case BPF_ALU | BPF_END | BPF_FROM_LE: in bpf_jit_build_body()
788 case BPF_ALU | BPF_END | BPF_FROM_BE: in bpf_jit_build_body()
1305 !insn_is_zext(&insn[i + 1]) && !(BPF_OP(code) == BPF_END && imm == 64)) in bpf_jit_build_body()
H A Dbpf_jit_comp64.c657 case BPF_ALU | BPF_END | BPF_FROM_LE: in bpf_jit_build_body()
658 case BPF_ALU | BPF_END | BPF_FROM_BE: in bpf_jit_build_body()
/openbmc/linux/arch/mips/net/
H A Dbpf_jit_comp64.c806 case BPF_ALU | BPF_END | BPF_FROM_LE: in build_insn()
807 case BPF_ALU | BPF_END | BPF_FROM_BE: in build_insn()
H A Dbpf_jit_comp32.c1636 case BPF_ALU | BPF_END | BPF_FROM_LE: in build_insn()
1637 case BPF_ALU | BPF_END | BPF_FROM_BE: in build_insn()
/openbmc/linux/arch/parisc/net/
H A Dbpf_jit_comp64.c728 case BPF_ALU | BPF_END | BPF_FROM_BE: in bpf_jit_emit_insn()
744 case BPF_ALU | BPF_END | BPF_FROM_LE: in bpf_jit_emit_insn()
H A Dbpf_jit_comp32.c1243 case BPF_ALU | BPF_END | BPF_FROM_BE: in bpf_jit_emit_insn()
1269 case BPF_ALU | BPF_END | BPF_FROM_LE: in bpf_jit_emit_insn()
/openbmc/linux/arch/loongarch/net/
H A Dbpf_jit.c697 case BPF_ALU | BPF_END | BPF_FROM_LE: in build_insn()
713 case BPF_ALU | BPF_END | BPF_FROM_BE: in build_insn()
/openbmc/linux/arch/riscv/net/
H A Dbpf_jit_comp64.c1195 case BPF_ALU | BPF_END | BPF_FROM_LE: in bpf_jit_emit_insn()
1211 case BPF_ALU | BPF_END | BPF_FROM_BE: in bpf_jit_emit_insn()
1212 case BPF_ALU64 | BPF_END | BPF_FROM_LE: in bpf_jit_emit_insn()
H A Dbpf_jit_comp32.c1072 case BPF_ALU | BPF_END | BPF_FROM_LE: in bpf_jit_emit_insn()
1097 case BPF_ALU | BPF_END | BPF_FROM_BE: in bpf_jit_emit_insn()
/openbmc/linux/arch/arm64/net/
H A Dbpf_jit_comp.c862 case BPF_ALU | BPF_END | BPF_FROM_LE: in build_insn()
863 case BPF_ALU | BPF_END | BPF_FROM_BE: in build_insn()
864 case BPF_ALU64 | BPF_END | BPF_FROM_LE: in build_insn()
/openbmc/linux/arch/x86/net/
H A Dbpf_jit_comp.c1389 case BPF_ALU | BPF_END | BPF_FROM_BE: in do_jit()
1390 case BPF_ALU64 | BPF_END | BPF_FROM_LE: in do_jit()
1422 case BPF_ALU | BPF_END | BPF_FROM_LE: in do_jit()
H A Dbpf_jit_comp32.c1885 case BPF_ALU | BPF_END | BPF_FROM_LE: in do_jit()
1890 case BPF_ALU | BPF_END | BPF_FROM_BE: in do_jit()
/openbmc/linux/arch/sparc/net/
H A Dbpf_jit_comp_64.c1001 case BPF_ALU | BPF_END | BPF_FROM_BE: in build_insn()
1021 case BPF_ALU | BPF_END | BPF_FROM_LE: { in build_insn()
/openbmc/linux/arch/s390/net/
H A Dbpf_jit_comp.c1201 case BPF_ALU | BPF_END | BPF_FROM_BE: in bpf_jit_insn()
1219 case BPF_ALU | BPF_END | BPF_FROM_LE: in bpf_jit_insn()
/openbmc/linux/arch/arm/net/
H A Dbpf_jit_32.c1548 case BPF_ALU | BPF_END | BPF_FROM_LE: in build_insn()
1549 case BPF_ALU | BPF_END | BPF_FROM_BE: in build_insn()
/openbmc/linux/Documentation/bpf/
H A Dclassic_vs_extended.rst304 BPF_END 0xd0 /* eBPF only: endianness conversion */
/openbmc/linux/include/linux/
H A Dfilter.h140 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h31 #define BPF_END 0xd0 /* flags for endianness conversion: */ macro
/openbmc/linux/include/uapi/linux/
H A Dbpf.h31 #define BPF_END 0xd0 /* flags for endianness conversion: */ macro

12