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;
268 __unsafe_save_user_regs(struct pt_regs *regs, struct mcontext __user *frame, in __unsafe_save_user_regs()
269 struct mcontext __user *tm_frame, int ctx_has_vsx_region) in __unsafe_save_user_regs()
369 save_tm_user_regs_unsafe(struct pt_regs *regs, struct mcontext __user *frame, in save_tm_user_regs_unsafe()
370 struct mcontext __user *tm_frame, unsigned long msr) in save_tm_user_regs_unsafe()
450 save_tm_user_regs_unsafe(struct pt_regs *regs, struct mcontext __user *frame, in save_tm_user_regs_unsafe()
451 struct mcontext __user *tm_frame, unsigned long msr) in save_tm_user_regs_unsafe()
467 struct mcontext __user *sr, int sig) in restore_user_regs()
573 struct mcontext __user *sr, in restore_tm_user_regs()
574 struct mcontext __user *tm_sr) in restore_tm_user_regs()
719 static long restore_tm_user_regs(struct pt_regs *regs, struct mcontext __user *sr, in restore_tm_user_regs()
720 struct mcontext __user *tm_sr) in restore_tm_user_regs()
740 struct mcontext __user *mctx; in handle_rt_signal32()
741 struct mcontext __user *tm_mctx = NULL; in handle_rt_signal32()
840 struct mcontext __user *mctx; in handle_signal32()
841 struct mcontext __user *tm_mctx = NULL; in handle_signal32()
923 struct mcontext __user *mcp; in do_setcontext()
934 mcp = (struct mcontext __user *)(u64)cmcp; in do_setcontext()
958 struct mcontext __user *mcp; in do_setcontext_tm()
959 struct mcontext __user *tm_mcp; in do_setcontext_tm()
973 mcp = (struct mcontext __user *)(u64)cmcp; in do_setcontext_tm()
974 tm_mcp = (struct mcontext __user *)(u64)tm_cmcp; in do_setcontext_tm()
1004 struct mcontext __user *mcp; in COMPAT_SYSCALL_DEFINE3()
1014 mcp = (struct mcontext __user *)(u64)cmcp; in COMPAT_SYSCALL_DEFINE3()
1042 struct mcontext __user *mctx; in COMPAT_SYSCALL_DEFINE3()
1051 mctx = (struct mcontext __user *) in COMPAT_SYSCALL_DEFINE3()
1132 struct mcontext __user *mcp; in COMPAT_SYSCALL_DEFINE0()
1136 mcp = (struct mcontext __user *)(u64)cmcp; in COMPAT_SYSCALL_DEFINE0()
1304 struct mcontext __user *sr; in COMPAT_SYSCALL_DEFINE0()
1306 struct mcontext __user *mcp; in COMPAT_SYSCALL_DEFINE0()
1307 struct mcontext __user *tm_mcp = NULL; in COMPAT_SYSCALL_DEFINE0()
1330 mcp = (struct mcontext __user *)&sf->mctx; in COMPAT_SYSCALL_DEFINE0()
1332 tm_mcp = (struct mcontext __user *)&sf->mctx_transact; in COMPAT_SYSCALL_DEFINE0()
1342 sr = (struct mcontext __user *)from_user_ptr(sigctx.regs); in COMPAT_SYSCALL_DEFINE0()