/openbmc/linux/arch/arc/kernel/ |
H A D | ptrace.c | 118 membuf_store(&to, ptregs->fp); in genregs_get() 123 membuf_store(&to, ptregs->r9); in genregs_get() 124 membuf_store(&to, ptregs->r8); in genregs_get() 125 membuf_store(&to, ptregs->r7); in genregs_get() 126 membuf_store(&to, ptregs->r6); in genregs_get() 127 membuf_store(&to, ptregs->r5); in genregs_get() 128 membuf_store(&to, ptregs->r4); in genregs_get() 129 membuf_store(&to, ptregs->r3); in genregs_get() 130 membuf_store(&to, ptregs->r2); in genregs_get() 131 membuf_store(&to, ptregs->r1); in genregs_get() [all …]
|
/openbmc/linux/arch/hexagon/kernel/ |
H A D | ptrace.c | 50 membuf_store(&to, regs->sa0); in genregs_get() 51 membuf_store(&to, regs->lc0); in genregs_get() 52 membuf_store(&to, regs->sa1); in genregs_get() 53 membuf_store(&to, regs->lc1); in genregs_get() 54 membuf_store(&to, regs->m0); in genregs_get() 55 membuf_store(&to, regs->m1); in genregs_get() 56 membuf_store(&to, regs->usr); in genregs_get() 58 membuf_store(&to, regs->gp); in genregs_get() 59 membuf_store(&to, regs->ugp); in genregs_get() 64 membuf_store(&to, regs->cs0); in genregs_get() [all …]
|
/openbmc/linux/arch/nios2/kernel/ |
H A D | ptrace.c | 33 membuf_store(&to, regs->gp); in genregs_get() 34 membuf_store(&to, regs->sp); in genregs_get() 35 membuf_store(&to, regs->fp); in genregs_get() 36 membuf_store(&to, regs->ea); in genregs_get() 38 membuf_store(&to, regs->ra); in genregs_get() 39 membuf_store(&to, regs->ea); /* use ea for PC */ in genregs_get()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | ptrace_32.c | 99 membuf_store(&to, regs->psr); in genregs32_get() 100 membuf_store(&to, regs->pc); in genregs32_get() 101 membuf_store(&to, regs->npc); in genregs32_get() 102 membuf_store(&to, regs->y); in genregs32_get() 178 membuf_store(&to, (u32)((1 << 8) | (8 << 16))); in fpregs32_get() 253 membuf_store(&to, regs->psr); in getregs_get() 254 membuf_store(&to, regs->pc); in getregs_get() 255 membuf_store(&to, regs->npc); in getregs_get() 256 membuf_store(&to, regs->y); in getregs_get()
|
H A D | ptrace_64.c | 363 membuf_store(&to, t->xfsr[0]); in fpregs64_get() 364 membuf_store(&to, t->gsr[0]); in fpregs64_get() 368 return membuf_store(&to, fprs); in fpregs64_get() 452 membuf_store(&to, (u64)0); in getregs64_get() 552 membuf_store(&to, (u32)(regs->tpc)); in genregs32_get() 553 membuf_store(&to, (u32)(regs->tnpc)); in genregs32_get() 554 membuf_store(&to, (u32)(regs->y)); in genregs32_get() 691 membuf_store(&to, (u32)t->xfsr[0]); in fpregs32_get() 787 membuf_store(&to, (u32)(regs->tpc)); in getregs_get() 789 membuf_store(&to, (u32)(regs->y)); in getregs_get() [all …]
|
/openbmc/linux/arch/openrisc/kernel/ |
H A D | ptrace.c | 57 membuf_store(&to, regs->pc); in genregs_get() 58 return membuf_store(&to, regs->sr); in genregs_get() 102 return membuf_store(&to, regs->fpcsr); in fpregs_get()
|
/openbmc/linux/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-view.c | 230 membuf_store(&to_msr, get_user_msr(target)); in gpr_get() 232 membuf_store(&to_softe, 0x1ul); in gpr_get() 477 membuf_store(&to, (u64)lower_32_bits(DEXCR_INIT)); in dexcr_get() 483 return membuf_store(&to, (u64)lower_32_bits(mfspr(SPRN_HDEXCR_RO))); in dexcr_get() 501 return membuf_store(&to, target->thread.hashkeyr); in hashkeyr_get() 533 membuf_store(&to, target->thread.regs->amr); in pkey_get() 534 membuf_store(&to, target->thread.regs->iamr); in pkey_get() 535 return membuf_store(&to, default_uamor); in pkey_get() 712 membuf_store(&to, (u32)regs[i]); in gpr32_get_common() 713 membuf_store(&to, (u32)get_user_msr(target)); in gpr32_get_common() [all …]
|
H A D | ptrace-tm.c | 106 membuf_store(&to_msr, get_user_ckpt_msr(target)); in tm_cgpr_get() 108 membuf_store(&to_softe, 0x1ul); in tm_cgpr_get()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | ptrace.c | 497 membuf_store(&to, addr); in hw_break_get() 498 membuf_store(&to, ctrl); in hw_break_get() 669 ret = membuf_store(&to, target->thread.uw.tp_value); in tls_get() 671 ret = membuf_store(&to, target->thread.tpidr2_el0); in tls_get() 704 return membuf_store(&to, task_pt_regs(target)->syscallno); in system_call_get() 1625 membuf_store(&to, compat_get_user_reg(target, i++)); in compat_gpr_get() 1713 return membuf_store(&to, fpscr); in compat_vfp_get() 1751 return membuf_store(&to, (compat_ulong_t)target->thread.uw.tp_value); in compat_tls_get()
|
/openbmc/linux/arch/s390/kernel/ |
H A D | ptrace.c | 846 membuf_store(&to, __peek_user(target, pos)); in s390_regs_get() 945 return membuf_store(&to, target->thread.last_break); in s390_last_break_get() 1050 return membuf_store(&to, target->thread.system_call); in s390_system_call_get() 1341 membuf_store(&to, __peek_user_compat(target, n)); in s390_compat_regs_get() 1390 membuf_store(&to, *gprs_high); in s390_compat_regs_high_get() 1433 return membuf_store(&to, (unsigned long)last_break); in s390_compat_last_break_get()
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | ptrace.c | 273 membuf_store(to, fill); in copy_pad_fprs() 702 membuf_store(&to, addr); in hw_break_get() 703 membuf_store(&to, mask); in hw_break_get() 704 membuf_store(&to, ctrl); in hw_break_get()
|
/openbmc/linux/include/linux/ |
H A D | regset.h | 62 #define membuf_store(s, v) \ macro
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | ptrace.c | 527 membuf_store(&to, get_reg(regs, pos)); in gpr_get() 590 membuf_store(&to, (compat_ulong_t)get_reg(regs, pos)); in gpr32_get()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | ptrace.c | 432 membuf_store(to, get_fpr64(&target->thread.fpu.fpr[i], 0)); in fpr_get_msa() 555 return membuf_store(&to, (int)mips_get_process_fp_mode(target)); in fp_mode_get() 618 membuf_store(to, fill); in copy_pad_fprs()
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | ptrace.c | 63 membuf_store(&to, fstate->fcsr); in riscv_fpr_get()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | ptrace.c | 439 membuf_store(&to, getreg(target, reg * sizeof(unsigned long))); in genregs_get() 1031 membuf_store(&to, val); in genregs32_get()
|
/openbmc/linux/arch/arm/kernel/ |
H A D | ptrace.c | 623 return membuf_store(&to, vfp->fpscr); in vfp_get()
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | ptrace.c | 1469 membuf_store(&to, reg); in do_gpregs_get()
|