Lines Matching refs:mcontext
58 #define mcontext mcontext32 macro
92 __unsafe_save_general_regs(struct pt_regs *regs, struct mcontext __user *frame) in __unsafe_save_general_regs()
113 __unsafe_restore_general_regs(struct pt_regs *regs, struct mcontext __user *sr) in __unsafe_restore_general_regs()
146 __unsafe_save_general_regs(struct pt_regs *regs, struct mcontext __user *frame) in __unsafe_save_general_regs()
156 int __unsafe_restore_general_regs(struct pt_regs *regs, struct mcontext __user *sr) in __unsafe_restore_general_regs()
196 struct mcontext mctx; /* all the register values */
199 struct mcontext mctx_transact;
262 __unsafe_save_user_regs(struct pt_regs *regs, struct mcontext __user *frame, in __unsafe_save_user_regs()
263 struct mcontext __user *tm_frame, int ctx_has_vsx_region) in __unsafe_save_user_regs()
363 save_tm_user_regs_unsafe(struct pt_regs *regs, struct mcontext __user *frame, in save_tm_user_regs_unsafe()
364 struct mcontext __user *tm_frame, unsigned long msr) in save_tm_user_regs_unsafe()
444 save_tm_user_regs_unsafe(struct pt_regs *regs, struct mcontext __user *frame, in save_tm_user_regs_unsafe()
445 struct mcontext __user *tm_frame, unsigned long msr) in save_tm_user_regs_unsafe()
461 struct mcontext __user *sr, int sig) in restore_user_regs()
563 struct mcontext __user *sr, in restore_tm_user_regs()
564 struct mcontext __user *tm_sr) in restore_tm_user_regs()
709 static long restore_tm_user_regs(struct pt_regs *regs, struct mcontext __user *sr, in restore_tm_user_regs()
710 struct mcontext __user *tm_sr) in restore_tm_user_regs()
730 struct mcontext __user *mctx; in handle_rt_signal32()
731 struct mcontext __user *tm_mctx = NULL; in handle_rt_signal32()
830 struct mcontext __user *mctx; in handle_signal32()
831 struct mcontext __user *tm_mctx = NULL; in handle_signal32()
913 struct mcontext __user *mcp; in do_setcontext()
924 mcp = (struct mcontext __user *)(u64)cmcp; in do_setcontext()
948 struct mcontext __user *mcp; in do_setcontext_tm()
949 struct mcontext __user *tm_mcp; in do_setcontext_tm()
963 mcp = (struct mcontext __user *)(u64)cmcp; in do_setcontext_tm()
964 tm_mcp = (struct mcontext __user *)(u64)tm_cmcp; in do_setcontext_tm()
994 struct mcontext __user *mcp; in COMPAT_SYSCALL_DEFINE3()
1004 mcp = (struct mcontext __user *)(u64)cmcp; in COMPAT_SYSCALL_DEFINE3()
1032 struct mcontext __user *mctx; in COMPAT_SYSCALL_DEFINE3()
1041 mctx = (struct mcontext __user *) in COMPAT_SYSCALL_DEFINE3()
1122 struct mcontext __user *mcp; in COMPAT_SYSCALL_DEFINE0()
1126 mcp = (struct mcontext __user *)(u64)cmcp; in COMPAT_SYSCALL_DEFINE0()
1294 struct mcontext __user *sr; in COMPAT_SYSCALL_DEFINE0()
1296 struct mcontext __user *mcp; in COMPAT_SYSCALL_DEFINE0()
1297 struct mcontext __user *tm_mcp = NULL; in COMPAT_SYSCALL_DEFINE0()
1320 mcp = (struct mcontext __user *)&sf->mctx; in COMPAT_SYSCALL_DEFINE0()
1322 tm_mcp = (struct mcontext __user *)&sf->mctx_transact; in COMPAT_SYSCALL_DEFINE0()
1332 sr = (struct mcontext __user *)from_user_ptr(sigctx.regs); in COMPAT_SYSCALL_DEFINE0()