Home
last modified time | relevance | path

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

12

/Linux-v6.6/tools/testing/selftests/bpf/verifier/
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),
Dbasic_instr.c9 BPF_ALU64_IMM(BPF_MUL, BPF_REG_1, 3),
Dprecise.c247 BPF_ALU64_IMM(BPF_MUL, BPF_REG_6, 8192),
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
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),
/Linux-v6.6/tools/include/uapi/linux/
Dbpf_common.h34 #define BPF_MUL 0x20 macro
/Linux-v6.6/include/uapi/linux/
Dbpf_common.h34 #define BPF_MUL 0x20 macro
/Linux-v6.6/lib/
Dtest_bpf.c500 BPF_SUB, BPF_MUL, BPF_DIV, BPF_MOD, in __bpf_fill_max_jmp()
576 case BPF_MUL: in __bpf_alu_result()
1063 return __bpf_fill_alu64_imm(self, BPF_MUL); in bpf_fill_alu64_mul_imm()
1109 return __bpf_fill_alu32_imm(self, BPF_MUL); in bpf_fill_alu32_mul_imm()
1155 return __bpf_fill_alu64_reg(self, BPF_MUL); in bpf_fill_alu64_mul_reg()
1201 return __bpf_fill_alu32_reg(self, BPF_MUL); in bpf_fill_alu32_mul_reg()
1323 return __bpf_fill_alu_imm_regs(self, BPF_MUL, false); in bpf_fill_alu64_mul_imm_regs()
1384 return __bpf_fill_alu_imm_regs(self, BPF_MUL, true); in bpf_fill_alu32_mul_imm_regs()
1515 return __bpf_fill_alu_reg_pairs(self, BPF_MUL, false); in bpf_fill_alu64_mul_reg_pairs()
1576 return __bpf_fill_alu_reg_pairs(self, BPF_MUL, true); in bpf_fill_alu32_mul_reg_pairs()
[all …]
/Linux-v6.6/tools/bpf/
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); }
/Linux-v6.6/arch/mips/net/
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()
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()
/Linux-v6.6/arch/powerpc/net/
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()
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()
/Linux-v6.6/arch/riscv/net/
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()
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()
/Linux-v6.6/arch/loongarch/net/
Dbpf_jit.c520 case BPF_ALU | BPF_MUL | BPF_X: in build_insn()
521 case BPF_ALU64 | BPF_MUL | BPF_X: in build_insn()
527 case BPF_ALU | BPF_MUL | BPF_K: in build_insn()
528 case BPF_ALU64 | BPF_MUL | BPF_K: in build_insn()
/Linux-v6.6/arch/parisc/net/
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()
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()
/Linux-v6.6/arch/arm/net/
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()
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.h438 return is_mbpf_alu(meta) && mbpf_op(meta) == BPF_MUL; in is_mbpf_mul()
/Linux-v6.6/arch/sparc/net/
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()
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()
/Linux-v6.6/arch/s390/net/
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()
/Linux-v6.6/tools/testing/selftests/bpf/
Ddisasm.c76 [BPF_MUL >> 4] = "*=",
/Linux-v6.6/kernel/bpf/
Ddisasm.c76 [BPF_MUL >> 4] = "*=",
/Linux-v6.6/arch/arm64/net/
Dbpf_jit_comp.c825 case BPF_ALU | BPF_MUL | BPF_X: in build_insn()
826 case BPF_ALU64 | BPF_MUL | BPF_X: in build_insn()
960 case BPF_ALU | BPF_MUL | BPF_K: in build_insn()
961 case BPF_ALU64 | BPF_MUL | BPF_K: in build_insn()

12