Home
last modified time | relevance | path

Searched refs:BPF_MUL (Results 1 – 25 of 37) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/bpf/verifier/
H A Djit.c80 BPF_ALU64_REG(BPF_MUL, BPF_REG_0, BPF_REG_1),
85 BPF_ALU64_REG(BPF_MUL, BPF_REG_3, BPF_REG_1),
90 BPF_ALU64_IMM(BPF_MUL, BPF_REG_3, 0xefefef),
96 BPF_ALU32_REG(BPF_MUL, BPF_REG_0, BPF_REG_1),
101 BPF_ALU32_REG(BPF_MUL, BPF_REG_3, BPF_REG_1),
106 BPF_ALU32_IMM(BPF_MUL, BPF_REG_3, 0xefefef),
112 BPF_ALU32_IMM(BPF_MUL, BPF_REG_0, 0x2b),
119 BPF_ALU32_REG(BPF_MUL, BPF_REG_5, BPF_REG_1),
H A Dbasic_instr.c9 BPF_ALU64_IMM(BPF_MUL, BPF_REG_1, 3),
H A Dprecise.c247 BPF_ALU64_IMM(BPF_MUL, BPF_REG_6, 8192),
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dalign.c113 BPF_ALU64_IMM(BPF_MUL, BPF_REG_3, 1),
114 BPF_ALU64_IMM(BPF_MUL, BPF_REG_3, 2),
115 BPF_ALU64_IMM(BPF_MUL, BPF_REG_3, 4),
184 BPF_ALU64_IMM(BPF_MUL, BPF_REG_4, 1),
186 BPF_ALU64_IMM(BPF_MUL, BPF_REG_4, 2),
188 BPF_ALU64_IMM(BPF_MUL, BPF_REG_4, 4),
190 BPF_ALU64_IMM(BPF_MUL, BPF_REG_4, 8),
191 BPF_ALU64_IMM(BPF_MUL, BPF_REG_4, 2),
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf_common.h34 #define BPF_MUL 0x20 macro
/openbmc/linux/include/uapi/linux/
H A Dbpf_common.h34 #define BPF_MUL 0x20 macro
/openbmc/linux/lib/
H A Dtest_bpf.c576 case BPF_MUL: in __bpf_alu_result()
3713 BPF_ALU64_IMM(BPF_MUL, R1, 3),
3727 BPF_ALU64_REG(BPF_MUL, R1, R2),
3743 BPF_ALU64_REG(BPF_MUL, R1, R2),
3760 BPF_ALU32_REG(BPF_MUL, R1, R2),
4291 BPF_ALU64_REG(BPF_MUL, R0, R0),
4292 BPF_ALU64_REG(BPF_MUL, R0, R1),
5699 BPF_ALU32_IMM(BPF_MUL, R0, 3),
5710 BPF_ALU32_IMM(BPF_MUL, R0, 1),
5748 BPF_ALU64_IMM(BPF_MUL, R0, 3),
[all …]
/openbmc/linux/tools/bpf/
H A Dbpf_exp.y367 bpf_set_curr_instr(BPF_ALU | BPF_MUL | BPF_K, 0, 0, $3); }
369 bpf_set_curr_instr(BPF_ALU | BPF_MUL | BPF_X, 0, 0, 0); }
371 bpf_set_curr_instr(BPF_ALU | BPF_MUL | BPF_X, 0, 0, 0); }
/openbmc/linux/arch/mips/net/
H A Dbpf_jit_comp64.c225 case BPF_MUL: in emit_alu_r64()
696 case BPF_ALU | BPF_MUL | BPF_K: in build_insn()
731 case BPF_ALU | BPF_MUL | BPF_X: in build_insn()
770 case BPF_ALU64 | BPF_MUL | BPF_K: in build_insn()
799 case BPF_ALU64 | BPF_MUL | BPF_X: in build_insn()
H A Dbpf_jit_comp.c235 case BPF_MUL: in valid_alu_i()
262 case BPF_MUL: in rewrite_alu_i()
378 case BPF_MUL: in emit_alu_r()
H A Dbpf_jit_comp32.c1516 case BPF_ALU | BPF_MUL | BPF_K: in build_insn()
1546 case BPF_ALU | BPF_MUL | BPF_X: in build_insn()
1590 case BPF_ALU64 | BPF_MUL | BPF_K: in build_insn()
1625 case BPF_ALU64 | BPF_MUL | BPF_X: in build_insn()
/openbmc/linux/arch/powerpc/net/
H A Dbpf_jit_comp64.c448 case BPF_ALU | BPF_MUL | BPF_X: /* (u32) dst *= (u32) src */ in bpf_jit_build_body()
449 case BPF_ALU64 | BPF_MUL | BPF_X: /* dst *= src */ in bpf_jit_build_body()
455 case BPF_ALU | BPF_MUL | BPF_K: /* (u32) dst *= (u32) imm */ in bpf_jit_build_body()
456 case BPF_ALU64 | BPF_MUL | BPF_K: /* dst *= imm */ in bpf_jit_build_body()
H A Dbpf_jit_comp32.c399 case BPF_ALU64 | BPF_MUL | BPF_X: /* dst *= src */ in bpf_jit_build_body()
408 case BPF_ALU | BPF_MUL | BPF_X: /* (u32) dst *= (u32) src */ in bpf_jit_build_body()
411 case BPF_ALU | BPF_MUL | BPF_K: /* (u32) dst *= (u32) imm */ in bpf_jit_build_body()
425 case BPF_ALU64 | BPF_MUL | BPF_K: /* dst *= imm */ in bpf_jit_build_body()
/openbmc/linux/arch/riscv/net/
H A Dbpf_jit_comp32.c450 case BPF_MUL: in emit_alu_r64()
538 case BPF_MUL: in emit_alu_r32()
982 case BPF_ALU64 | BPF_MUL | BPF_X: in bpf_jit_emit_insn()
983 case BPF_ALU64 | BPF_MUL | BPF_K: in bpf_jit_emit_insn()
1029 case BPF_ALU | BPF_MUL | BPF_X: in bpf_jit_emit_insn()
1030 case BPF_ALU | BPF_MUL | BPF_K: in bpf_jit_emit_insn()
H A Dbpf_jit_comp64.c1143 case BPF_ALU | BPF_MUL | BPF_X: in bpf_jit_emit_insn()
1144 case BPF_ALU64 | BPF_MUL | BPF_X: in bpf_jit_emit_insn()
1324 case BPF_ALU | BPF_MUL | BPF_K: in bpf_jit_emit_insn()
1325 case BPF_ALU64 | BPF_MUL | BPF_K: in bpf_jit_emit_insn()
/openbmc/linux/arch/parisc/net/
H A Dbpf_jit_comp64.c652 case BPF_ALU | BPF_MUL | BPF_K: in bpf_jit_emit_insn()
653 case BPF_ALU64 | BPF_MUL | BPF_K: in bpf_jit_emit_insn()
657 case BPF_ALU | BPF_MUL | BPF_X: in bpf_jit_emit_insn()
658 case BPF_ALU64 | BPF_MUL | BPF_X: in bpf_jit_emit_insn()
H A Dbpf_jit_comp32.c603 case BPF_MUL: in emit_alu_r64()
665 case BPF_MUL: in emit_alu_r32()
1150 case BPF_ALU64 | BPF_MUL | BPF_X: in bpf_jit_emit_insn()
1151 case BPF_ALU64 | BPF_MUL | BPF_K: in bpf_jit_emit_insn()
1198 case BPF_ALU | BPF_MUL | BPF_X: in bpf_jit_emit_insn()
1199 case BPF_ALU | BPF_MUL | BPF_K: in bpf_jit_emit_insn()
/openbmc/linux/arch/loongarch/net/
H A Dbpf_jit.c519 case BPF_ALU | BPF_MUL | BPF_X: in build_insn()
520 case BPF_ALU64 | BPF_MUL | BPF_X: in build_insn()
526 case BPF_ALU | BPF_MUL | BPF_K: in build_insn()
527 case BPF_ALU64 | BPF_MUL | BPF_K: in build_insn()
/openbmc/linux/arch/arm/net/
H A Dbpf_jit_32.c697 case BPF_MUL: in emit_alu_r()
1414 case BPF_ALU | BPF_MUL | BPF_K: in build_insn()
1415 case BPF_ALU | BPF_MUL | BPF_X: in build_insn()
1528 case BPF_ALU64 | BPF_MUL | BPF_X: in build_insn()
1529 case BPF_ALU64 | BPF_MUL | BPF_K: in build_insn()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.h438 return is_mbpf_alu(meta) && mbpf_op(meta) == BPF_MUL; in is_mbpf_mul()
/openbmc/linux/arch/sparc/net/
H A Dbpf_jit_comp_32.c442 case BPF_ALU | BPF_MUL | BPF_X: /* A *= X; */ in bpf_jit_compile()
445 case BPF_ALU | BPF_MUL | BPF_K: /* A *= K */ in bpf_jit_compile()
H A Dbpf_jit_comp_64.c938 case BPF_ALU | BPF_MUL | BPF_X: in build_insn()
941 case BPF_ALU64 | BPF_MUL | BPF_X: in build_insn()
1093 case BPF_ALU | BPF_MUL | BPF_K: in build_insn()
1096 case BPF_ALU64 | BPF_MUL | BPF_K: in build_insn()
/openbmc/linux/arch/s390/net/
H A Dbpf_jit_comp.c890 case BPF_ALU | BPF_MUL | BPF_X: /* dst = (u32) dst * (u32) src */ in bpf_jit_insn()
895 case BPF_ALU64 | BPF_MUL | BPF_X: /* dst = dst * src */ in bpf_jit_insn()
899 case BPF_ALU | BPF_MUL | BPF_K: /* dst = (u32) dst * (u32) imm */ in bpf_jit_insn()
906 case BPF_ALU64 | BPF_MUL | BPF_K: /* dst = dst * imm */ in bpf_jit_insn()
/openbmc/linux/tools/testing/selftests/bpf/
H A Ddisasm.c76 [BPF_MUL >> 4] = "*=",
/openbmc/linux/kernel/bpf/
H A Ddisasm.c76 [BPF_MUL >> 4] = "*=",

12