/Linux-v5.10/arch/arc/kernel/ |
D | ptrace.c | 28 membuf_store(&to, ptregs->bta); in genregs_get() 29 membuf_store(&to, ptregs->lp_start); in genregs_get() 30 membuf_store(&to, ptregs->lp_end); in genregs_get() 31 membuf_store(&to, ptregs->lp_count); in genregs_get() 32 membuf_store(&to, ptregs->status32); in genregs_get() 33 membuf_store(&to, ptregs->ret); in genregs_get() 34 membuf_store(&to, ptregs->blink); in genregs_get() 35 membuf_store(&to, ptregs->fp); in genregs_get() 36 membuf_store(&to, ptregs->r26); // gp in genregs_get() 37 membuf_store(&to, ptregs->r12); in genregs_get() [all …]
|
/Linux-v5.10/arch/hexagon/kernel/ |
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() 57 membuf_store(&to, regs->p3_0); in genregs_get() 58 membuf_store(&to, regs->gp); in genregs_get() 59 membuf_store(&to, regs->ugp); in genregs_get() [all …]
|
/Linux-v5.10/arch/nios2/kernel/ |
D | ptrace.c | 34 membuf_store(&to, regs->gp); in genregs_get() 35 membuf_store(&to, regs->sp); in genregs_get() 36 membuf_store(&to, regs->fp); in genregs_get() 37 membuf_store(&to, regs->ea); in genregs_get() 39 membuf_store(&to, regs->ra); in genregs_get() 40 membuf_store(&to, regs->ea); /* use ea for PC */ in genregs_get()
|
/Linux-v5.10/arch/sparc/kernel/ |
D | ptrace_32.c | 100 membuf_store(&to, regs->psr); in genregs32_get() 101 membuf_store(&to, regs->pc); in genregs32_get() 102 membuf_store(&to, regs->npc); in genregs32_get() 103 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()
|
D | ptrace_64.c | 265 return membuf_store(&to, (u64)regs->y); in genregs64_get() 364 membuf_store(&to, t->xfsr[0]); in fpregs64_get() 365 membuf_store(&to, t->gsr[0]); in fpregs64_get() 369 return membuf_store(&to, fprs); in fpregs64_get() 453 membuf_store(&to, (u64)0); in getregs64_get() 455 return membuf_store(&to, (u64)regs->y); in getregs64_get() 547 membuf_store(&to, (u32)regs->u_regs[i]); in genregs32_get() 554 membuf_store(&to, (u32)tstate_to_psr(regs->tstate)); in genregs32_get() 555 membuf_store(&to, (u32)(regs->tpc)); in genregs32_get() 556 membuf_store(&to, (u32)(regs->tnpc)); in genregs32_get() [all …]
|
/Linux-v5.10/arch/openrisc/kernel/ |
D | ptrace.c | 54 membuf_store(&to, regs->pc); in genregs_get() 55 return membuf_store(&to, regs->sr); in genregs_get()
|
/Linux-v5.10/arch/powerpc/kernel/ptrace/ |
D | ptrace-view.c | 232 membuf_store(&to, get_user_msr(target)); in gpr_get() 479 return membuf_store(&to, default_uamor); in pkey_get() 643 membuf_store(&to, (u32)regs[i]); in gpr32_get_common() 644 membuf_store(&to, (u32)get_user_msr(target)); in gpr32_get_common() 646 membuf_store(&to, (u32)regs[i]); in gpr32_get_common()
|
D | ptrace-tm.c | 101 membuf_store(&to, get_user_ckpt_msr(target)); in tm_cgpr_get()
|
/Linux-v5.10/arch/arm64/kernel/ |
D | ptrace.c | 500 membuf_store(&to, addr); in hw_break_get() 501 membuf_store(&to, ctrl); in hw_break_get() 675 return membuf_store(&to, target->thread.uw.tp_value); in tls_get() 697 return membuf_store(&to, task_pt_regs(target)->syscallno); in system_call_get() 1230 membuf_store(&to, compat_get_user_reg(target, i++)); in compat_gpr_get() 1318 return membuf_store(&to, fpscr); in compat_vfp_get() 1356 return membuf_store(&to, (compat_ulong_t)target->thread.uw.tp_value); in compat_tls_get()
|
/Linux-v5.10/arch/riscv/kernel/ |
D | ptrace.c | 60 membuf_store(&to, fstate->fcsr); in riscv_fpr_get()
|
/Linux-v5.10/arch/s390/kernel/ |
D | ptrace.c | 954 membuf_store(&to, __peek_user(target, pos)); in s390_regs_get() 1055 return membuf_store(&to, target->thread.last_break); in s390_last_break_get() 1158 return membuf_store(&to, target->thread.system_call); in s390_system_call_get() 1449 membuf_store(&to, __peek_user_compat(target, n)); in s390_compat_regs_get() 1498 membuf_store(&to, *gprs_high); in s390_compat_regs_high_get() 1541 return membuf_store(&to, (unsigned long)last_break); in s390_compat_last_break_get()
|
/Linux-v5.10/arch/h8300/kernel/ |
D | ptrace.c | 96 membuf_store(&to, h8300_get_reg(target, r)); in regs_get()
|
/Linux-v5.10/include/linux/ |
D | regset.h | 50 #define membuf_store(s, v) \ macro
|
/Linux-v5.10/arch/parisc/kernel/ |
D | ptrace.c | 516 membuf_store(&to, get_reg(regs, pos)); in gpr_get() 580 membuf_store(&to, (compat_ulong_t)get_reg(regs, pos)); in gpr32_get()
|
/Linux-v5.10/arch/mips/kernel/ |
D | ptrace.c | 426 membuf_store(to, get_fpr64(&target->thread.fpu.fpr[i], 0)); in fpr_get_msa() 548 return membuf_store(&to, (int)mips_get_process_fp_mode(target)); in fp_mode_get() 611 membuf_store(to, fill); in copy_pad_fprs()
|
/Linux-v5.10/arch/x86/kernel/ |
D | ptrace.c | 420 membuf_store(&to, getreg(target, reg * sizeof(unsigned long))); in genregs_get() 1001 membuf_store(&to, val); in genregs32_get()
|
/Linux-v5.10/arch/arm/kernel/ |
D | ptrace.c | 651 return membuf_store(&to, vfp->fpscr); in vfp_get()
|
/Linux-v5.10/arch/ia64/kernel/ |
D | ptrace.c | 1523 membuf_store(&to, reg); in do_gpregs_get()
|