/linux-6.1.9/tools/testing/selftests/bpf/verifier/ |
D | jit.c | 56 BPF_ALU64_REG(BPF_MUL, BPF_REG_0, BPF_REG_1), 61 BPF_ALU64_REG(BPF_MUL, BPF_REG_3, BPF_REG_1), 66 BPF_ALU64_IMM(BPF_MUL, BPF_REG_3, 0xefefef), 72 BPF_ALU32_REG(BPF_MUL, BPF_REG_0, BPF_REG_1), 77 BPF_ALU32_REG(BPF_MUL, BPF_REG_3, BPF_REG_1), 82 BPF_ALU32_IMM(BPF_MUL, BPF_REG_3, 0xefefef), 88 BPF_ALU32_IMM(BPF_MUL, BPF_REG_0, 0x2b), 95 BPF_ALU32_REG(BPF_MUL, BPF_REG_5, BPF_REG_1),
|
D | cgroup_inv_retcode.c | 66 BPF_ALU64_REG(BPF_MUL, BPF_REG_0, BPF_REG_2),
|
D | and.c | 40 BPF_ALU32_IMM(BPF_MUL, BPF_REG_3, 0x10000000),
|
D | subreg.c | 91 BPF_ALU32_REG(BPF_MUL, BPF_REG_0, BPF_REG_1), 104 BPF_ALU32_IMM(BPF_MUL, BPF_REG_0, 1), 110 BPF_ALU32_IMM(BPF_MUL, BPF_REG_0, -1),
|
D | masking.c | 293 BPF_ALU64_IMM(BPF_MUL, BPF_REG_3, -1), 310 BPF_ALU64_IMM(BPF_MUL, BPF_REG_3, -1),
|
D | basic_instr.c | 9 BPF_ALU64_IMM(BPF_MUL, BPF_REG_1, 3),
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | align.c | 113 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-6.1.9/tools/include/uapi/linux/ |
D | bpf_common.h | 34 #define BPF_MUL 0x20 macro
|
/linux-6.1.9/include/uapi/linux/ |
D | bpf_common.h | 34 #define BPF_MUL 0x20 macro
|
/linux-6.1.9/lib/ |
D | test_bpf.c | 500 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-6.1.9/arch/mips/net/ |
D | bpf_jit_comp64.c | 225 case BPF_MUL: in emit_alu_r64() 693 case BPF_ALU | BPF_MUL | BPF_K: in build_insn() 728 case BPF_ALU | BPF_MUL | BPF_X: in build_insn() 767 case BPF_ALU64 | BPF_MUL | BPF_K: in build_insn() 796 case BPF_ALU64 | BPF_MUL | BPF_X: in build_insn()
|
D | bpf_jit_comp.c | 231 case BPF_MUL: in valid_alu_i() 258 case BPF_MUL: in rewrite_alu_i() 374 case BPF_MUL: in emit_alu_r()
|
/linux-6.1.9/tools/bpf/ |
D | bpf_exp.y | 367 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-6.1.9/arch/powerpc/net/ |
D | bpf_jit_comp64.c | 429 case BPF_ALU | BPF_MUL | BPF_X: /* (u32) dst *= (u32) src */ in bpf_jit_build_body() 430 case BPF_ALU64 | BPF_MUL | BPF_X: /* dst *= src */ in bpf_jit_build_body() 436 case BPF_ALU | BPF_MUL | BPF_K: /* (u32) dst *= (u32) imm */ in bpf_jit_build_body() 437 case BPF_ALU64 | BPF_MUL | BPF_K: /* dst *= imm */ in bpf_jit_build_body()
|
D | bpf_jit_comp32.c | 371 case BPF_ALU64 | BPF_MUL | BPF_X: /* dst *= src */ in bpf_jit_build_body() 380 case BPF_ALU | BPF_MUL | BPF_X: /* (u32) dst *= (u32) src */ in bpf_jit_build_body() 383 case BPF_ALU | BPF_MUL | BPF_K: /* (u32) dst *= (u32) imm */ in bpf_jit_build_body() 391 case BPF_ALU64 | BPF_MUL | BPF_K: /* dst *= imm */ in bpf_jit_build_body()
|
/linux-6.1.9/arch/riscv/net/ |
D | bpf_jit_comp32.c | 450 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()
|
D | bpf_jit_comp64.c | 687 case BPF_ALU | BPF_MUL | BPF_X: in bpf_jit_emit_insn() 688 case BPF_ALU64 | BPF_MUL | BPF_X: in bpf_jit_emit_insn() 861 case BPF_ALU | BPF_MUL | BPF_K: in bpf_jit_emit_insn() 862 case BPF_ALU64 | BPF_MUL | BPF_K: in bpf_jit_emit_insn()
|
/linux-6.1.9/arch/loongarch/net/ |
D | bpf_jit.c | 461 case BPF_ALU | BPF_MUL | BPF_X: in build_insn() 462 case BPF_ALU64 | BPF_MUL | BPF_X: in build_insn() 468 case BPF_ALU | BPF_MUL | BPF_K: in build_insn() 469 case BPF_ALU64 | BPF_MUL | BPF_K: in build_insn()
|
/linux-6.1.9/arch/s390/net/ |
D | bpf_jit_comp.c | 786 case BPF_ALU | BPF_MUL | BPF_X: /* dst = (u32) dst * (u32) src */ in bpf_jit_insn() 791 case BPF_ALU64 | BPF_MUL | BPF_X: /* dst = dst * src */ in bpf_jit_insn() 795 case BPF_ALU | BPF_MUL | BPF_K: /* dst = (u32) dst * (u32) imm */ in bpf_jit_insn() 802 case BPF_ALU64 | BPF_MUL | BPF_K: /* dst = dst * imm */ in bpf_jit_insn()
|
/linux-6.1.9/arch/arm/net/ |
D | bpf_jit_32.c | 697 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-6.1.9/kernel/bpf/ |
D | disasm.c | 76 [BPF_MUL >> 4] = "*=",
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/bpf/ |
D | main.h | 438 return is_mbpf_alu(meta) && mbpf_op(meta) == BPF_MUL; in is_mbpf_mul()
|
/linux-6.1.9/arch/sparc/net/ |
D | bpf_jit_comp_32.c | 442 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()
|
D | bpf_jit_comp_64.c | 938 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-6.1.9/arch/x86/net/ |
D | bpf_jit_comp.c | 1092 case BPF_ALU | BPF_MUL | BPF_K: in do_jit() 1093 case BPF_ALU64 | BPF_MUL | BPF_K: in do_jit() 1108 case BPF_ALU | BPF_MUL | BPF_X: in do_jit() 1109 case BPF_ALU64 | BPF_MUL | BPF_X: in do_jit()
|