Searched refs:mcp (Results 1 – 2 of 2) sorted by relevance
/arch/sparc/kernel/ |
D | signal_64.c | 147 mcontext_t __user *mcp; in sparc64_get_context() local 162 mcp = &ucp->uc_mcontext; in sparc64_get_context() 163 grp = &mcp->mc_gregs; in sparc64_get_context() 205 err |= __put_user(fp, &(mcp->mc_fp)); in sparc64_get_context() 206 err |= __put_user(i7, &(mcp->mc_i7)); in sparc64_get_context() 208 err |= __put_user(fenab, &(mcp->mc_fpregs.mcfpu_enab)); in sparc64_get_context() 215 err |= copy_to_user(&(mcp->mc_fpregs.mcfpu_fregs), fpregs, in sparc64_get_context() 219 ((unsigned long __user *)&(mcp->mc_fpregs.mcfpu_fregs))+16, fpregs+16, in sparc64_get_context() 221 err |= __put_user(current_thread_info()->xfsr[0], &(mcp->mc_fpregs.mcfpu_fsr)); in sparc64_get_context() 222 err |= __put_user(current_thread_info()->gsr[0], &(mcp->mc_fpregs.mcfpu_gsr)); in sparc64_get_context() [all …]
|
/arch/powerpc/kernel/ |
D | signal_32.c | 996 struct mcontext __user *mcp; in do_setcontext() local 1006 mcp = (struct mcontext __user *)(u64)cmcp; in do_setcontext() 1010 if (__get_user(mcp, &ucp->uc_regs)) in do_setcontext() 1012 if (!access_ok(mcp, sizeof(*mcp))) in do_setcontext() 1016 if (restore_user_regs(regs, mcp, sig)) in do_setcontext() 1028 struct mcontext __user *mcp; in do_setcontext_tm() local 1039 mcp = (struct mcontext __user *)(u64)cmcp; in do_setcontext_tm() 1044 if (restore_tm_user_regs(regs, mcp, tm_mcp)) in do_setcontext_tm() 1066 struct mcontext __user *mcp; in COMPAT_SYSCALL_DEFINE3() local 1076 mcp = (struct mcontext __user *)(u64)cmcp; in COMPAT_SYSCALL_DEFINE3() [all …]
|