Home
last modified time | relevance | path

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

/Linux-v5.15/arch/mips/kernel/
Dsignal_n32.c51 struct ucontextn32 rs_uc; member
65 if (__copy_conv_sigset_from_user(&set, &frame->rs_uc.uc_sigmask)) in sysn32_rt_sigreturn()
70 sig = restore_sigcontext(regs, &frame->rs_uc.uc_mcontext); in sysn32_rt_sigreturn()
76 if (compat_restore_altstack(&frame->rs_uc.uc_stack)) in sysn32_rt_sigreturn()
107 err |= __put_user(0, &frame->rs_uc.uc_flags); in setup_rt_frame_n32()
108 err |= __put_user(0, &frame->rs_uc.uc_link); in setup_rt_frame_n32()
109 err |= __compat_save_altstack(&frame->rs_uc.uc_stack, regs->regs[29]); in setup_rt_frame_n32()
110 err |= setup_sigcontext(regs, &frame->rs_uc.uc_mcontext); in setup_rt_frame_n32()
111 err |= __copy_conv_sigset_to_user(&frame->rs_uc.uc_sigmask, set); in setup_rt_frame_n32()
128 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.c62 struct ucontext rs_uc; member
678 if (__copy_from_user(&set, &frame->rs_uc.uc_sigmask, sizeof(set))) in sys_rt_sigreturn()
683 sig = restore_sigcontext(regs, &frame->rs_uc.uc_mcontext); in sys_rt_sigreturn()
689 if (restore_altstack(&frame->rs_uc.uc_stack)) in sys_rt_sigreturn()
760 err |= __put_user(0, &frame->rs_uc.uc_flags); in setup_rt_frame()
761 err |= __put_user(NULL, &frame->rs_uc.uc_link); in setup_rt_frame()
762 err |= __save_altstack(&frame->rs_uc.uc_stack, regs->regs[29]); in setup_rt_frame()
763 err |= setup_sigcontext(regs, &frame->rs_uc.uc_mcontext); in setup_rt_frame()
764 err |= __copy_to_user(&frame->rs_uc.uc_sigmask, set, sizeof(*set)); in setup_rt_frame()
781 regs->regs[ 6] = (unsigned long) &frame->rs_uc; in setup_rt_frame()
[all …]