Home
last modified time | relevance | path

Searched refs:membuf_write (Results 1 – 25 of 30) sorted by relevance

12

/Linux-v5.10/arch/powerpc/kernel/ptrace/
Dptrace-tm.c99 membuf_write(&to, &target->thread.ckpt_regs, in tm_cgpr_get()
106 membuf_write(&to, &target->thread.ckpt_regs.orig_gpr3, in tm_cgpr_get()
248 return membuf_write(&to, buf, sizeof(buf)); in tm_cfpr_get()
361 membuf_write(&to, &target->thread.ckvr_state, 33 * sizeof(vector128)); in tm_cvmx_get()
367 return membuf_write(&to, &vrsave, sizeof(vrsave)); in tm_cvmx_get()
488 return membuf_write(&to, buf, 32 * sizeof(double)); in tm_cvsx_get()
590 membuf_write(&to, &target->thread.tm_tfhar, sizeof(u64)); in tm_spr_get()
592 membuf_write(&to, &target->thread.tm_texasr, sizeof(u64)); in tm_spr_get()
594 return membuf_write(&to, &target->thread.tm_tfiar, sizeof(u64)); in tm_spr_get()
672 return membuf_write(&to, &target->thread.tm_tar, sizeof(u64)); in tm_tar_get()
[all …]
Dptrace-spe.c30 membuf_write(&to, &target->thread.evr, sizeof(target->thread.evr)); in evr_get()
35 return membuf_write(&to, &target->thread.acc, in evr_get()
Dptrace-altivec.c56 membuf_write(&to, &target->thread.vr_state, 33 * sizeof(vector128)); in vr_get()
62 return membuf_write(&to, &vrsave, sizeof(vrsave)); in vr_get()
Dptrace-vsx.c33 return membuf_write(&to, buf, 33 * sizeof(u64)); in fpr_get()
111 return membuf_write(&to, buf, 32 * sizeof(double)); in vsr_get()
Dptrace-view.c231 membuf_write(&to, target->thread.regs, offsetof(struct pt_regs, msr)); in gpr_get()
237 membuf_write(&to, &target->thread.regs->orig_gpr3, in gpr_get()
301 return membuf_write(&to, &target->thread.regs->ppr, sizeof(u64)); in ppr_get()
315 return membuf_write(&to, &target->thread.dscr, sizeof(u64)); in dscr_get()
329 return membuf_write(&to, &target->thread.tar, sizeof(u64)); in tar_get()
363 return membuf_write(&to, &target->thread.ebbrr, 3 * sizeof(unsigned long)); in ebb_get()
417 return membuf_write(&to, &target->thread.siar, 5 * sizeof(unsigned long)); in pmu_get()
478 membuf_write(&to, &target->thread.amr, 2 * sizeof(unsigned long)); in pkey_get()
Dptrace-novsx.c29 return membuf_write(&to, &target->thread.fp_state, 33 * sizeof(u64)); in fpr_get()
/Linux-v5.10/arch/sparc/kernel/
Dptrace_32.c94 membuf_write(&to, regs->u_regs, 16 * sizeof(u32)); in genregs32_get()
99 membuf_write(&to, uregs, 16 * sizeof(u32)); in genregs32_get()
175 membuf_write(&to, target->thread.float_regs, 32 * sizeof(u32)); in fpregs32_get()
177 membuf_write(&to, &target->thread.fsr, sizeof(u32)); in fpregs32_get()
257 return membuf_write(&to, regs->u_regs + 1, 15 * sizeof(u32)); in getregs_get()
295 membuf_write(&to, &target->thread.float_regs, 32 * sizeof(u32)); in getfpregs_get()
296 membuf_write(&to, &target->thread.fsr, sizeof(u32)); in getfpregs_get()
Dptrace_64.c257 membuf_write(&to, regs->u_regs, 16 * sizeof(u64)); in genregs64_get()
262 membuf_write(&to, &window, 16 * sizeof(u64)); in genregs64_get()
264 membuf_write(&to, &regs->tstate, 3 * sizeof(u64)); in genregs64_get()
355 membuf_write(&to, t->fpregs, 16 * sizeof(u64)); in fpregs64_get()
360 membuf_write(&to, t->fpregs + 16, 16 * sizeof(u64)); in fpregs64_get()
452 membuf_write(&to, regs->u_regs + 1, 15 * sizeof(u64)); in getregs64_get()
454 membuf_write(&to, &regs->tstate, 3 * sizeof(u64)); in getregs64_get()
553 membuf_write(&to, uregs, 16 * sizeof(u32)); in genregs32_get()
690 membuf_write(&to, t->fpregs, 32 * sizeof(u32)); in fpregs32_get()
840 membuf_write(&to, t->fpregs, 32 * sizeof(u32)); in getfpregs_get()
/Linux-v5.10/arch/nios2/kernel/
Dptrace.c30 membuf_write(&to, &regs->r1, 7 * 4); // R1..R7 in genregs_get()
31 membuf_write(&to, &regs->r8, 8 * 4); // R8..R15 in genregs_get()
32 membuf_write(&to, sw, 8 * 4); // R16..R23 in genregs_get()
/Linux-v5.10/arch/x86/kernel/fpu/
Dregset.c40 return membuf_write(&to, &fpu->state.fxsave, sizeof(struct fxregs_state)); in xfpregs_get()
102 return membuf_write(&to, xsave, fpu_user_xstate_size); in xstateregs_get()
300 return membuf_write(&to, &fpu->state.fsave, in fpregs_get()
312 return membuf_write(&to, &env, sizeof(env)); in fpregs_get()
/Linux-v5.10/arch/riscv/kernel/
Dptrace.c35 return membuf_write(&to, task_pt_regs(target), in riscv_gpr_get()
59 membuf_write(&to, fstate, offsetof(struct __riscv_d_ext_state, fcsr)); in riscv_fpr_get()
/Linux-v5.10/arch/mips/kernel/
Dptrace.c219 return membuf_write(&to, uregs, sizeof(uregs)); in gpr32_get()
284 return membuf_write(&to, uregs, sizeof(uregs)); in gpr64_get()
410 membuf_write(to, &target->thread.fpu, in fpr_get_fpa()
443 membuf_write(&to, &target->thread.fpu.fcr31, sizeof(u32)); in fpr_get()
444 membuf_write(&to, &boot_cpu_data.fpu_id, sizeof(u32)); in fpr_get()
609 membuf_write(to, &target->thread.fpu.fpr[i], cp_sz); in copy_pad_fprs()
635 membuf_write(&to, &target->thread.fpu.fpr, wr_size); in msa_get()
642 return membuf_write(&to, &ctrl_regs, sizeof(ctrl_regs)); in msa_get()
708 return membuf_write(&to, dspregs, sizeof(dspregs)); in dsp32_get()
774 return membuf_write(&to, dspregs, sizeof(dspregs)); in dsp64_get()
/Linux-v5.10/arch/arm64/kernel/
Dptrace.c490 membuf_write(&to, &info, sizeof(info)); in hw_break_get()
567 return membuf_write(&to, uregs, sizeof(*uregs)); in gpr_get()
608 return membuf_write(&to, uregs, sizeof(*uregs)); in __fpr_get()
759 membuf_write(&to, &header, sizeof(header)); in sve_get()
775 membuf_write(&to, target->thread.sve_state, end - start); in sve_get()
787 membuf_write(&to, &target->thread.uw.fpsimd_state.fpsr, end - start); in sve_get()
911 return membuf_write(&to, &uregs, sizeof(uregs)); in pac_mask_get()
960 return membuf_write(&to, &user_keys, sizeof(user_keys)); in pac_address_keys_get()
1009 return membuf_write(&to, &user_keys, sizeof(user_keys)); in pac_generic_keys_get()
1046 return membuf_write(&to, &ctrl, sizeof(ctrl)); in tagged_addr_ctrl_get()
[all …]
/Linux-v5.10/arch/csky/kernel/
Dptrace.c86 return membuf_write(&to, regs, sizeof(regs)); in gpr_get()
130 return membuf_write(&to, &tmp, sizeof(tmp)); in fpr_get()
132 return membuf_write(&to, regs, sizeof(*regs)); in fpr_get()
/Linux-v5.10/arch/sh/kernel/
Dptrace_32.c141 return membuf_write(&to, regs, sizeof(struct pt_regs)); in genregs_get()
178 return membuf_write(&to, target->thread.xstate, in fpregs_get()
218 return membuf_write(&to, regs, sizeof(struct pt_dspregs)); in dspregs_get()
/Linux-v5.10/arch/c6x/kernel/
Dptrace.c62 return membuf_write(&to, task_pt_regs(target), sizeof(struct pt_regs)); in gpr_get()
/Linux-v5.10/arch/x86/math-emu/
Dfpu_entry.c710 membuf_write(&to, s387, offsetof(struct swregs_state, st_space)); in fpregs_soft_get()
711 membuf_write(&to, space + offset, other); in fpregs_soft_get()
712 membuf_write(&to, space, offset); in fpregs_soft_get()
/Linux-v5.10/arch/nds32/kernel/
Dptrace.c18 return membuf_write(&to, &task_pt_regs(target)->user_regs, in gpr_get()
/Linux-v5.10/arch/openrisc/kernel/
Dptrace.c53 membuf_write(&to, regs->gpr + 1, 31 * 4); in genregs_get()
/Linux-v5.10/arch/arc/kernel/
Dptrace.c169 return membuf_write(&to, &regs->r30, sizeof(struct user_regs_arcv2)); in arcv2regs_get()
172 membuf_write(&to, &regs->r30, 4); /* r30 only */ in arcv2regs_get()
/Linux-v5.10/arch/s390/kernel/
Dptrace.c1006 return membuf_write(&to, &fp_regs, sizeof(fp_regs)); in s390_fpregs_get()
1074 return membuf_write(&to, target->thread.trap_tdb, 256); in s390_tdb_get()
1098 return membuf_write(&to, vxrs, sizeof(vxrs)); in s390_vxrs_low_get()
1133 return membuf_write(&to, target->thread.fpu.vxrs + __NUM_VXRS_LOW, in s390_vxrs_high_get()
1183 return membuf_write(&to, data, sizeof(struct gs_cb)); in s390_gs_cb_get()
1235 return membuf_write(&to, data, sizeof(struct gs_cb)); in s390_gs_bc_get()
1294 return membuf_write(&to, data, sizeof(struct runtime_instr_cb)); in s390_runtime_instr_get()
/Linux-v5.10/arch/arm/kernel/
Dptrace.c574 return membuf_write(&to, task_pt_regs(target), sizeof(struct pt_regs)); in gpr_get()
602 return membuf_write(&to, &task_thread_info(target)->fpstate, in fpa_get()
649 membuf_write(&to, vfp->fpregs, sizeof(vfp->fpregs)); in vfp_get()
/Linux-v5.10/arch/hexagon/kernel/
Dptrace.c48 membuf_write(&to, &regs->r00, 32*sizeof(unsigned long)); in genregs_get()
/Linux-v5.10/include/linux/
Dregset.h37 static inline int membuf_write(struct membuf *s, const void *v, size_t size) in membuf_write() function
/Linux-v5.10/arch/xtensa/kernel/
Dptrace.c65 return membuf_write(&to, &newregs, sizeof(newregs)); in gpr_get()
147 ret = membuf_write(&to, newregs, sizeof(*newregs)); in tie_get()

12