Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/bpf/verifier/
A Djit.c56 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),
A Dcgroup_inv_retcode.c66 BPF_ALU64_REG(BPF_MUL, BPF_REG_0, BPF_REG_2),
A Dsubreg.c91 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),
A Dand.c40 BPF_ALU32_IMM(BPF_MUL, BPF_REG_3, 0x10000000),
A Dmasking.c293 BPF_ALU64_IMM(BPF_MUL, BPF_REG_3, -1),
310 BPF_ALU64_IMM(BPF_MUL, BPF_REG_3, -1),
A Dbasic_instr.c9 BPF_ALU64_IMM(BPF_MUL, BPF_REG_1, 3),
/linux/tools/testing/selftests/bpf/prog_tests/
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),
/linux/lib/
A Dtest_bpf.c575 case BPF_MUL: in __bpf_alu_result()
3712 BPF_ALU64_IMM(BPF_MUL, R1, 3),
3726 BPF_ALU64_REG(BPF_MUL, R1, R2),
3742 BPF_ALU64_REG(BPF_MUL, R1, R2),
3759 BPF_ALU32_REG(BPF_MUL, R1, R2),
4290 BPF_ALU64_REG(BPF_MUL, R0, R0),
4291 BPF_ALU64_REG(BPF_MUL, R0, R1),
5698 BPF_ALU32_IMM(BPF_MUL, R0, 3),
5709 BPF_ALU32_IMM(BPF_MUL, R0, 1),
5747 BPF_ALU64_IMM(BPF_MUL, R0, 3),
[all …]
/linux/tools/include/uapi/linux/
A Dbpf_common.h34 #define BPF_MUL 0x20 macro
/linux/include/uapi/linux/
A Dbpf_common.h34 #define BPF_MUL 0x20 macro
/linux/arch/mips/net/
A Dbpf_jit_comp64.c225 case BPF_MUL: in emit_alu_r64()
685 case BPF_ALU | BPF_MUL | BPF_K: in build_insn()
720 case BPF_ALU | BPF_MUL | BPF_X: in build_insn()
759 case BPF_ALU64 | BPF_MUL | BPF_K: in build_insn()
788 case BPF_ALU64 | BPF_MUL | BPF_X: in build_insn()
A Dbpf_jit_comp.c231 case BPF_MUL: in valid_alu_i()
258 case BPF_MUL: in rewrite_alu_i()
374 case BPF_MUL: in emit_alu_r()
/linux/tools/bpf/
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); }
/linux/arch/powerpc/net/
A Dbpf_jit_comp64.c378 case BPF_ALU | BPF_MUL | BPF_X: /* (u32) dst *= (u32) src */ in bpf_jit_build_body()
379 case BPF_ALU64 | BPF_MUL | BPF_X: /* dst *= src */ in bpf_jit_build_body()
385 case BPF_ALU | BPF_MUL | BPF_K: /* (u32) dst *= (u32) imm */ in bpf_jit_build_body()
386 case BPF_ALU64 | BPF_MUL | BPF_K: /* dst *= imm */ in bpf_jit_build_body()
A Dbpf_jit_comp32.c365 case BPF_ALU64 | BPF_MUL | BPF_X: /* dst *= src */ in bpf_jit_build_body()
374 case BPF_ALU | BPF_MUL | BPF_X: /* (u32) dst *= (u32) src */ in bpf_jit_build_body()
377 case BPF_ALU | BPF_MUL | BPF_K: /* (u32) dst *= (u32) imm */ in bpf_jit_build_body()
385 case BPF_ALU64 | BPF_MUL | BPF_K: /* dst *= imm */ in bpf_jit_build_body()
/linux/arch/arm64/net/
A Dbpf_jit_comp.c486 case BPF_ALU | BPF_MUL | BPF_X: in build_insn()
487 case BPF_ALU64 | BPF_MUL | BPF_X: in build_insn()
614 case BPF_ALU | BPF_MUL | BPF_K: in build_insn()
615 case BPF_ALU64 | BPF_MUL | BPF_K: in build_insn()
/linux/arch/riscv/net/
A Dbpf_jit_comp32.c450 case BPF_MUL: in emit_alu_r64()
538 case BPF_MUL: in emit_alu_r32()
984 case BPF_ALU64 | BPF_MUL | BPF_X: in bpf_jit_emit_insn()
985 case BPF_ALU64 | BPF_MUL | BPF_K: in bpf_jit_emit_insn()
1031 case BPF_ALU | BPF_MUL | BPF_X: in bpf_jit_emit_insn()
1032 case BPF_ALU | BPF_MUL | BPF_K: in bpf_jit_emit_insn()
A Dbpf_jit_comp64.c586 case BPF_ALU | BPF_MUL | BPF_X: in bpf_jit_emit_insn()
587 case BPF_ALU64 | BPF_MUL | BPF_X: in bpf_jit_emit_insn()
760 case BPF_ALU | BPF_MUL | BPF_K: in bpf_jit_emit_insn()
761 case BPF_ALU64 | BPF_MUL | BPF_K: in bpf_jit_emit_insn()
/linux/arch/s390/net/
A Dbpf_jit_comp.c808 case BPF_ALU | BPF_MUL | BPF_X: /* dst = (u32) dst * (u32) src */ in bpf_jit_insn()
813 case BPF_ALU64 | BPF_MUL | BPF_X: /* dst = dst * src */ in bpf_jit_insn()
817 case BPF_ALU | BPF_MUL | BPF_K: /* dst = (u32) dst * (u32) imm */ in bpf_jit_insn()
824 case BPF_ALU64 | BPF_MUL | BPF_K: /* dst = dst * imm */ in bpf_jit_insn()
/linux/arch/arm/net/
A Dbpf_jit_32.c697 case BPF_MUL: in emit_alu_r()
1429 case BPF_ALU | BPF_MUL | BPF_K: in build_insn()
1430 case BPF_ALU | BPF_MUL | BPF_X: in build_insn()
1543 case BPF_ALU64 | BPF_MUL | BPF_X: in build_insn()
1544 case BPF_ALU64 | BPF_MUL | BPF_K: in build_insn()
/linux/arch/sparc/net/
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()
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()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
A Dmain.h438 return is_mbpf_alu(meta) && mbpf_op(meta) == BPF_MUL; in is_mbpf_mul()
/linux/kernel/bpf/
A Ddisasm.c76 [BPF_MUL >> 4] = "*=",
/linux/arch/x86/net/
A Dbpf_jit_comp.c1066 case BPF_ALU | BPF_MUL | BPF_K: in do_jit()
1067 case BPF_ALU64 | BPF_MUL | BPF_K: in do_jit()
1082 case BPF_ALU | BPF_MUL | BPF_X: in do_jit()
1083 case BPF_ALU64 | BPF_MUL | BPF_X: in do_jit()

Completed in 56 milliseconds

12