Lines Matching refs:old_ka
164 struct k_sigaction new_ka, old_ka; in sys32_sigaction() local
181 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in sys32_sigaction()
184 sa_handler = (unsigned long) old_ka.sa.sa_handler; in sys32_sigaction()
185 sa_restorer = (unsigned long) old_ka.sa.sa_restorer; in sys32_sigaction()
189 __put_user(old_ka.sa.sa_flags, &oact->sa_flags) || in sys32_sigaction()
190 __put_user(old_ka.sa.sa_mask.sig[0], &oact->sa_mask)) in sys32_sigaction()
201 struct k_sigaction new_ka, old_ka; in sys32_rt_sigaction() local
231 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in sys32_rt_sigaction()
236 set32.sig[7] = (old_ka.sa.sa_mask.sig[3] >> 32); in sys32_rt_sigaction()
237 set32.sig[6] = old_ka.sa.sa_mask.sig[3]; in sys32_rt_sigaction()
239 set32.sig[5] = (old_ka.sa.sa_mask.sig[2] >> 32); in sys32_rt_sigaction()
240 set32.sig[4] = old_ka.sa.sa_mask.sig[2]; in sys32_rt_sigaction()
242 set32.sig[3] = (old_ka.sa.sa_mask.sig[1] >> 32); in sys32_rt_sigaction()
243 set32.sig[2] = old_ka.sa.sa_mask.sig[1]; in sys32_rt_sigaction()
245 set32.sig[1] = (old_ka.sa.sa_mask.sig[0] >> 32); in sys32_rt_sigaction()
246 set32.sig[0] = old_ka.sa.sa_mask.sig[0]; in sys32_rt_sigaction()
248 ret = put_user((unsigned long)old_ka.sa.sa_handler, &oact->sa_handler); in sys32_rt_sigaction()
251 ret |= __put_user(old_ka.sa.sa_flags, &oact->sa_flags); in sys32_rt_sigaction()