• Home
  • Raw
  • Download

Lines Matching refs:uc

133 	struct ucontext uc;  member
148 err = __copy_from_user(&set, &sf->uc.uc_sigmask, sizeof(set)); in restore_sigframe()
152 __get_user_error(regs->ARM_r0, &sf->uc.uc_mcontext.arm_r0, err); in restore_sigframe()
153 __get_user_error(regs->ARM_r1, &sf->uc.uc_mcontext.arm_r1, err); in restore_sigframe()
154 __get_user_error(regs->ARM_r2, &sf->uc.uc_mcontext.arm_r2, err); in restore_sigframe()
155 __get_user_error(regs->ARM_r3, &sf->uc.uc_mcontext.arm_r3, err); in restore_sigframe()
156 __get_user_error(regs->ARM_r4, &sf->uc.uc_mcontext.arm_r4, err); in restore_sigframe()
157 __get_user_error(regs->ARM_r5, &sf->uc.uc_mcontext.arm_r5, err); in restore_sigframe()
158 __get_user_error(regs->ARM_r6, &sf->uc.uc_mcontext.arm_r6, err); in restore_sigframe()
159 __get_user_error(regs->ARM_r7, &sf->uc.uc_mcontext.arm_r7, err); in restore_sigframe()
160 __get_user_error(regs->ARM_r8, &sf->uc.uc_mcontext.arm_r8, err); in restore_sigframe()
161 __get_user_error(regs->ARM_r9, &sf->uc.uc_mcontext.arm_r9, err); in restore_sigframe()
162 __get_user_error(regs->ARM_r10, &sf->uc.uc_mcontext.arm_r10, err); in restore_sigframe()
163 __get_user_error(regs->ARM_fp, &sf->uc.uc_mcontext.arm_fp, err); in restore_sigframe()
164 __get_user_error(regs->ARM_ip, &sf->uc.uc_mcontext.arm_ip, err); in restore_sigframe()
165 __get_user_error(regs->ARM_sp, &sf->uc.uc_mcontext.arm_sp, err); in restore_sigframe()
166 __get_user_error(regs->ARM_lr, &sf->uc.uc_mcontext.arm_lr, err); in restore_sigframe()
167 __get_user_error(regs->ARM_pc, &sf->uc.uc_mcontext.arm_pc, err); in restore_sigframe()
168 __get_user_error(regs->ARM_cpsr, &sf->uc.uc_mcontext.arm_cpsr, err); in restore_sigframe()
172 aux = (struct aux_sigframe __user *) sf->uc.uc_regspace; in restore_sigframe()
242 if (restore_altstack(&frame->sig.uc.uc_stack)) in sys_rt_sigreturn()
258 __put_user_error(regs->ARM_r0, &sf->uc.uc_mcontext.arm_r0, err); in setup_sigframe()
259 __put_user_error(regs->ARM_r1, &sf->uc.uc_mcontext.arm_r1, err); in setup_sigframe()
260 __put_user_error(regs->ARM_r2, &sf->uc.uc_mcontext.arm_r2, err); in setup_sigframe()
261 __put_user_error(regs->ARM_r3, &sf->uc.uc_mcontext.arm_r3, err); in setup_sigframe()
262 __put_user_error(regs->ARM_r4, &sf->uc.uc_mcontext.arm_r4, err); in setup_sigframe()
263 __put_user_error(regs->ARM_r5, &sf->uc.uc_mcontext.arm_r5, err); in setup_sigframe()
264 __put_user_error(regs->ARM_r6, &sf->uc.uc_mcontext.arm_r6, err); in setup_sigframe()
265 __put_user_error(regs->ARM_r7, &sf->uc.uc_mcontext.arm_r7, err); in setup_sigframe()
266 __put_user_error(regs->ARM_r8, &sf->uc.uc_mcontext.arm_r8, err); in setup_sigframe()
267 __put_user_error(regs->ARM_r9, &sf->uc.uc_mcontext.arm_r9, err); in setup_sigframe()
268 __put_user_error(regs->ARM_r10, &sf->uc.uc_mcontext.arm_r10, err); in setup_sigframe()
269 __put_user_error(regs->ARM_fp, &sf->uc.uc_mcontext.arm_fp, err); in setup_sigframe()
270 __put_user_error(regs->ARM_ip, &sf->uc.uc_mcontext.arm_ip, err); in setup_sigframe()
271 __put_user_error(regs->ARM_sp, &sf->uc.uc_mcontext.arm_sp, err); in setup_sigframe()
272 __put_user_error(regs->ARM_lr, &sf->uc.uc_mcontext.arm_lr, err); in setup_sigframe()
273 __put_user_error(regs->ARM_pc, &sf->uc.uc_mcontext.arm_pc, err); in setup_sigframe()
274 __put_user_error(regs->ARM_cpsr, &sf->uc.uc_mcontext.arm_cpsr, err); in setup_sigframe()
276 __put_user_error(current->thread.trap_no, &sf->uc.uc_mcontext.trap_no, err); in setup_sigframe()
277 __put_user_error(current->thread.error_code, &sf->uc.uc_mcontext.error_code, err); in setup_sigframe()
278 __put_user_error(current->thread.address, &sf->uc.uc_mcontext.fault_address, err); in setup_sigframe()
279 __put_user_error(set->sig[0], &sf->uc.uc_mcontext.oldmask, err); in setup_sigframe()
281 err |= __copy_to_user(&sf->uc.uc_sigmask, set, sizeof(*set)); in setup_sigframe()
283 aux = (struct aux_sigframe __user *) sf->uc.uc_regspace; in setup_sigframe()
428 __put_user_error(0x5ac3c35a, &frame->uc.uc_flags, err); in setup_frame()
448 __put_user_error(0, &frame->sig.uc.uc_flags, err); in setup_rt_frame()
449 __put_user_error(NULL, &frame->sig.uc.uc_link, err); in setup_rt_frame()
451 err |= __save_altstack(&frame->sig.uc.uc_stack, regs->ARM_sp); in setup_rt_frame()
463 regs->ARM_r2 = (unsigned long)&frame->sig.uc; in setup_rt_frame()