Searched refs:dst_reg (Results 1 - 25 of 45) sorted by path

12

/linux-master/drivers/scsi/
H A Dscript_asm.pl553 $dst_reg = "\U$1\E";
581 print STDERR "source = $src_reg, data = $data8 , destination = $dst_reg\n"
585 if (($src_reg eq undef) || ($src_reg eq $dst_reg)) {
587 ($registers{$dst_reg} << 16);
588 } elsif ($dst_reg =~ /SFBR/i) {
593 ($registers{$dst_reg} << 16);
/linux-master/arch/arm/crypto/
H A Dcrct10dif-ce-core.S136 // Fold src_reg into dst_reg, optionally loading the next fold constants
137 .macro fold_16_bytes, src_reg, dst_reg, load_next_consts
143 veor.8 \dst_reg, \dst_reg, q8
144 veor.8 \dst_reg, \dst_reg, \src_reg
/linux-master/arch/arm/net/
H A Dbpf_jit_32.c1562 const s8 *dst = bpf2a32[insn->dst_reg];
/linux-master/arch/arm64/crypto/
H A Dcrct10dif-ce-core.S239 // Fold src_reg into dst_reg, optionally loading the next fold constants
240 .macro fold_16_bytes, p, src_reg, dst_reg, load_next_consts
247 eor \dst_reg\().16b, \dst_reg\().16b, v8.16b
248 eor \dst_reg\().16b, \dst_reg\().16b, \src_reg\().16b
/linux-master/arch/arm64/net/
H A Dbpf_jit_comp.c488 const u8 dst = bpf2a64[insn->dst_reg];
505 /* lock *(u32/u64 *)(dst_reg + off) <op>= src_reg */
519 /* src_reg = atomic_fetch_<op>(dst_reg + off, src_reg) */
533 /* src_reg = atomic_xchg(dst_reg + off, src_reg); */
537 /* r0 = atomic_cmpxchg(dst_reg + off, r0, src_reg); */
558 const u8 dst = bpf2a64[insn->dst_reg];
580 /* lock *(u32/u64 *)(dst_reg + off) <op>= src_reg */
598 /* src_reg = atomic_fetch_<op>(dst_reg + off, src_reg) */
617 /* src_reg = atomic_xchg(dst_reg + off, src_reg); */
626 /* r0 = atomic_cmpxchg(dst_reg
746 int dst_reg = FIELD_GET(BPF_FIXUP_REG_MASK, ex->fixup); local
754 add_exception_handler(const struct bpf_insn *insn, struct jit_ctx *ctx, int dst_reg) argument
[all...]
/linux-master/arch/loongarch/net/
H A Dbpf_jit.c289 const u8 dst = regmap[insn->dst_reg];
401 int dst_reg = FIELD_GET(BPF_FIXUP_REG_MASK, ex->fixup); local
404 regs->regs[dst_reg] = 0;
413 int dst_reg)
451 ex->fixup = FIELD_PREP(BPF_FIXUP_OFFSET_MASK, offset) | FIELD_PREP(BPF_FIXUP_REG_MASK, dst_reg);
470 const u8 dst = regmap[insn->dst_reg];
946 /* dst_reg = (s64)*(signed size *)(src_reg + off) */
411 add_exception_handler(const struct bpf_insn *insn, struct jit_ctx *ctx, int dst_reg) argument
/linux-master/arch/mips/net/
H A Dbpf_jit_comp.c862 access_reg(ctx, insn->dst_reg);
H A Dbpf_jit_comp32.c1465 const u8 *dst = bpf2mips32[insn->dst_reg];
H A Dbpf_jit_comp64.c637 u8 dst = bpf2mips64[insn->dst_reg];
/linux-master/arch/parisc/net/
H A Dbpf_jit_comp32.c1126 const s8 *dst = regmap[insn->dst_reg];
1132 "BPF_CODE %#02x src_reg %d dst_reg %d\n",
1134 BPF_OP(code), insn->src_reg, insn->dst_reg);
H A Dbpf_jit_comp64.c419 *rd = bpf_to_hppa_reg(insn->dst_reg, ctx);
/linux-master/arch/powerpc/net/
H A Dbpf_jit.h173 int jmp_off, int dst_reg);
H A Dbpf_jit_comp.c259 int dst_reg)
287 fixup[0] = PPC_RAW_LI(dst_reg, 0);
289 fixup[1] = PPC_RAW_LI(dst_reg - 1, 0); /* clear higher 32-bit register too */
257 bpf_add_extable_entry(struct bpf_prog *fp, u32 *image, u32 *fimage, int pass, struct codegen_context *ctx, int insn_idx, int jmp_off, int dst_reg) argument
H A Dbpf_jit_comp32.c295 u32 dst_reg = bpf_to_ppc(insn[i].dst_reg); local
296 u32 dst_reg_h = dst_reg - 1;
299 u32 src2_reg = dst_reg;
316 insn[i - 1].dst_reg == insn[i].dst_reg && insn[i - 1].imm != 1) {
334 * is that those instructions will have src_reg/dst_reg set to
339 if (dst_reg >= 3 && dst_reg < 32) {
340 bpf_set_seen_register(ctx, dst_reg);
[all...]
H A Dbpf_jit_comp64.c377 u32 dst_reg = bpf_to_ppc(insn[i].dst_reg); local
404 * is that those instructions will have src_reg/dst_reg set to
409 if (dst_reg >= BPF_PPC_NVR_MIN && dst_reg < 32)
410 bpf_set_seen_register(ctx, dst_reg);
420 EMIT(PPC_RAW_ADD(dst_reg, dst_reg, src_reg));
424 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, src_re
[all...]
/linux-master/arch/riscv/net/
H A Dbpf_jit_comp32.c964 const s8 *dst = bpf2rv32[insn->dst_reg];
H A Dbpf_jit_comp64.c407 *rd = bpf_to_rv_reg(insn->dst_reg, ctx);
482 /* lock *(u32/u64 *)(dst_reg + off16) <op>= src_reg */
499 /* src_reg = atomic_fetch_<op>(dst_reg + off16, src_reg) */
524 /* src_reg = atomic_xchg(dst_reg + off16, src_reg); */
531 /* r0 = atomic_cmpxchg(dst_reg + off16, r0, src_reg); */
567 int dst_reg, int insn_len)
626 FIELD_PREP(BPF_FIXUP_REG_MASK, dst_reg);
565 add_exception_handler(const struct bpf_insn *insn, struct rv_jit_context *ctx, int dst_reg, int insn_len) argument
/linux-master/arch/s390/net/
H A Dbpf_jit_comp.c107 static inline u32 reg(u32 dst_reg, u32 src_reg) argument
109 return reg2hex[dst_reg] << 4 | reg2hex[src_reg];
783 u32 dst_reg = insn->dst_reg; local
807 EMIT4(0xb9160000, dst_reg, src_reg);
813 EMIT4(0xb9260000, dst_reg, src_reg);
815 EMIT4(0xb9160000, dst_reg, dst_reg);
819 EMIT4(0xb9270000, dst_reg, src_reg);
821 EMIT4(0xb9160000, dst_reg, dst_re
2230 load_imm64(struct bpf_jit *jit, int dst_reg, u64 val) argument
[all...]
/linux-master/arch/sparc/net/
H A Dbpf_jit_comp_64.c898 const u8 dst = bpf2sparc[insn->dst_reg];
1302 if (insn->dst_reg == BPF_REG_FP)
1343 if (insn->dst_reg == BPF_REG_FP)
1384 if (insn->dst_reg == BPF_REG_FP)
1412 if (insn->dst_reg == BPF_REG_FP)
/linux-master/arch/x86/crypto/
H A Dcrct10dif-pcl-asm_64.S83 # Fold src_reg into dst_reg.
84 .macro fold_16_bytes src_reg, dst_reg
88 pxor %xmm8, \dst_reg
89 xorps \src_reg, \dst_reg
/linux-master/arch/x86/net/
H A Dbpf_jit_comp.c222 /* Encode 'dst_reg' register into x86-64 opcode 'byte' */
223 static u8 add_1reg(u8 byte, u32 dst_reg) argument
225 return byte + reg2hex[dst_reg];
228 /* Encode 'dst_reg' and 'src_reg' registers into x86-64 opcode 'byte' */
229 static u8 add_2reg(u8 byte, u32 dst_reg, u32 src_reg) argument
231 return byte + reg2hex[dst_reg] + (reg2hex[src_reg] << 3);
777 u32 dst_reg, const u32 imm32)
788 b1 = add_1mod(0x48, dst_reg);
791 EMIT3_off32(b1, b2, add_1reg(b3, dst_reg), imm32);
800 if (is_ereg(dst_reg))
776 emit_mov_imm32(u8 **pprog, bool sign_propagate, u32 dst_reg, const u32 imm32) argument
816 emit_mov_imm64(u8 **pprog, u32 dst_reg, const u32 imm32_hi, const u32 imm32_lo) argument
839 emit_mov_reg(u8 **pprog, bool is64, u32 dst_reg, u32 src_reg) argument
856 emit_movsx_reg(u8 **pprog, int num_bits, bool is64, u32 dst_reg, u32 src_reg) argument
923 maybe_emit_mod(u8 **pprog, u32 dst_reg, u32 src_reg, bool is64) argument
949 emit_ldx(u8 **pprog, u32 size, u32 dst_reg, u32 src_reg, int off) argument
979 emit_ldsx(u8 **pprog, u32 size, u32 dst_reg, u32 src_reg, int off) argument
1001 emit_ldx_index(u8 **pprog, u32 size, u32 dst_reg, u32 src_reg, u32 index_reg, int off) argument
1027 emit_ldx_r12(u8 **pprog, u32 size, u32 dst_reg, u32 src_reg, int off) argument
1033 emit_stx(u8 **pprog, u32 size, u32 dst_reg, u32 src_reg, int off) argument
1067 emit_stx_index(u8 **pprog, u32 size, u32 dst_reg, u32 src_reg, u32 index_reg, int off) argument
1093 emit_stx_r12(u8 **pprog, u32 size, u32 dst_reg, u32 src_reg, int off) argument
1099 emit_st_index(u8 **pprog, u32 size, u32 dst_reg, u32 index_reg, int off, int imm) argument
1126 emit_st_r12(u8 **pprog, u32 size, u32 dst_reg, int off, int imm) argument
1131 emit_atomic(u8 **pprog, u8 atomic_op, u32 dst_reg, u32 src_reg, s16 off, u8 bpf_size) argument
1252 emit_shiftx(u8 **pprog, u32 dst_reg, u8 src_reg, bool is64, u8 op) argument
1325 u32 dst_reg = insn->dst_reg; local
[all...]
H A Dbpf_jit_comp32.c188 /* Encode 'dst_reg' register into IA32 opcode 'byte' */
189 static u8 add_1reg(u8 byte, u32 dst_reg) argument
191 return byte + dst_reg;
194 /* Encode 'dst_reg' and 'src_reg' registers into IA32 opcode 'byte' */
195 static u8 add_2reg(u8 byte, u32 dst_reg, u32 src_reg) argument
197 return byte + dst_reg + (src_reg << 3);
1675 const bool dstk = insn->dst_reg != BPF_REG_AX;
1678 const u8 *dst = bpf2ia32[insn->dst_reg];
1911 /* ST: *(u8*)(dst_reg + off) = imm */
1951 /* STX: *(u8*)(dst_reg
[all...]
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm_move.c318 struct intel_memory_region *dst_reg, *src_reg; local
320 dst_reg = i915_ttm_region(bo->bdev, dst_mem->mem_type);
322 GEM_BUG_ON(!dst_reg || !src_reg);
326 ttm_kmap_iter_iomap_init(&arg->_dst_iter.io, &dst_reg->iomap,
327 &dst_rsgt->table, dst_reg->region.start);
/linux-master/drivers/net/ethernet/netronome/nfp/bpf/
H A Djit.c770 reg_a(meta->paired_st->dst_reg * 2), off, len - 1,
775 reg_a(meta->paired_st->dst_reg * 2), off, xfer_num - 1,
782 reg_a(meta->paired_st->dst_reg * 2), off,
789 reg_a(meta->paired_st->dst_reg * 2), off,
796 reg_a(meta->paired_st->dst_reg * 2), off, 7,
802 reg_a(meta->paired_st->dst_reg * 2), off, len - 33,
813 reg_a(meta->paired_st->dst_reg * 2), off,
818 xfer_num - 1, reg_a(meta->paired_st->dst_reg * 2), off,
841 wrp_reg_subpart(nfp_prog, reg_both(meta->insn.dst_reg * 2),
846 wrp_reg_subpart(nfp_prog, reg_both(meta->insn.dst_reg *
1507 u8 dst_reg; local
[all...]
H A Dverifier.c505 const struct bpf_reg_state *reg = cur_regs(env) + meta->insn.dst_reg;
522 return nfp_bpf_check_ptr(nfp_prog, meta, env, meta->insn.dst_reg);
530 const struct bpf_reg_state *dreg = cur_regs(env) + meta->insn.dst_reg;
552 return nfp_bpf_check_ptr(nfp_prog, meta, env, meta->insn.dst_reg);
562 cur_regs(env) + meta->insn.dst_reg;
647 meta->insn.dst_reg >= MAX_BPF_REG) {
684 if (meta->insn.dst_reg >= BPF_REG_6 &&
685 meta->insn.dst_reg <= BPF_REG_9)

Completed in 334 milliseconds

12