Home
last modified time | relevance | path

Searched refs:rs_uc (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/arch/mips/kernel/
Dsignal_n32.c50 struct ucontextn32 rs_uc; member
64 if (__copy_conv_sigset_from_user(&set, &frame->rs_uc.uc_sigmask)) in sysn32_rt_sigreturn()
69 sig = restore_sigcontext(regs, &frame->rs_uc.uc_mcontext); in sysn32_rt_sigreturn()
75 if (compat_restore_altstack(&frame->rs_uc.uc_stack)) in sysn32_rt_sigreturn()
106 err |= __put_user(0, &frame->rs_uc.uc_flags); in setup_rt_frame_n32()
107 err |= __put_user(0, &frame->rs_uc.uc_link); in setup_rt_frame_n32()
108 err |= __compat_save_altstack(&frame->rs_uc.uc_stack, regs->regs[29]); in setup_rt_frame_n32()
109 err |= setup_sigcontext(regs, &frame->rs_uc.uc_mcontext); in setup_rt_frame_n32()
110 err |= __copy_conv_sigset_to_user(&frame->rs_uc.uc_sigmask, set); in setup_rt_frame_n32()
127 regs->regs[ 6] = (unsigned long) &frame->rs_uc; in setup_rt_frame_n32()
Dsignal_o32.c49 struct ucontext32 rs_uc; member
165 if (__copy_conv_sigset_from_user(&set, &frame->rs_uc.uc_sigmask)) in sys32_rt_sigreturn()
170 sig = restore_sigcontext32(regs, &frame->rs_uc.uc_mcontext); in sys32_rt_sigreturn()
176 if (compat_restore_altstack(&frame->rs_uc.uc_stack)) in sys32_rt_sigreturn()
207 err |= __put_user(0, &frame->rs_uc.uc_flags); in setup_rt_frame_32()
208 err |= __put_user(0, &frame->rs_uc.uc_link); in setup_rt_frame_32()
209 err |= __compat_save_altstack(&frame->rs_uc.uc_stack, regs->regs[29]); in setup_rt_frame_32()
210 err |= setup_sigcontext32(regs, &frame->rs_uc.uc_mcontext); in setup_rt_frame_32()
211 err |= __copy_conv_sigset_to_user(&frame->rs_uc.uc_sigmask, set); in setup_rt_frame_32()
228 regs->regs[ 6] = (unsigned long) &frame->rs_uc; in setup_rt_frame_32()
Dsignal.c61 struct ucontext rs_uc; member
684 if (__copy_from_user(&set, &frame->rs_uc.uc_sigmask, sizeof(set))) in sys_rt_sigreturn()
689 sig = restore_sigcontext(regs, &frame->rs_uc.uc_mcontext); in sys_rt_sigreturn()
695 if (restore_altstack(&frame->rs_uc.uc_stack)) in sys_rt_sigreturn()
766 if (__put_user(0, &frame->rs_uc.uc_flags)) in setup_rt_frame()
768 if (__put_user(NULL, &frame->rs_uc.uc_link)) in setup_rt_frame()
770 if (__save_altstack(&frame->rs_uc.uc_stack, regs->regs[29])) in setup_rt_frame()
772 if (setup_sigcontext(regs, &frame->rs_uc.uc_mcontext)) in setup_rt_frame()
774 if (__copy_to_user(&frame->rs_uc.uc_sigmask, set, sizeof(*set))) in setup_rt_frame()
789 regs->regs[ 6] = (unsigned long) &frame->rs_uc; in setup_rt_frame()
[all …]