Home
last modified time | relevance | path

Searched refs:BPF_DIV (Results 1 - 25 of 57) sorted by relevance

123

/kernel/linux/linux-5.10/arch/mips/net/
H A Debpf_jit.c750 case BPF_ALU | BPF_DIV | BPF_K: /* ALU_IMM */ in build_one_insn()
769 if (bpf_op == BPF_DIV) in build_one_insn()
776 if (bpf_op == BPF_DIV) in build_one_insn()
781 case BPF_ALU64 | BPF_DIV | BPF_K: /* ALU_IMM */ in build_one_insn()
798 if (bpf_op == BPF_DIV) in build_one_insn()
805 if (bpf_op == BPF_DIV) in build_one_insn()
817 case BPF_ALU64 | BPF_DIV | BPF_X: /* ALU64_REG */ in build_one_insn()
876 case BPF_DIV: in build_one_insn()
879 if (bpf_op == BPF_DIV) in build_one_insn()
887 if (bpf_op == BPF_DIV) in build_one_insn()
[all...]
/kernel/linux/linux-5.10/tools/include/uapi/linux/
H A Dbpf_common.h35 #define BPF_DIV 0x30 macro
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dbpf_common.h35 #define BPF_DIV 0x30 macro
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dbpf_common.h35 #define BPF_DIV 0x30 macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dbpf_common.h45 #define BPF_DIV 0x30 macro
/kernel/linux/linux-6.6/tools/include/uapi/linux/
H A Dbpf_common.h35 #define BPF_DIV 0x30 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dbpf_common.h45 #define BPF_DIV 0x30 macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dbpf_common.h32 #define BPF_DIV 0x30 macro
/kernel/linux/linux-6.6/kernel/bpf/
H A Ddisasm.c77 [BPF_DIV >> 4] = "/=",
91 [BPF_DIV >> 4] = "s/=",
159 return (BPF_OP(insn->code) == BPF_DIV || BPF_OP(insn->code) == BPF_MOD) && in is_sdiv_smod()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Ddisasm.c77 [BPF_DIV >> 4] = "/=",
91 [BPF_DIV >> 4] = "s/=",
159 return (BPF_OP(insn->code) == BPF_DIV || BPF_OP(insn->code) == BPF_MOD) && in is_sdiv_smod()
/kernel/linux/linux-6.6/arch/parisc/net/
H A Dbpf_jit_comp32.c340 if (BPF_OP(opcode) == BPF_DIV || BPF_OP(opcode) == BPF_MOD) { in emit_call_millicode()
341 if (BPF_OP(opcode) == BPF_DIV) in emit_call_millicode()
379 if (BPF_OP(opcode) == BPF_DIV || BPF_OP(opcode) == BPF_MOD) { in emit_call_libgcc_ll()
381 if (BPF_OP(opcode) == BPF_DIV) in emit_call_libgcc_ll()
606 case BPF_DIV: in emit_alu_r64()
668 case BPF_DIV: in emit_alu_r32()
1153 case BPF_ALU64 | BPF_DIV | BPF_X: in bpf_jit_emit_insn()
1154 case BPF_ALU64 | BPF_DIV | BPF_K: in bpf_jit_emit_insn()
1201 case BPF_ALU | BPF_DIV | BPF_X: in bpf_jit_emit_insn()
1202 case BPF_ALU | BPF_DIV | BPF_ in bpf_jit_emit_insn()
[all...]
H A Dbpf_jit_comp64.c533 if (BPF_OP(opcode) == BPF_DIV || BPF_OP(opcode) == BPF_MOD) { in emit_call_libgcc_ll()
534 if (BPF_OP(opcode) == BPF_DIV) in emit_call_libgcc_ll()
663 case BPF_ALU | BPF_DIV | BPF_K: in bpf_jit_emit_insn()
664 case BPF_ALU64 | BPF_DIV | BPF_K: in bpf_jit_emit_insn()
668 case BPF_ALU | BPF_DIV | BPF_X: in bpf_jit_emit_insn()
669 case BPF_ALU64 | BPF_DIV | BPF_X: in bpf_jit_emit_insn()
/kernel/linux/linux-5.10/arch/s390/net/
H A Dbpf_jit_comp.c831 * BPF_DIV / BPF_MOD in bpf_jit_insn()
833 case BPF_ALU | BPF_DIV | BPF_X: /* dst = (u32) dst / (u32) src */ in bpf_jit_insn()
836 int rc_reg = BPF_OP(insn->code) == BPF_DIV ? REG_W1 : REG_W0; in bpf_jit_insn()
850 case BPF_ALU64 | BPF_DIV | BPF_X: /* dst = dst / src */ in bpf_jit_insn()
853 int rc_reg = BPF_OP(insn->code) == BPF_DIV ? REG_W1 : REG_W0; in bpf_jit_insn()
865 case BPF_ALU | BPF_DIV | BPF_K: /* dst = (u32) dst / (u32) imm */ in bpf_jit_insn()
868 int rc_reg = BPF_OP(insn->code) == BPF_DIV ? REG_W1 : REG_W0; in bpf_jit_insn()
900 case BPF_ALU64 | BPF_DIV | BPF_K: /* dst = dst / imm */ in bpf_jit_insn()
903 int rc_reg = BPF_OP(insn->code) == BPF_DIV ? REG_W1 : REG_W0; in bpf_jit_insn()
/kernel/linux/linux-6.6/arch/s390/net/
H A Dbpf_jit_comp.c913 * BPF_DIV / BPF_MOD in bpf_jit_insn()
915 case BPF_ALU | BPF_DIV | BPF_X: /* dst = (u32) dst / (u32) src */ in bpf_jit_insn()
918 int rc_reg = BPF_OP(insn->code) == BPF_DIV ? REG_W1 : REG_W0; in bpf_jit_insn()
932 case BPF_ALU64 | BPF_DIV | BPF_X: /* dst = dst / src */ in bpf_jit_insn()
935 int rc_reg = BPF_OP(insn->code) == BPF_DIV ? REG_W1 : REG_W0; in bpf_jit_insn()
947 case BPF_ALU | BPF_DIV | BPF_K: /* dst = (u32) dst / (u32) imm */ in bpf_jit_insn()
950 int rc_reg = BPF_OP(insn->code) == BPF_DIV ? REG_W1 : REG_W0; in bpf_jit_insn()
982 case BPF_ALU64 | BPF_DIV | BPF_K: /* dst = dst / imm */ in bpf_jit_insn()
985 int rc_reg = BPF_OP(insn->code) == BPF_DIV ? REG_W1 : REG_W0; in bpf_jit_insn()
/kernel/linux/linux-5.10/arch/arm64/net/
H A Dbpf_jit_comp.c488 case BPF_ALU | BPF_DIV | BPF_X: in build_insn()
489 case BPF_ALU64 | BPF_DIV | BPF_X: in build_insn()
493 case BPF_DIV: in build_insn()
622 case BPF_ALU | BPF_DIV | BPF_K: in build_insn()
623 case BPF_ALU64 | BPF_DIV | BPF_K: in build_insn()
/kernel/linux/linux-5.10/arch/powerpc/net/
H A Dbpf_jit_comp64.c418 case BPF_ALU | BPF_DIV | BPF_X: /* (u32) dst /= (u32) src */ in bpf_jit_build_body()
428 case BPF_ALU64 | BPF_DIV | BPF_X: /* dst /= src */ in bpf_jit_build_body()
439 case BPF_ALU | BPF_DIV | BPF_K: /* (u32) dst /= (u32) imm */ in bpf_jit_build_body()
441 case BPF_ALU64 | BPF_DIV | BPF_K: /* dst /= imm */ in bpf_jit_build_body()
445 if (BPF_OP(code) == BPF_DIV) { in bpf_jit_build_body()
H A Dbpf_jit_comp.c170 case BPF_ALU | BPF_DIV | BPF_X: /* A /= X; */ in bpf_jit_build_body()
194 case BPF_ALU | BPF_DIV | BPF_K: /* A /= K */ in bpf_jit_build_body()
/kernel/linux/linux-6.6/arch/powerpc/net/
H A Dbpf_jit_comp64.c467 case BPF_ALU | BPF_DIV | BPF_X: /* (u32) dst /= (u32) src */ in bpf_jit_build_body()
476 case BPF_ALU64 | BPF_DIV | BPF_X: /* dst /= src */ in bpf_jit_build_body()
486 case BPF_ALU | BPF_DIV | BPF_K: /* (u32) dst /= (u32) imm */ in bpf_jit_build_body()
488 case BPF_ALU64 | BPF_DIV | BPF_K: /* dst /= imm */ in bpf_jit_build_body()
492 if (BPF_OP(code) == BPF_DIV) { in bpf_jit_build_body()
/kernel/linux/linux-6.6/arch/mips/net/
H A Dbpf_jit_comp64.c237 case BPF_DIV: in emit_alu_r64()
697 case BPF_ALU | BPF_DIV | BPF_K: in build_insn()
732 case BPF_ALU | BPF_DIV | BPF_X: in build_insn()
771 case BPF_ALU64 | BPF_DIV | BPF_K: in build_insn()
800 case BPF_ALU64 | BPF_DIV | BPF_X: in build_insn()
H A Dbpf_jit_comp.c238 case BPF_DIV: in valid_alu_i()
275 case BPF_DIV: in rewrite_alu_i()
387 case BPF_DIV: in emit_alu_r()
/kernel/linux/linux-5.10/arch/loongarch/net/
H A Debpf_jit.c366 case BPF_ALU | BPF_DIV | BPF_X: in build_insn()
367 case BPF_ALU64 | BPF_DIV | BPF_X: in build_insn()
372 case BPF_ALU | BPF_DIV | BPF_K: in build_insn()
373 case BPF_ALU64 | BPF_DIV | BPF_K: in build_insn()
/kernel/linux/linux-5.10/arch/riscv/net/
H A Dbpf_jit_comp64.c504 case BPF_ALU | BPF_DIV | BPF_X: in bpf_jit_emit_insn()
505 case BPF_ALU64 | BPF_DIV | BPF_X: in bpf_jit_emit_insn()
680 case BPF_ALU | BPF_DIV | BPF_K: in bpf_jit_emit_insn()
681 case BPF_ALU64 | BPF_DIV | BPF_K: in bpf_jit_emit_insn()
/kernel/linux/linux-6.6/arch/loongarch/net/
H A Dbpf_jit.c534 case BPF_ALU | BPF_DIV | BPF_X: in build_insn()
535 case BPF_ALU64 | BPF_DIV | BPF_X: in build_insn()
544 case BPF_ALU | BPF_DIV | BPF_K: in build_insn()
545 case BPF_ALU64 | BPF_DIV | BPF_K: in build_insn()
/kernel/linux/linux-5.10/arch/arm/net/
H A Dbpf_jit_32.c484 if (op == BPF_DIV) in emit_udivmod()
495 * For BPF_ALU | BPF_DIV | BPF_K instructions in emit_udivmod()
515 emit_mov_i(ARM_IP, op == BPF_DIV ? in emit_udivmod()
1462 case BPF_ALU | BPF_DIV | BPF_K: in build_insn()
1463 case BPF_ALU | BPF_DIV | BPF_X: in build_insn()
1484 case BPF_ALU64 | BPF_DIV | BPF_K: in build_insn()
1485 case BPF_ALU64 | BPF_DIV | BPF_X: in build_insn()
/kernel/linux/linux-6.6/arch/arm/net/
H A Dbpf_jit_32.c484 if (op == BPF_DIV) in emit_udivmod()
495 * For BPF_ALU | BPF_DIV | BPF_K instructions in emit_udivmod()
515 emit_mov_i(ARM_IP, op == BPF_DIV ? in emit_udivmod()
1447 case BPF_ALU | BPF_DIV | BPF_K: in build_insn()
1448 case BPF_ALU | BPF_DIV | BPF_X: in build_insn()
1469 case BPF_ALU64 | BPF_DIV | BPF_K: in build_insn()
1470 case BPF_ALU64 | BPF_DIV | BPF_X: in build_insn()

Completed in 29 milliseconds

123