/arch/microblaze/mm/ |
H A D | fault.c | 174 struct pt_regs *uregs = current->thread.regs; local 175 if (uregs == NULL) 190 if (address + 2048 < uregs->r1
|
/arch/arm/include/asm/ |
H A D | ptrace.h | 17 unsigned long uregs[18]; member in struct:pt_regs
|
/arch/avr32/kernel/ |
H A D | ptrace.c | 123 static int ptrace_getregs(struct task_struct *tsk, void __user *uregs) argument 127 return copy_to_user(uregs, regs, sizeof(*regs)) ? -EFAULT : 0; 130 static int ptrace_setregs(struct task_struct *tsk, const void __user *uregs) argument 136 if (copy_from_user(&newregs, uregs, sizeof(newregs)) == 0) {
|
/arch/powerpc/mm/ |
H A D | fault.c | 352 struct pt_regs *uregs = current->thread.regs; local 353 if (uregs == NULL) 368 if (address + 2048 < uregs->gpr[1] && !store_update_sp)
|
/arch/x86/kernel/ |
H A D | msr.c | 126 u32 __user *uregs = (u32 __user *)arg; local 137 if (copy_from_user(®s, uregs, sizeof regs)) { 144 if (copy_to_user(uregs, ®s, sizeof regs)) 153 if (copy_from_user(®s, uregs, sizeof regs)) { 160 if (copy_to_user(uregs, ®s, sizeof regs))
|
/arch/xtensa/kernel/ |
H A D | ptrace.c | 52 int ptrace_getregs(struct task_struct *child, void __user *uregs) argument 55 xtensa_gregset_t __user *gregset = uregs; 59 if (!access_ok(VERIFY_WRITE, uregs, sizeof(xtensa_gregset_t))) 78 int ptrace_setregs(struct task_struct *child, void __user *uregs) argument 81 xtensa_gregset_t *gregset = uregs; 86 if (!access_ok(VERIFY_WRITE, uregs, sizeof(xtensa_gregset_t))) 127 int ptrace_getxregs(struct task_struct *child, void __user *uregs) argument 131 elf_xtregs_t __user *xtregs = uregs; 134 if (!access_ok(VERIFY_WRITE, uregs, sizeof(elf_xtregs_t))) 151 int ptrace_setxregs(struct task_struct *child, void __user *uregs) argument [all...] |
/arch/m32r/kernel/ |
H A D | ptrace.c | 189 static int ptrace_getregs(struct task_struct *tsk, void __user *uregs) argument 193 return copy_to_user(uregs, regs, sizeof(struct pt_regs)) ? -EFAULT : 0; 199 static int ptrace_setregs(struct task_struct *tsk, void __user *uregs) argument 205 if (copy_from_user(&newregs, uregs, sizeof(struct pt_regs)) == 0) {
|
/arch/mips/kernel/ |
H A D | ptrace.c | 257 u32 uregs[ELF_NGREG] = {}; local 265 uregs[i] = regs->regs[i - MIPS32_EF_R0]; 268 uregs[MIPS32_EF_LO] = regs->lo; 269 uregs[MIPS32_EF_HI] = regs->hi; 270 uregs[MIPS32_EF_CP0_EPC] = regs->cp0_epc; 271 uregs[MIPS32_EF_CP0_BADVADDR] = regs->cp0_badvaddr; 272 uregs[MIPS32_EF_CP0_STATUS] = regs->cp0_status; 273 uregs[MIPS32_EF_CP0_CAUSE] = regs->cp0_cause; 275 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, uregs, 0, 276 sizeof(uregs)); 285 u32 uregs[ELF_NGREG]; local 336 u64 uregs[ELF_NGREG] = {}; local 364 u64 uregs[ELF_NGREG]; local [all...] |
/arch/mn10300/include/asm/ |
H A D | processor.h | 97 struct pt_regs *uregs; /* userspace register frame */ member in struct:thread_struct 111 .uregs = init_uregs, \ 144 #define task_pt_regs(task) ((task)->thread.uregs)
|
/arch/powerpc/perf/ |
H A D | callchain.c | 239 unsigned long __user *fp, *uregs; local 267 uregs = sigframe->uc.uc_mcontext.gp_regs; 268 if (read_user_stack_64(&uregs[PT_NIP], &next_ip) || 269 read_user_stack_64(&uregs[PT_LNK], &lr) || 270 read_user_stack_64(&uregs[PT_R1], &sp)) 445 unsigned int __user *fp, *uregs; local 459 uregs = signal_frame_32_regs(sp, next_sp, next_ip); 460 if (!uregs && level <= 1) 461 uregs = signal_frame_32_regs(sp, next_sp, lr); 462 if (uregs) { [all...] |
/arch/sh/include/asm/ |
H A D | processor_64.h | 122 struct pt_regs *uregs; member in struct:thread_struct 149 .uregs = NULL, \
|
/arch/tile/kernel/ |
H A D | ptrace.c | 62 static char *getregs(struct task_struct *child, struct pt_regs *uregs) argument 64 *uregs = *task_pt_regs(child); 67 uregs->flags = 0; 70 uregs->flags |= PT_FLAGS_COMPAT; 73 return (char *)uregs; 77 static void putregs(struct task_struct *child, struct pt_regs *uregs) argument 82 uregs->flags = regs->flags; 85 uregs->ex1 = PL_ICS_EX1(USER_PL, EX1_ICS(uregs->ex1)); 87 *regs = *uregs; [all...] |
/arch/unicore32/include/uapi/asm/ |
H A D | ptrace.h | 49 unsigned long uregs[34]; member in struct:pt_regs 52 #define UCreg_asr uregs[32] 53 #define UCreg_pc uregs[31] 54 #define UCreg_lr uregs[30] 55 #define UCreg_sp uregs[29] 56 #define UCreg_ip uregs[28] 57 #define UCreg_fp uregs[27] 58 #define UCreg_26 uregs[26] 59 #define UCreg_25 uregs[25] 60 #define UCreg_24 uregs[2 [all...] |
/arch/arm/include/uapi/asm/ |
H A D | ptrace.h | 125 long uregs[18]; member in struct:pt_regs 129 #define ARM_cpsr uregs[16] 130 #define ARM_pc uregs[15] 131 #define ARM_lr uregs[14] 132 #define ARM_sp uregs[13] 133 #define ARM_ip uregs[12] 134 #define ARM_fp uregs[11] 135 #define ARM_r10 uregs[10] 136 #define ARM_r9 uregs[9] 137 #define ARM_r8 uregs[ [all...] |
/arch/arm64/kernel/ |
H A D | ptrace.c | 482 struct user_pt_regs *uregs = &task_pt_regs(target)->user_regs; local 483 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, uregs, 0, -1); 511 struct user_fpsimd_state *uregs; local 512 uregs = &target->thread.fpsimd_state.user_fpsimd; 513 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, uregs, 0, -1); 780 struct user_fpsimd_state *uregs; local 784 uregs = &target->thread.fpsimd_state.user_fpsimd; 790 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, uregs, 0, 794 fpscr = (uregs->fpsr & VFP_FPSCR_STAT_MASK) | 795 (uregs 807 struct user_fpsimd_state *uregs; local [all...] |