/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | disasm.c | 87 [BPF_END >> 4] = "endian", 177 if (BPF_OP(insn->code) == BPF_END) { in print_bpf_insn()
|
/openbmc/linux/kernel/bpf/ |
H A D | disasm.c | 87 [BPF_END >> 4] = "endian", 177 if (BPF_OP(insn->code) == BPF_END) { in print_bpf_insn()
|
H A D | verifier.c | 3245 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 D | basic_instr.c | 183 .code = BPF_ALU64 | BPF_END | BPF_TO_BE,
|
/openbmc/linux/Documentation/bpf/standardization/ |
H A D | instruction-set.rst | 243 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 D | filter.h | 72 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \
|
/openbmc/linux/arch/powerpc/net/ |
H A D | bpf_jit_comp32.c | 752 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 D | bpf_jit_comp64.c | 657 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 D | bpf_jit_comp64.c | 806 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 D | bpf_jit_comp32.c | 1636 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 D | bpf_jit_comp64.c | 728 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 D | bpf_jit_comp32.c | 1243 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 D | bpf_jit.c | 697 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 D | bpf_jit_comp64.c | 1195 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 D | bpf_jit_comp32.c | 1072 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 D | bpf_jit_comp.c | 862 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 D | bpf_jit_comp.c | 1389 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 D | bpf_jit_comp32.c | 1885 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 D | bpf_jit_comp_64.c | 1001 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 D | bpf_jit_comp.c | 1201 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 D | bpf_jit_32.c | 1548 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 D | classic_vs_extended.rst | 304 BPF_END 0xd0 /* eBPF only: endianness conversion */
|
/openbmc/linux/include/linux/ |
H A D | filter.h | 140 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 31 #define BPF_END 0xd0 /* flags for endianness conversion: */ macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 31 #define BPF_END 0xd0 /* flags for endianness conversion: */ macro
|