ksig 265 arch/alpha/kernel/signal.c get_sigframe(struct ksignal *ksig, unsigned long sp, size_t frame_size) ksig 267 arch/alpha/kernel/signal.c return (void __user *)((sigsp(sp, ksig) - frame_size) & -32ul); ksig 328 arch/alpha/kernel/signal.c setup_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs) ksig 334 arch/alpha/kernel/signal.c frame = get_sigframe(ksig, oldsp, sizeof(*frame)); ksig 344 arch/alpha/kernel/signal.c r26 = (unsigned long) ksig->ka.ka_restorer; ksig 359 arch/alpha/kernel/signal.c regs->r27 = regs->pc = (unsigned long) ksig->ka.sa.sa_handler; ksig 360 arch/alpha/kernel/signal.c regs->r16 = ksig->sig; /* a0: signal number */ ksig 373 arch/alpha/kernel/signal.c setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs) ksig 379 arch/alpha/kernel/signal.c frame = get_sigframe(ksig, oldsp, sizeof(*frame)); ksig 383 arch/alpha/kernel/signal.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 398 arch/alpha/kernel/signal.c r26 = (unsigned long) ksig->ka.ka_restorer; ksig 413 arch/alpha/kernel/signal.c regs->r27 = regs->pc = (unsigned long) ksig->ka.sa.sa_handler; ksig 414 arch/alpha/kernel/signal.c regs->r16 = ksig->sig; /* a0: signal number */ ksig 432 arch/alpha/kernel/signal.c handle_signal(struct ksignal *ksig, struct pt_regs *regs) ksig 437 arch/alpha/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) ksig 438 arch/alpha/kernel/signal.c ret = setup_rt_frame(ksig, oldset, regs); ksig 440 arch/alpha/kernel/signal.c ret = setup_frame(ksig, oldset, regs); ksig 442 arch/alpha/kernel/signal.c signal_setup_done(ret, ksig, 0); ksig 486 arch/alpha/kernel/signal.c struct ksignal ksig; ksig 489 arch/alpha/kernel/signal.c if (get_signal(&ksig)) { ksig 494 arch/alpha/kernel/signal.c syscall_restart(r0, r19, regs, &ksig.ka); ksig 495 arch/alpha/kernel/signal.c handle_signal(&ksig, regs); ksig 204 arch/arc/kernel/signal.c static inline void __user *get_sigframe(struct ksignal *ksig, ksig 208 arch/arc/kernel/signal.c unsigned long sp = sigsp(regs->sp, ksig); ksig 226 arch/arc/kernel/signal.c setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs) ksig 232 arch/arc/kernel/signal.c sf = get_sigframe(ksig, regs, sizeof(struct rt_sigframe)); ksig 251 arch/arc/kernel/signal.c if (unlikely(ksig->ka.sa.sa_flags & SA_SIGINFO)) { ksig 252 arch/arc/kernel/signal.c err |= copy_siginfo_to_user(&sf->info, &ksig->info); ksig 273 arch/arc/kernel/signal.c regs->r0 = ksig->sig; ksig 276 arch/arc/kernel/signal.c regs->ret = (unsigned long)ksig->ka.sa.sa_handler; ksig 282 arch/arc/kernel/signal.c if(!(ksig->ka.sa.sa_flags & SA_RESTORER)) ksig 285 arch/arc/kernel/signal.c regs->blink = (unsigned long)ksig->ka.sa.sa_restorer; ksig 347 arch/arc/kernel/signal.c handle_signal(struct ksignal *ksig, struct pt_regs *regs) ksig 353 arch/arc/kernel/signal.c failed = setup_rt_frame(ksig, oldset, regs); ksig 355 arch/arc/kernel/signal.c signal_setup_done(failed, ksig, 0); ksig 360 arch/arc/kernel/signal.c struct ksignal ksig; ksig 365 arch/arc/kernel/signal.c if (get_signal(&ksig)) { ksig 367 arch/arc/kernel/signal.c arc_restart_syscall(&ksig.ka, regs); ksig 370 arch/arc/kernel/signal.c handle_signal(&ksig, regs); ksig 342 arch/arm/kernel/signal.c get_sigframe(struct ksignal *ksig, struct pt_regs *regs, int framesize) ksig 344 arch/arm/kernel/signal.c unsigned long sp = sigsp(regs->ARM_sp, ksig); ksig 362 arch/arm/kernel/signal.c setup_return(struct pt_regs *regs, struct ksignal *ksig, ksig 365 arch/arm/kernel/signal.c unsigned long handler = (unsigned long)ksig->ka.sa.sa_handler; ksig 386 arch/arm/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_THIRTYTWO) ksig 417 arch/arm/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { ksig 418 arch/arm/kernel/signal.c retcode = (unsigned long)ksig->ka.sa.sa_restorer; ksig 428 arch/arm/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) ksig 439 arch/arm/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) ksig 476 arch/arm/kernel/signal.c regs->ARM_r0 = ksig->sig; ksig 488 arch/arm/kernel/signal.c setup_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs) ksig 490 arch/arm/kernel/signal.c struct sigframe __user *frame = get_sigframe(ksig, regs, sizeof(*frame)); ksig 503 arch/arm/kernel/signal.c err = setup_return(regs, ksig, frame->retcode, frame); ksig 509 arch/arm/kernel/signal.c setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs) ksig 511 arch/arm/kernel/signal.c struct rt_sigframe __user *frame = get_sigframe(ksig, regs, sizeof(*frame)); ksig 517 arch/arm/kernel/signal.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 525 arch/arm/kernel/signal.c err = setup_return(regs, ksig, frame->sig.retcode, frame); ksig 543 arch/arm/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs) ksig 551 arch/arm/kernel/signal.c rseq_signal_deliver(ksig, regs); ksig 556 arch/arm/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) ksig 557 arch/arm/kernel/signal.c ret = setup_rt_frame(ksig, oldset, regs); ksig 559 arch/arm/kernel/signal.c ret = setup_frame(ksig, oldset, regs); ksig 566 arch/arm/kernel/signal.c signal_setup_done(ret, ksig, 0); ksig 581 arch/arm/kernel/signal.c struct ksignal ksig; ksig 619 arch/arm/kernel/signal.c if (get_signal(&ksig)) { ksig 625 arch/arm/kernel/signal.c && !(ksig.ka.sa.sa_flags & SA_RESTART))) { ksig 630 arch/arm/kernel/signal.c handle_signal(&ksig, regs); ksig 57 arch/arm64/include/asm/signal32.h int compat_setup_frame(int usig, struct ksignal *ksig, sigset_t *set, ksig 59 arch/arm64/include/asm/signal32.h int compat_setup_rt_frame(int usig, struct ksignal *ksig, sigset_t *set, ksig 65 arch/arm64/include/asm/signal32.h static inline int compat_setup_frame(int usid, struct ksignal *ksig, ksig 71 arch/arm64/include/asm/signal32.h static inline int compat_setup_rt_frame(int usig, struct ksignal *ksig, sigset_t *set, ksig 696 arch/arm64/kernel/signal.c struct ksignal *ksig, struct pt_regs *regs) ksig 706 arch/arm64/kernel/signal.c sp = sp_top = sigsp(regs->sp, ksig); ksig 741 arch/arm64/kernel/signal.c static int setup_rt_frame(int usig, struct ksignal *ksig, sigset_t *set, ksig 750 arch/arm64/kernel/signal.c if (get_sigframe(&user, ksig, regs)) ksig 761 arch/arm64/kernel/signal.c setup_return(regs, &ksig->ka, &user, usig); ksig 762 arch/arm64/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) { ksig 763 arch/arm64/kernel/signal.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 783 arch/arm64/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs) ksig 787 arch/arm64/kernel/signal.c int usig = ksig->sig; ksig 790 arch/arm64/kernel/signal.c rseq_signal_deliver(ksig, regs); ksig 796 arch/arm64/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) ksig 797 arch/arm64/kernel/signal.c ret = compat_setup_rt_frame(usig, ksig, oldset, regs); ksig 799 arch/arm64/kernel/signal.c ret = compat_setup_frame(usig, ksig, oldset, regs); ksig 801 arch/arm64/kernel/signal.c ret = setup_rt_frame(usig, ksig, oldset, regs); ksig 816 arch/arm64/kernel/signal.c signal_setup_done(ret, ksig, 0); ksig 832 arch/arm64/kernel/signal.c struct ksignal ksig; ksig 867 arch/arm64/kernel/signal.c if (get_signal(&ksig)) { ksig 877 arch/arm64/kernel/signal.c !(ksig.ka.sa.sa_flags & SA_RESTART)))) { ksig 882 arch/arm64/kernel/signal.c handle_signal(&ksig, regs); ksig 297 arch/arm64/kernel/signal32.c static void __user *compat_get_sigframe(struct ksignal *ksig, ksig 301 arch/arm64/kernel/signal32.c compat_ulong_t sp = sigsp(regs->compat_sp, ksig); ksig 432 arch/arm64/kernel/signal32.c int compat_setup_rt_frame(int usig, struct ksignal *ksig, ksig 438 arch/arm64/kernel/signal32.c frame = compat_get_sigframe(ksig, regs, sizeof(*frame)); ksig 443 arch/arm64/kernel/signal32.c err |= copy_siginfo_to_user32(&frame->info, &ksig->info); ksig 453 arch/arm64/kernel/signal32.c compat_setup_return(regs, &ksig->ka, frame->sig.retcode, frame, usig); ksig 461 arch/arm64/kernel/signal32.c int compat_setup_frame(int usig, struct ksignal *ksig, sigset_t *set, ksig 467 arch/arm64/kernel/signal32.c frame = compat_get_sigframe(ksig, regs, sizeof(*frame)); ksig 476 arch/arm64/kernel/signal32.c compat_setup_return(regs, &ksig->ka, frame->retcode, frame, usig); ksig 127 arch/c6x/kernel/signal.c static inline void __user *get_sigframe(struct ksignal *ksig, ksig 131 arch/c6x/kernel/signal.c unsigned long sp = sigsp(regs->sp, ksig); ksig 140 arch/c6x/kernel/signal.c static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, ksig 147 arch/c6x/kernel/signal.c frame = get_sigframe(ksig, regs, sizeof(*frame)); ksig 154 arch/c6x/kernel/signal.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 192 arch/c6x/kernel/signal.c regs->pc = (unsigned long) ksig->ka.sa.sa_handler; ksig 195 arch/c6x/kernel/signal.c regs->a4 = ksig->sig; ksig 235 arch/c6x/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs, ksig 250 arch/c6x/kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { ksig 263 arch/c6x/kernel/signal.c ret = setup_rt_frame(ksig, sigmask_to_save(), regs); ksig 264 arch/c6x/kernel/signal.c signal_setup_done(ret, ksig, 0); ksig 272 arch/c6x/kernel/signal.c struct ksignal ksig; ksig 279 arch/c6x/kernel/signal.c if (get_signal(&ksig)) { ksig 280 arch/c6x/kernel/signal.c handle_signal(&ksig, regs, syscall); ksig 109 arch/csky/kernel/signal.c static inline void __user *get_sigframe(struct ksignal *ksig, ksig 124 arch/csky/kernel/signal.c sp = sigsp(sp, ksig) - framesize; ksig 133 arch/csky/kernel/signal.c setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs) ksig 139 arch/csky/kernel/signal.c frame = get_sigframe(ksig, regs, sizeof(*frame)); ksig 143 arch/csky/kernel/signal.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 164 arch/csky/kernel/signal.c regs->pc = (unsigned long)ksig->ka.sa.sa_handler; ksig 166 arch/csky/kernel/signal.c regs->a0 = ksig->sig; /* a0: signal number */ ksig 173 arch/csky/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs) ksig 191 arch/csky/kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { ksig 204 arch/csky/kernel/signal.c ret = setup_rt_frame(ksig, oldset, regs); ksig 206 arch/csky/kernel/signal.c signal_setup_done(ret, ksig, 0); ksig 211 arch/csky/kernel/signal.c struct ksignal ksig; ksig 213 arch/csky/kernel/signal.c if (get_signal(&ksig)) { ksig 215 arch/csky/kernel/signal.c handle_signal(&ksig, regs); ksig 154 arch/h8300/kernel/signal.c get_sigframe(struct ksignal *ksig, struct pt_regs *regs, size_t frame_size) ksig 156 arch/h8300/kernel/signal.c return (void __user *)((sigsp(rdusp(), ksig) - frame_size) & -8UL); ksig 159 arch/h8300/kernel/signal.c static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, ksig 166 arch/h8300/kernel/signal.c frame = get_sigframe(ksig, regs, sizeof(*frame)); ksig 171 arch/h8300/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) ksig 172 arch/h8300/kernel/signal.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 185 arch/h8300/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) ksig 186 arch/h8300/kernel/signal.c ret = (unsigned char *)(ksig->ka.sa.sa_restorer); ksig 201 arch/h8300/kernel/signal.c regs->pc = (unsigned long)ksig->ka.sa.sa_handler; ksig 202 arch/h8300/kernel/signal.c regs->er0 = ksig->sig; ksig 244 arch/h8300/kernel/signal.c handle_signal(struct ksignal *ksig, struct pt_regs *regs) ksig 250 arch/h8300/kernel/signal.c handle_restart(regs, &ksig->ka); ksig 252 arch/h8300/kernel/signal.c ret = setup_rt_frame(ksig, oldset, regs); ksig 254 arch/h8300/kernel/signal.c signal_setup_done(ret, ksig, 0); ksig 264 arch/h8300/kernel/signal.c struct ksignal ksig; ksig 268 arch/h8300/kernel/signal.c if (get_signal(&ksig)) { ksig 270 arch/h8300/kernel/signal.c handle_signal(&ksig, regs); ksig 28 arch/hexagon/kernel/signal.c static void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs, ksig 31 arch/hexagon/kernel/signal.c unsigned long sp = sigsp(regs->r29, ksig); ksig 96 arch/hexagon/kernel/signal.c static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, ksig 103 arch/hexagon/kernel/signal.c frame = get_sigframe(ksig, regs, sizeof(struct rt_sigframe)); ksig 108 arch/hexagon/kernel/signal.c if (copy_siginfo_to_user(&frame->info, &ksig->info)) ksig 125 arch/hexagon/kernel/signal.c | (unsigned long long)ksig->sig; ksig 129 arch/hexagon/kernel/signal.c pt_set_elr(regs, (unsigned long)ksig->ka.sa.sa_handler); ksig 137 arch/hexagon/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs) ksig 154 arch/hexagon/kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { ksig 174 arch/hexagon/kernel/signal.c ret = setup_rt_frame(ksig, sigmask_to_save(), regs); ksig 176 arch/hexagon/kernel/signal.c signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLESTEP)); ksig 184 arch/hexagon/kernel/signal.c struct ksignal ksig; ksig 189 arch/hexagon/kernel/signal.c if (get_signal(&ksig)) { ksig 190 arch/hexagon/kernel/signal.c handle_signal(&ksig, regs); ksig 227 arch/ia64/kernel/signal.c setup_frame(struct ksignal *ksig, sigset_t *set, struct sigscratch *scr) ksig 236 arch/ia64/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_ONSTACK) { ksig 260 arch/ia64/kernel/signal.c force_sigsegv(ksig->sig); ksig 268 arch/ia64/kernel/signal.c force_sigsegv(ksig->sig); ksig 272 arch/ia64/kernel/signal.c err = __put_user(ksig->sig, &frame->arg0); ksig 277 arch/ia64/kernel/signal.c err |= __put_user(ksig->ka.sa.sa_handler, &frame->handler); ksig 279 arch/ia64/kernel/signal.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 285 arch/ia64/kernel/signal.c force_sigsegv(ksig->sig); ksig 312 arch/ia64/kernel/signal.c current->comm, current->pid, ksig->sig, scr->pt.r12, frame->sc.sc_ip, frame->handler); ksig 318 arch/ia64/kernel/signal.c handle_signal (struct ksignal *ksig, struct sigscratch *scr) ksig 320 arch/ia64/kernel/signal.c int ret = setup_frame(ksig, sigmask_to_save(), scr); ksig 323 arch/ia64/kernel/signal.c signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLESTEP)); ksig 337 arch/ia64/kernel/signal.c struct ksignal ksig; ksig 344 arch/ia64/kernel/signal.c get_signal(&ksig); ksig 361 arch/ia64/kernel/signal.c if (ksig.sig <= 0) ksig 372 arch/ia64/kernel/signal.c if ((ksig.ka.sa.sa_flags & SA_RESTART) == 0) { ksig 388 arch/ia64/kernel/signal.c if (handle_signal(&ksig, scr)) ksig 879 arch/m68k/kernel/signal.c get_sigframe(struct ksignal *ksig, size_t frame_size) ksig 881 arch/m68k/kernel/signal.c unsigned long usp = sigsp(rdusp(), ksig); ksig 886 arch/m68k/kernel/signal.c static int setup_frame(struct ksignal *ksig, sigset_t *set, ksig 892 arch/m68k/kernel/signal.c int err = 0, sig = ksig->sig; ksig 900 arch/m68k/kernel/signal.c frame = get_sigframe(ksig, sizeof(*frame) + fsize); ksig 937 arch/m68k/kernel/signal.c regs->pc = (unsigned long) ksig->ka.sa.sa_handler; ksig 963 arch/m68k/kernel/signal.c static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, ksig 968 arch/m68k/kernel/signal.c int err = 0, sig = ksig->sig; ksig 976 arch/m68k/kernel/signal.c frame = get_sigframe(ksig, sizeof(*frame)); ksig 984 arch/m68k/kernel/signal.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 1021 arch/m68k/kernel/signal.c regs->pc = (unsigned long) ksig->ka.sa.sa_handler; ksig 1084 arch/m68k/kernel/signal.c handle_signal(struct ksignal *ksig, struct pt_regs *regs) ksig 1091 arch/m68k/kernel/signal.c handle_restart(regs, &ksig->ka, 1); ksig 1094 arch/m68k/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) ksig 1095 arch/m68k/kernel/signal.c err = setup_rt_frame(ksig, oldset, regs); ksig 1097 arch/m68k/kernel/signal.c err = setup_frame(ksig, oldset, regs); ksig 1099 arch/m68k/kernel/signal.c signal_setup_done(err, ksig, 0); ksig 1114 arch/m68k/kernel/signal.c struct ksignal ksig; ksig 1118 arch/m68k/kernel/signal.c if (get_signal(&ksig)) { ksig 1120 arch/m68k/kernel/signal.c handle_signal(&ksig, regs); ksig 148 arch/microblaze/kernel/signal.c get_sigframe(struct ksignal *ksig, struct pt_regs *regs, size_t frame_size) ksig 151 arch/microblaze/kernel/signal.c unsigned long sp = sigsp(regs->r1, ksig); ksig 156 arch/microblaze/kernel/signal.c static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, ksig 160 arch/microblaze/kernel/signal.c int err = 0, sig = ksig->sig; ksig 167 arch/microblaze/kernel/signal.c frame = get_sigframe(ksig, regs, sizeof(*frame)); ksig 172 arch/microblaze/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) ksig 173 arch/microblaze/kernel/signal.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 230 arch/microblaze/kernel/signal.c regs->pc = (unsigned long)ksig->ka.sa.sa_handler; ksig 270 arch/microblaze/kernel/signal.c handle_signal(struct ksignal *ksig, struct pt_regs *regs) ksig 276 arch/microblaze/kernel/signal.c ret = setup_rt_frame(ksig, oldset, regs); ksig 278 arch/microblaze/kernel/signal.c signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLESTEP)); ksig 292 arch/microblaze/kernel/signal.c struct ksignal ksig; ksig 300 arch/microblaze/kernel/signal.c if (get_signal(&ksig)) { ksig 303 arch/microblaze/kernel/signal.c handle_restart(regs, &ksig.ka, 1); ksig 304 arch/microblaze/kernel/signal.c handle_signal(&ksig, regs); ksig 19 arch/mips/include/asm/abi.h int (* const setup_frame)(void *sig_return, struct ksignal *ksig, ksig 21 arch/mips/include/asm/abi.h int (* const setup_rt_frame)(void *sig_return, struct ksignal *ksig, ksig 25 arch/mips/kernel/signal-common.h extern void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs, ksig 548 arch/mips/kernel/signal.c void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs, ksig 566 arch/mips/kernel/signal.c sp = sigsp(sp, ksig); ksig 701 arch/mips/kernel/signal.c static int setup_frame(void *sig_return, struct ksignal *ksig, ksig 707 arch/mips/kernel/signal.c frame = get_sigframe(ksig, regs, sizeof(*frame)); ksig 726 arch/mips/kernel/signal.c regs->regs[ 4] = ksig->sig; ksig 731 arch/mips/kernel/signal.c regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; ksig 740 arch/mips/kernel/signal.c static int setup_rt_frame(void *sig_return, struct ksignal *ksig, ksig 746 arch/mips/kernel/signal.c frame = get_sigframe(ksig, regs, sizeof(*frame)); ksig 751 arch/mips/kernel/signal.c err |= copy_siginfo_to_user(&frame->rs_info, &ksig->info); ksig 773 arch/mips/kernel/signal.c regs->regs[ 4] = ksig->sig; ksig 778 arch/mips/kernel/signal.c regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; ksig 801 arch/mips/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs) ksig 823 arch/mips/kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { ksig 837 arch/mips/kernel/signal.c rseq_signal_deliver(ksig, regs); ksig 839 arch/mips/kernel/signal.c if (sig_uses_siginfo(&ksig->ka, abi)) ksig 841 arch/mips/kernel/signal.c ksig, regs, oldset); ksig 844 arch/mips/kernel/signal.c ksig, regs, oldset); ksig 846 arch/mips/kernel/signal.c signal_setup_done(ret, ksig, 0); ksig 851 arch/mips/kernel/signal.c struct ksignal ksig; ksig 853 arch/mips/kernel/signal.c if (get_signal(&ksig)) { ksig 855 arch/mips/kernel/signal.c handle_signal(&ksig, regs); ksig 93 arch/mips/kernel/signal_n32.c static int setup_rt_frame_n32(void *sig_return, struct ksignal *ksig, ksig 99 arch/mips/kernel/signal_n32.c frame = get_sigframe(ksig, regs, sizeof(*frame)); ksig 104 arch/mips/kernel/signal_n32.c err |= copy_siginfo_to_user32(&frame->rs_info, &ksig->info); ksig 126 arch/mips/kernel/signal_n32.c regs->regs[ 4] = ksig->sig; ksig 131 arch/mips/kernel/signal_n32.c regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; ksig 114 arch/mips/kernel/signal_o32.c static int setup_frame_32(void *sig_return, struct ksignal *ksig, ksig 120 arch/mips/kernel/signal_o32.c frame = get_sigframe(ksig, regs, sizeof(*frame)); ksig 140 arch/mips/kernel/signal_o32.c regs->regs[ 4] = ksig->sig; ksig 145 arch/mips/kernel/signal_o32.c regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; ksig 193 arch/mips/kernel/signal_o32.c static int setup_rt_frame_32(void *sig_return, struct ksignal *ksig, ksig 199 arch/mips/kernel/signal_o32.c frame = get_sigframe(ksig, regs, sizeof(*frame)); ksig 204 arch/mips/kernel/signal_o32.c err |= copy_siginfo_to_user32(&frame->rs_info, &ksig->info); ksig 226 arch/mips/kernel/signal_o32.c regs->regs[ 4] = ksig->sig; ksig 231 arch/mips/kernel/signal_o32.c regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; ksig 230 arch/nds32/kernel/signal.c static inline void __user *get_sigframe(struct ksignal *ksig, ksig 246 arch/nds32/kernel/signal.c sp = (sigsp(sp, ksig) - framesize); ksig 257 arch/nds32/kernel/signal.c setup_return(struct pt_regs *regs, struct ksignal *ksig, void __user * frame) ksig 259 arch/nds32/kernel/signal.c unsigned long handler = (unsigned long)ksig->ka.sa.sa_handler; ksig 263 arch/nds32/kernel/signal.c regs->uregs[0] = ksig->sig; ksig 272 arch/nds32/kernel/signal.c setup_rt_frame(struct ksignal *ksig, sigset_t * set, struct pt_regs *regs) ksig 275 arch/nds32/kernel/signal.c get_sigframe(ksig, regs, sizeof(*frame)); ksig 287 arch/nds32/kernel/signal.c setup_return(regs, ksig, frame); ksig 288 arch/nds32/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) { ksig 289 arch/nds32/kernel/signal.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 300 arch/nds32/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs) ksig 315 arch/nds32/kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { ksig 329 arch/nds32/kernel/signal.c ret = setup_rt_frame(ksig, oldset, regs); ksig 331 arch/nds32/kernel/signal.c signal_setup_done(ret, ksig, 0); ksig 345 arch/nds32/kernel/signal.c struct ksignal ksig; ksig 347 arch/nds32/kernel/signal.c if (get_signal(&ksig)) { ksig 348 arch/nds32/kernel/signal.c handle_signal(&ksig, regs); ksig 165 arch/nios2/kernel/signal.c static inline void *get_sigframe(struct ksignal *ksig, struct pt_regs *regs, ksig 174 arch/nios2/kernel/signal.c usp = sigsp(usp, ksig); ksig 180 arch/nios2/kernel/signal.c static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, ksig 186 arch/nios2/kernel/signal.c frame = get_sigframe(ksig, regs, sizeof(*frame)); ksig 188 arch/nios2/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) ksig 189 arch/nios2/kernel/signal.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 207 arch/nios2/kernel/signal.c regs->r4 = (unsigned long) ksig->sig; ksig 210 arch/nios2/kernel/signal.c regs->ea = (unsigned long) ksig->ka.sa.sa_handler; ksig 214 arch/nios2/kernel/signal.c force_sigsegv(ksig->sig); ksig 221 arch/nios2/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs) ksig 227 arch/nios2/kernel/signal.c ret = setup_rt_frame(ksig, oldset, regs); ksig 229 arch/nios2/kernel/signal.c signal_setup_done(ret, ksig, 0); ksig 236 arch/nios2/kernel/signal.c struct ksignal ksig; ksig 266 arch/nios2/kernel/signal.c if (get_signal(&ksig)) { ksig 272 arch/nios2/kernel/signal.c && !(ksig.ka.sa.sa_flags & SA_RESTART))) { ksig 278 arch/nios2/kernel/signal.c handle_signal(&ksig, regs); ksig 131 arch/openrisc/kernel/signal.c static inline void __user *get_sigframe(struct ksignal *ksig, ksig 138 arch/openrisc/kernel/signal.c sp = sigsp(sp, ksig); ksig 151 arch/openrisc/kernel/signal.c static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, ksig 158 arch/openrisc/kernel/signal.c frame = get_sigframe(ksig, regs, sizeof(*frame)); ksig 164 arch/openrisc/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) ksig 165 arch/openrisc/kernel/signal.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 193 arch/openrisc/kernel/signal.c regs->pc = (unsigned long)ksig->ka.sa.sa_handler; /* what we enter NOW */ ksig 195 arch/openrisc/kernel/signal.c regs->gpr[3] = (unsigned long)ksig->sig; /* arg 1: signo */ ksig 206 arch/openrisc/kernel/signal.c handle_signal(struct ksignal *ksig, struct pt_regs *regs) ksig 210 arch/openrisc/kernel/signal.c ret = setup_rt_frame(ksig, sigmask_to_save(), regs); ksig 212 arch/openrisc/kernel/signal.c signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLESTEP)); ksig 229 arch/openrisc/kernel/signal.c struct ksignal ksig; ksig 264 arch/openrisc/kernel/signal.c if (get_signal(&ksig)) { ksig 269 arch/openrisc/kernel/signal.c && !(ksig.ka.sa.sa_flags & SA_RESTART))) { ksig 275 arch/openrisc/kernel/signal.c handle_signal(&ksig, regs); ksig 228 arch/parisc/kernel/signal.c setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs, ksig 242 arch/parisc/kernel/signal.c frame = get_sigframe(&ksig->ka, usp, sizeof(*frame)); ksig 245 arch/parisc/kernel/signal.c DBG(1,"setup_rt_frame: frame %p info %p\n", frame, ksig->info); ksig 254 arch/parisc/kernel/signal.c err |= copy_siginfo_to_user32(&compat_frame->info, &ksig->info); ksig 266 arch/parisc/kernel/signal.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 315 arch/parisc/kernel/signal.c haddr = A(ksig->ka.sa.sa_handler); ksig 387 arch/parisc/kernel/signal.c regs->gr[26] = ksig->sig; /* signal number */ ksig 419 arch/parisc/kernel/signal.c handle_signal(struct ksignal *ksig, struct pt_regs *regs, int in_syscall) ksig 425 arch/parisc/kernel/signal.c ksig->sig, ksig->ka, ksig->info, oldset, regs); ksig 428 arch/parisc/kernel/signal.c ret = setup_rt_frame(ksig, oldset, regs, in_syscall); ksig 430 arch/parisc/kernel/signal.c signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLESTEP) || ksig 580 arch/parisc/kernel/signal.c struct ksignal ksig; ksig 585 arch/parisc/kernel/signal.c if (get_signal(&ksig)) { ksig 589 arch/parisc/kernel/signal.c syscall_restart(regs, &ksig.ka); ksig 591 arch/parisc/kernel/signal.c handle_signal(&ksig, regs, in_syscall); ksig 36 arch/powerpc/kernel/signal.c void __user *get_sigframe(struct ksignal *ksig, unsigned long sp, ksig 43 arch/powerpc/kernel/signal.c oldsp = sigsp(oldsp, ksig); ksig 107 arch/powerpc/kernel/signal.c struct ksignal ksig = { .sig = 0 }; ksig 113 arch/powerpc/kernel/signal.c get_signal(&ksig); ksig 116 arch/powerpc/kernel/signal.c check_syscall_restart(tsk->thread.regs, &ksig.ka, ksig.sig > 0); ksig 118 arch/powerpc/kernel/signal.c if (ksig.sig <= 0) { ksig 137 arch/powerpc/kernel/signal.c rseq_signal_deliver(&ksig, tsk->thread.regs); ksig 140 arch/powerpc/kernel/signal.c if (ksig.ka.sa.sa_flags & SA_SIGINFO) ksig 141 arch/powerpc/kernel/signal.c ret = handle_rt_signal32(&ksig, oldset, tsk); ksig 143 arch/powerpc/kernel/signal.c ret = handle_signal32(&ksig, oldset, tsk); ksig 145 arch/powerpc/kernel/signal.c ret = handle_rt_signal64(&ksig, oldset, tsk); ksig 149 arch/powerpc/kernel/signal.c signal_setup_done(ret, &ksig, test_thread_flag(TIF_SINGLESTEP)); ksig 15 arch/powerpc/kernel/signal.h extern void __user *get_sigframe(struct ksignal *ksig, unsigned long sp, ksig 18 arch/powerpc/kernel/signal.h extern int handle_signal32(struct ksignal *ksig, sigset_t *oldset, ksig 21 arch/powerpc/kernel/signal.h extern int handle_rt_signal32(struct ksignal *ksig, sigset_t *oldset, ksig 47 arch/powerpc/kernel/signal.h extern int handle_rt_signal64(struct ksignal *ksig, sigset_t *set, ksig 55 arch/powerpc/kernel/signal.h static inline int handle_rt_signal64(struct ksignal *ksig, sigset_t *set, ksig 896 arch/powerpc/kernel/signal_32.c int handle_rt_signal32(struct ksignal *ksig, sigset_t *oldset, ksig 916 arch/powerpc/kernel/signal_32.c rt_sf = get_sigframe(ksig, get_tm_stackpointer(tsk), sizeof(*rt_sf), 1); ksig 922 arch/powerpc/kernel/signal_32.c if (copy_siginfo_to_user(&rt_sf->info, &ksig->info) ksig 972 arch/powerpc/kernel/signal_32.c regs->gpr[3] = ksig->sig; ksig 976 arch/powerpc/kernel/signal_32.c regs->nip = (unsigned long) ksig->ka.sa.sa_handler; ksig 1358 arch/powerpc/kernel/signal_32.c int handle_signal32(struct ksignal *ksig, sigset_t *oldset, ksig 1376 arch/powerpc/kernel/signal_32.c frame = get_sigframe(ksig, get_tm_stackpointer(tsk), sizeof(*frame), 1); ksig 1384 arch/powerpc/kernel/signal_32.c if (__put_user(to_user_ptr(ksig->ka.sa.sa_handler), &sc->handler) ksig 1392 arch/powerpc/kernel/signal_32.c || __put_user(ksig->sig, &sc->signal)) ksig 1427 arch/powerpc/kernel/signal_32.c regs->gpr[3] = ksig->sig; ksig 1429 arch/powerpc/kernel/signal_32.c regs->nip = (unsigned long) (unsigned long)ksig->ka.sa.sa_handler; ksig 815 arch/powerpc/kernel/signal_64.c int handle_rt_signal64(struct ksignal *ksig, sigset_t *set, ksig 829 arch/powerpc/kernel/signal_64.c frame = get_sigframe(ksig, get_tm_stackpointer(tsk), sizeof(*frame), 0); ksig 835 arch/powerpc/kernel/signal_64.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 850 arch/powerpc/kernel/signal_64.c tsk, ksig->sig, NULL, ksig 851 arch/powerpc/kernel/signal_64.c (unsigned long)ksig->ka.sa.sa_handler, ksig 857 arch/powerpc/kernel/signal_64.c err |= setup_sigcontext(&frame->uc.uc_mcontext, tsk, ksig->sig, ksig 858 arch/powerpc/kernel/signal_64.c NULL, (unsigned long)ksig->ka.sa.sa_handler, ksig 884 arch/powerpc/kernel/signal_64.c regs->nip = (unsigned long) ksig->ka.sa.sa_handler; ksig 893 arch/powerpc/kernel/signal_64.c (func_descr_t __user *) ksig->ka.sa.sa_handler; ksig 903 arch/powerpc/kernel/signal_64.c regs->gpr[3] = ksig->sig; ksig 905 arch/powerpc/kernel/signal_64.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) { ksig 146 arch/riscv/kernel/signal.c static inline void __user *get_sigframe(struct ksignal *ksig, ksig 161 arch/riscv/kernel/signal.c sp = sigsp(sp, ksig) - framesize; ksig 170 arch/riscv/kernel/signal.c static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, ksig 176 arch/riscv/kernel/signal.c frame = get_sigframe(ksig, regs, sizeof(*frame)); ksig 180 arch/riscv/kernel/signal.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 202 arch/riscv/kernel/signal.c regs->sepc = (unsigned long)ksig->ka.sa.sa_handler; ksig 204 arch/riscv/kernel/signal.c regs->a0 = ksig->sig; /* a0: signal number */ ksig 210 arch/riscv/kernel/signal.c current->comm, task_pid_nr(current), ksig->sig, ksig 217 arch/riscv/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs) ksig 235 arch/riscv/kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { ksig 248 arch/riscv/kernel/signal.c ret = setup_rt_frame(ksig, oldset, regs); ksig 250 arch/riscv/kernel/signal.c signal_setup_done(ret, ksig, 0); ksig 255 arch/riscv/kernel/signal.c struct ksignal ksig; ksig 257 arch/riscv/kernel/signal.c if (get_signal(&ksig)) { ksig 259 arch/riscv/kernel/signal.c handle_signal(&ksig, regs); ksig 253 arch/s390/kernel/compat_signal.c static int setup_frame32(struct ksignal *ksig, sigset_t *set, ksig 256 arch/s390/kernel/compat_signal.c int sig = ksig->sig; ksig 270 arch/s390/kernel/compat_signal.c frame = get_sigframe(&ksig->ka, regs, frame_size); ksig 302 arch/s390/kernel/compat_signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { ksig 304 arch/s390/kernel/compat_signal.c ksig->ka.sa.sa_restorer | PSW32_ADDR_AMODE; ksig 320 arch/s390/kernel/compat_signal.c regs->psw.addr = (__force __u64) ksig->ka.sa.sa_handler; ksig 338 arch/s390/kernel/compat_signal.c static int setup_rt_frame32(struct ksignal *ksig, sigset_t *set, ksig 359 arch/s390/kernel/compat_signal.c frame = get_sigframe(&ksig->ka, regs, frame_size); ksig 369 arch/s390/kernel/compat_signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { ksig 371 arch/s390/kernel/compat_signal.c ksig->ka.sa.sa_restorer | PSW32_ADDR_AMODE; ksig 380 arch/s390/kernel/compat_signal.c if (copy_siginfo_to_user32(&frame->info, &ksig->info)) ksig 402 arch/s390/kernel/compat_signal.c regs->psw.addr = (__u64 __force) ksig->ka.sa.sa_handler; ksig 404 arch/s390/kernel/compat_signal.c regs->gprs[2] = ksig->sig; ksig 415 arch/s390/kernel/compat_signal.c void handle_signal32(struct ksignal *ksig, sigset_t *oldset, ksig 421 arch/s390/kernel/compat_signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) ksig 422 arch/s390/kernel/compat_signal.c ret = setup_rt_frame32(ksig, oldset, regs); ksig 424 arch/s390/kernel/compat_signal.c ret = setup_frame32(ksig, oldset, regs); ksig 426 arch/s390/kernel/compat_signal.c signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLE_STEP)); ksig 54 arch/s390/kernel/entry.h void handle_signal32(struct ksignal *ksig, sigset_t *oldset, ksig 369 arch/s390/kernel/signal.c static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, ksig 388 arch/s390/kernel/signal.c frame = get_sigframe(&ksig->ka, regs, frame_size); ksig 398 arch/s390/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { ksig 399 arch/s390/kernel/signal.c restorer = (unsigned long) ksig->ka.sa.sa_restorer; ksig 408 arch/s390/kernel/signal.c if (copy_siginfo_to_user(&frame->info, &ksig->info)) ksig 430 arch/s390/kernel/signal.c regs->psw.addr = (unsigned long) ksig->ka.sa.sa_handler; ksig 432 arch/s390/kernel/signal.c regs->gprs[2] = ksig->sig; ksig 439 arch/s390/kernel/signal.c static void handle_signal(struct ksignal *ksig, sigset_t *oldset, ksig 445 arch/s390/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) ksig 446 arch/s390/kernel/signal.c ret = setup_rt_frame(ksig, oldset, regs); ksig 448 arch/s390/kernel/signal.c ret = setup_frame(ksig->sig, &ksig->ka, oldset, regs); ksig 450 arch/s390/kernel/signal.c signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLE_STEP)); ksig 464 arch/s390/kernel/signal.c struct ksignal ksig; ksig 475 arch/s390/kernel/signal.c if (get_signal(&ksig)) { ksig 486 arch/s390/kernel/signal.c if (!(ksig.ka.sa.sa_flags & SA_RESTART)) { ksig 501 arch/s390/kernel/signal.c rseq_signal_deliver(&ksig, regs); ksig 503 arch/s390/kernel/signal.c handle_signal32(&ksig, oldset, regs); ksig 505 arch/s390/kernel/signal.c handle_signal(&ksig, oldset, regs); ksig 267 arch/sh/kernel/signal_32.c static int setup_frame(struct ksignal *ksig, sigset_t *set, ksig 271 arch/sh/kernel/signal_32.c int err = 0, sig = ksig->sig; ksig 273 arch/sh/kernel/signal_32.c frame = get_sigframe(&ksig->ka, regs->regs[15], sizeof(*frame)); ksig 286 arch/sh/kernel/signal_32.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { ksig 287 arch/sh/kernel/signal_32.c regs->pr = (unsigned long) ksig->ka.sa.sa_restorer; ksig 317 arch/sh/kernel/signal_32.c (struct fdpic_func_descriptor __user *)ksig->ka.sa.sa_handler; ksig 322 arch/sh/kernel/signal_32.c regs->pc = (unsigned long)ksig->ka.sa.sa_handler; ksig 333 arch/sh/kernel/signal_32.c static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, ksig 337 arch/sh/kernel/signal_32.c int err = 0, sig = ksig->sig; ksig 339 arch/sh/kernel/signal_32.c frame = get_sigframe(&ksig->ka, regs->regs[15], sizeof(*frame)); ksig 344 arch/sh/kernel/signal_32.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 356 arch/sh/kernel/signal_32.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { ksig 357 arch/sh/kernel/signal_32.c regs->pr = (unsigned long) ksig->ka.sa.sa_restorer; ksig 387 arch/sh/kernel/signal_32.c (struct fdpic_func_descriptor __user *)ksig->ka.sa.sa_handler; ksig 392 arch/sh/kernel/signal_32.c regs->pc = (unsigned long)ksig->ka.sa.sa_handler; ksig 434 arch/sh/kernel/signal_32.c handle_signal(struct ksignal *ksig, struct pt_regs *regs, unsigned int save_r0) ksig 440 arch/sh/kernel/signal_32.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) ksig 441 arch/sh/kernel/signal_32.c ret = setup_rt_frame(ksig, oldset, regs); ksig 443 arch/sh/kernel/signal_32.c ret = setup_frame(ksig, oldset, regs); ksig 445 arch/sh/kernel/signal_32.c signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLESTEP)); ksig 459 arch/sh/kernel/signal_32.c struct ksignal ksig; ksig 470 arch/sh/kernel/signal_32.c if (get_signal(&ksig)) { ksig 471 arch/sh/kernel/signal_32.c handle_syscall_restart(save_r0, regs, &ksig.ka.sa); ksig 474 arch/sh/kernel/signal_32.c handle_signal(&ksig, regs, save_r0); ksig 41 arch/sh/kernel/signal_64.c handle_signal(struct ksignal *ksig, struct pt_regs *regs); ksig 81 arch/sh/kernel/signal_64.c struct ksignal ksig; ksig 92 arch/sh/kernel/signal_64.c if (get_signal(&ksig)) { ksig 93 arch/sh/kernel/signal_64.c handle_syscall_restart(regs, &ksig.ka.sa); ksig 96 arch/sh/kernel/signal_64.c handle_signal(&ksig, regs); ksig 374 arch/sh/kernel/signal_64.c static int setup_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs) ksig 377 arch/sh/kernel/signal_64.c int err = 0, sig = ksig->sig; ksig 380 arch/sh/kernel/signal_64.c frame = get_sigframe(&ksig->ka, regs->regs[REG_SP], sizeof(*frame)); ksig 401 arch/sh/kernel/signal_64.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { ksig 406 arch/sh/kernel/signal_64.c ksig->ka->sa.sa_restorer | 0x1); ksig 449 arch/sh/kernel/signal_64.c regs->pc = neff_sign_extend((unsigned long)ksig->ka.sa.sa_handler); ksig 464 arch/sh/kernel/signal_64.c int err = 0, sig = ksig->sig; ksig 466 arch/sh/kernel/signal_64.c frame = get_sigframe(&ksig->ka, regs->regs[REG_SP], sizeof(*frame)); ksig 473 arch/sh/kernel/signal_64.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 493 arch/sh/kernel/signal_64.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { ksig 498 arch/sh/kernel/signal_64.c ksig->ka.sa.sa_restorer | 0x1); ksig 530 arch/sh/kernel/signal_64.c regs->pc = neff_sign_extend((unsigned long)ksig->ka.sa.sa_handler); ksig 544 arch/sh/kernel/signal_64.c handle_signal(struct ksignal *ksig, struct pt_regs *regs) ksig 550 arch/sh/kernel/signal_64.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) ksig 551 arch/sh/kernel/signal_64.c ret = setup_rt_frame(ksig, oldset, regs); ksig 553 arch/sh/kernel/signal_64.c ret = setup_frame(ksig, oldset, regs); ksig 555 arch/sh/kernel/signal_64.c signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLESTEP)); ksig 262 arch/sparc/kernel/signal32.c static void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs, unsigned long framesize) ksig 277 arch/sparc/kernel/signal32.c sp = sigsp(sp, ksig) - framesize; ksig 348 arch/sparc/kernel/signal32.c static int setup_frame32(struct ksignal *ksig, struct pt_regs *regs, ksig 371 arch/sparc/kernel/signal32.c get_sigframe(ksig, regs, sigframe_size); ksig 378 arch/sparc/kernel/signal32.c force_sigsegv(ksig->sig); ksig 454 arch/sparc/kernel/signal32.c regs->u_regs[UREG_I0] = ksig->sig; ksig 459 arch/sparc/kernel/signal32.c regs->tpc = (unsigned long) ksig->ka.sa.sa_handler; ksig 467 arch/sparc/kernel/signal32.c if (ksig->ka.ka_restorer) { ksig 468 arch/sparc/kernel/signal32.c regs->u_regs[UREG_I7] = (unsigned long)ksig->ka.ka_restorer; ksig 483 arch/sparc/kernel/signal32.c static int setup_rt_frame32(struct ksignal *ksig, struct pt_regs *regs, ksig 505 arch/sparc/kernel/signal32.c get_sigframe(ksig, regs, sigframe_size); ksig 512 arch/sparc/kernel/signal32.c force_sigsegv(ksig->sig); ksig 559 arch/sparc/kernel/signal32.c err |= copy_siginfo_to_user32(&sf->info, &ksig->info); ksig 586 arch/sparc/kernel/signal32.c regs->u_regs[UREG_I0] = ksig->sig; ksig 591 arch/sparc/kernel/signal32.c regs->tpc = (unsigned long) ksig->ka.sa.sa_handler; ksig 599 arch/sparc/kernel/signal32.c if (ksig->ka.ka_restorer) ksig 600 arch/sparc/kernel/signal32.c regs->u_regs[UREG_I7] = (unsigned long)ksig->ka.ka_restorer; ksig 619 arch/sparc/kernel/signal32.c static inline void handle_signal32(struct ksignal *ksig, ksig 625 arch/sparc/kernel/signal32.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) ksig 626 arch/sparc/kernel/signal32.c err = setup_rt_frame32(ksig, regs, oldset); ksig 628 arch/sparc/kernel/signal32.c err = setup_frame32(ksig, regs, oldset); ksig 630 arch/sparc/kernel/signal32.c signal_setup_done(err, ksig, 0); ksig 660 arch/sparc/kernel/signal32.c struct ksignal ksig; ksig 663 arch/sparc/kernel/signal32.c bool has_handler = get_signal(&ksig); ksig 673 arch/sparc/kernel/signal32.c syscall_restart32(orig_i0, regs, &ksig.ka.sa); ksig 674 arch/sparc/kernel/signal32.c handle_signal32(&ksig, regs); ksig 202 arch/sparc/kernel/signal_32.c static inline void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs, unsigned long framesize) ksig 214 arch/sparc/kernel/signal_32.c sp = sigsp(sp, ksig) - framesize; ksig 227 arch/sparc/kernel/signal_32.c static int setup_frame(struct ksignal *ksig, struct pt_regs *regs, ksig 246 arch/sparc/kernel/signal_32.c get_sigframe(ksig, regs, sigframe_size); ksig 294 arch/sparc/kernel/signal_32.c regs->u_regs[UREG_I0] = ksig->sig; ksig 299 arch/sparc/kernel/signal_32.c regs->pc = (unsigned long) ksig->ka.sa.sa_handler; ksig 303 arch/sparc/kernel/signal_32.c if (ksig->ka.ka_restorer) ksig 304 arch/sparc/kernel/signal_32.c regs->u_regs[UREG_I7] = (unsigned long)ksig->ka.ka_restorer; ksig 322 arch/sparc/kernel/signal_32.c static int setup_rt_frame(struct ksignal *ksig, struct pt_regs *regs, ksig 339 arch/sparc/kernel/signal_32.c get_sigframe(ksig, regs, sigframe_size); ksig 387 arch/sparc/kernel/signal_32.c err |= copy_siginfo_to_user(&sf->info, &ksig->info); ksig 393 arch/sparc/kernel/signal_32.c regs->u_regs[UREG_I0] = ksig->sig; ksig 397 arch/sparc/kernel/signal_32.c regs->pc = (unsigned long) ksig->ka.sa.sa_handler; ksig 400 arch/sparc/kernel/signal_32.c if (ksig->ka.ka_restorer) ksig 401 arch/sparc/kernel/signal_32.c regs->u_regs[UREG_I7] = (unsigned long)ksig->ka.ka_restorer; ksig 420 arch/sparc/kernel/signal_32.c handle_signal(struct ksignal *ksig, struct pt_regs *regs) ksig 425 arch/sparc/kernel/signal_32.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) ksig 426 arch/sparc/kernel/signal_32.c err = setup_rt_frame(ksig, regs, oldset); ksig 428 arch/sparc/kernel/signal_32.c err = setup_frame(ksig, regs, oldset); ksig 429 arch/sparc/kernel/signal_32.c signal_setup_done(err, ksig, 0); ksig 459 arch/sparc/kernel/signal_32.c struct ksignal ksig; ksig 484 arch/sparc/kernel/signal_32.c has_handler = get_signal(&ksig); ksig 498 arch/sparc/kernel/signal_32.c syscall_restart(orig_i0, regs, &ksig.ka.sa); ksig 499 arch/sparc/kernel/signal_32.c handle_signal(&ksig, regs); ksig 326 arch/sparc/kernel/signal_64.c static inline void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs, unsigned long framesize) ksig 338 arch/sparc/kernel/signal_64.c sp = sigsp(sp, ksig) - framesize; ksig 352 arch/sparc/kernel/signal_64.c setup_rt_frame(struct ksignal *ksig, struct pt_regs *regs) ksig 370 arch/sparc/kernel/signal_64.c get_sigframe(ksig, regs, sf_size); ksig 377 arch/sparc/kernel/signal_64.c force_sigsegv(ksig->sig); ksig 420 arch/sparc/kernel/signal_64.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) ksig 421 arch/sparc/kernel/signal_64.c err |= copy_siginfo_to_user(&sf->info, &ksig->info); ksig 423 arch/sparc/kernel/signal_64.c err |= __put_user(ksig->sig, &sf->info.si_signo); ksig 431 arch/sparc/kernel/signal_64.c regs->u_regs[UREG_I0] = ksig->sig; ksig 441 arch/sparc/kernel/signal_64.c regs->tpc = (unsigned long) ksig->ka.sa.sa_handler; ksig 448 arch/sparc/kernel/signal_64.c regs->u_regs[UREG_I7] = (unsigned long)ksig->ka.ka_restorer; ksig 479 arch/sparc/kernel/signal_64.c struct ksignal ksig; ksig 512 arch/sparc/kernel/signal_64.c has_handler = get_signal(&ksig); ksig 523 arch/sparc/kernel/signal_64.c syscall_restart(orig_i0, regs, &ksig.ka.sa); ksig 524 arch/sparc/kernel/signal_64.c signal_setup_done(setup_rt_frame(&ksig, regs), &ksig, 0); ksig 9 arch/um/include/shared/frame_kern.h extern int setup_signal_stack_sc(unsigned long stack_top, struct ksignal *ksig, ksig 11 arch/um/include/shared/frame_kern.h extern int setup_signal_stack_si(unsigned long stack_top, struct ksignal *ksig, ksig 49 arch/um/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs) ksig 69 arch/um/kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { ksig 82 arch/um/kernel/signal.c if ((ksig->ka.sa.sa_flags & SA_ONSTACK) && (sas_ss_flags(sp) == 0)) ksig 86 arch/um/kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_SIGINFO)) ksig 87 arch/um/kernel/signal.c err = setup_signal_stack_sc(sp, ksig, regs, oldset); ksig 90 arch/um/kernel/signal.c err = setup_signal_stack_si(sp, ksig, regs, oldset); ksig 92 arch/um/kernel/signal.c signal_setup_done(err, ksig, singlestep); ksig 97 arch/um/kernel/signal.c struct ksignal ksig; ksig 100 arch/um/kernel/signal.c while (get_signal(&ksig)) { ksig 103 arch/um/kernel/signal.c handle_signal(&ksig, regs); ksig 238 arch/unicore32/kernel/signal.c static int setup_frame(struct ksignal *ksig, sigset_t *set, ksig 241 arch/unicore32/kernel/signal.c struct sigframe __user *frame = get_sigframe(&ksig->ka, regs, sizeof(*frame)); ksig 254 arch/unicore32/kernel/signal.c err |= setup_return(regs, &ksig->ka, frame->retcode, frame, ksig 255 arch/unicore32/kernel/signal.c ksig->sig); ksig 260 arch/unicore32/kernel/signal.c static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, ksig 264 arch/unicore32/kernel/signal.c get_sigframe(&ksig->ka, regs, sizeof(*frame)); ksig 270 arch/unicore32/kernel/signal.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 277 arch/unicore32/kernel/signal.c err |= setup_return(regs, &ksig->ka, frame->sig.retcode, frame, ksig 278 arch/unicore32/kernel/signal.c ksig->sig); ksig 301 arch/unicore32/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs, ksig 306 arch/unicore32/kernel/signal.c int usig = ksig->sig; ksig 319 arch/unicore32/kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { ksig 332 arch/unicore32/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) ksig 333 arch/unicore32/kernel/signal.c ret = setup_rt_frame(ksig, oldset, regs); ksig 335 arch/unicore32/kernel/signal.c ret = setup_frame(ksig, oldset, regs); ksig 342 arch/unicore32/kernel/signal.c signal_setup_done(ret, ksig, 0); ksig 356 arch/unicore32/kernel/signal.c struct ksignal ksig; ksig 367 arch/unicore32/kernel/signal.c if (get_signal(&ksig)) { ksig 368 arch/unicore32/kernel/signal.c handle_signal(&ksig, regs, syscall); ksig 221 arch/x86/ia32/ia32_signal.c static void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs, ksig 231 arch/x86/ia32/ia32_signal.c if (ksig->ka.sa.sa_flags & SA_ONSTACK) ksig 232 arch/x86/ia32/ia32_signal.c sp = sigsp(sp, ksig); ksig 235 arch/x86/ia32/ia32_signal.c !(ksig->ka.sa.sa_flags & SA_RESTORER) && ksig 236 arch/x86/ia32/ia32_signal.c ksig->ka.sa.sa_restorer) ksig 237 arch/x86/ia32/ia32_signal.c sp = (unsigned long) ksig->ka.sa.sa_restorer; ksig 252 arch/x86/ia32/ia32_signal.c int ia32_setup_frame(int sig, struct ksignal *ksig, ksig 271 arch/x86/ia32/ia32_signal.c frame = get_sigframe(ksig, regs, sizeof(*frame), &fpstate); ksig 288 arch/x86/ia32/ia32_signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { ksig 289 arch/x86/ia32/ia32_signal.c restorer = ksig->ka.sa.sa_restorer; ksig 314 arch/x86/ia32/ia32_signal.c regs->ip = (unsigned long) ksig->ka.sa.sa_handler; ksig 330 arch/x86/ia32/ia32_signal.c int ia32_setup_rt_frame(int sig, struct ksignal *ksig, ksig 351 arch/x86/ia32/ia32_signal.c frame = get_sigframe(ksig, regs, sizeof(*frame), &fpstate); ksig 369 arch/x86/ia32/ia32_signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) ksig 370 arch/x86/ia32/ia32_signal.c restorer = ksig->ka.sa.sa_restorer; ksig 383 arch/x86/ia32/ia32_signal.c err |= __copy_siginfo_to_user32(&frame->info, &ksig->info, false); ksig 393 arch/x86/ia32/ia32_signal.c regs->ip = (unsigned long) ksig->ka.sa.sa_handler; ksig 12 arch/x86/include/asm/fpu/signal.h int ia32_setup_rt_frame(int sig, struct ksignal *ksig, ksig 14 arch/x86/include/asm/fpu/signal.h int ia32_setup_frame(int sig, struct ksignal *ksig, ksig 312 arch/x86/kernel/signal.c __setup_frame(int sig, struct ksignal *ksig, sigset_t *set, ksig 320 arch/x86/kernel/signal.c frame = get_sigframe(&ksig->ka, regs, sizeof(*frame), &fpstate); ksig 342 arch/x86/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) ksig 343 arch/x86/kernel/signal.c restorer = ksig->ka.sa.sa_restorer; ksig 362 arch/x86/kernel/signal.c regs->ip = (unsigned long)ksig->ka.sa.sa_handler; ksig 375 arch/x86/kernel/signal.c static int __setup_rt_frame(int sig, struct ksignal *ksig, ksig 383 arch/x86/kernel/signal.c frame = get_sigframe(&ksig->ka, regs, sizeof(*frame), &fpstate); ksig 404 arch/x86/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) ksig 405 arch/x86/kernel/signal.c restorer = ksig->ka.sa.sa_restorer; ksig 418 arch/x86/kernel/signal.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 428 arch/x86/kernel/signal.c regs->ip = (unsigned long)ksig->ka.sa.sa_handler; ksig 456 arch/x86/kernel/signal.c static int __setup_rt_frame(int sig, struct ksignal *ksig, ksig 464 arch/x86/kernel/signal.c frame = get_sigframe(&ksig->ka, regs, sizeof(struct rt_sigframe), &fp); ksig 469 arch/x86/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) { ksig 470 arch/x86/kernel/signal.c if (copy_siginfo_to_user(&frame->info, &ksig->info)) ksig 485 arch/x86/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { ksig 486 arch/x86/kernel/signal.c put_user_ex(ksig->ka.sa.sa_restorer, &frame->pretcode); ksig 508 arch/x86/kernel/signal.c regs->ip = (unsigned long) ksig->ka.sa.sa_handler; ksig 538 arch/x86/kernel/signal.c static int x32_setup_rt_frame(struct ksignal *ksig, ksig 549 arch/x86/kernel/signal.c frame = get_sigframe(&ksig->ka, regs, sizeof(*frame), &fpstate); ksig 554 arch/x86/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) { ksig 555 arch/x86/kernel/signal.c if (__copy_siginfo_to_user32(&frame->info, &ksig->info, true)) ksig 568 arch/x86/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { ksig 569 arch/x86/kernel/signal.c restorer = ksig->ka.sa.sa_restorer; ksig 587 arch/x86/kernel/signal.c regs->ip = (unsigned long) ksig->ka.sa.sa_handler; ksig 590 arch/x86/kernel/signal.c regs->di = ksig->sig; ksig 670 arch/x86/kernel/signal.c static inline int is_ia32_compat_frame(struct ksignal *ksig) ksig 673 arch/x86/kernel/signal.c ksig->ka.sa.sa_flags & SA_IA32_ABI; ksig 676 arch/x86/kernel/signal.c static inline int is_ia32_frame(struct ksignal *ksig) ksig 678 arch/x86/kernel/signal.c return IS_ENABLED(CONFIG_X86_32) || is_ia32_compat_frame(ksig); ksig 681 arch/x86/kernel/signal.c static inline int is_x32_frame(struct ksignal *ksig) ksig 684 arch/x86/kernel/signal.c ksig->ka.sa.sa_flags & SA_X32_ABI; ksig 688 arch/x86/kernel/signal.c setup_rt_frame(struct ksignal *ksig, struct pt_regs *regs) ksig 690 arch/x86/kernel/signal.c int usig = ksig->sig; ksig 695 arch/x86/kernel/signal.c rseq_signal_deliver(ksig, regs); ksig 698 arch/x86/kernel/signal.c if (is_ia32_frame(ksig)) { ksig 699 arch/x86/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) ksig 700 arch/x86/kernel/signal.c return ia32_setup_rt_frame(usig, ksig, cset, regs); ksig 702 arch/x86/kernel/signal.c return ia32_setup_frame(usig, ksig, cset, regs); ksig 703 arch/x86/kernel/signal.c } else if (is_x32_frame(ksig)) { ksig 704 arch/x86/kernel/signal.c return x32_setup_rt_frame(ksig, cset, regs); ksig 706 arch/x86/kernel/signal.c return __setup_rt_frame(ksig->sig, ksig, set, regs); ksig 711 arch/x86/kernel/signal.c handle_signal(struct ksignal *ksig, struct pt_regs *regs) ksig 729 arch/x86/kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { ksig 750 arch/x86/kernel/signal.c failed = (setup_rt_frame(ksig, regs) < 0); ksig 768 arch/x86/kernel/signal.c signal_setup_done(failed, ksig, stepping); ksig 813 arch/x86/kernel/signal.c struct ksignal ksig; ksig 815 arch/x86/kernel/signal.c if (get_signal(&ksig)) { ksig 817 arch/x86/kernel/signal.c handle_signal(&ksig, regs); ksig 360 arch/x86/um/signal.c int setup_signal_stack_sc(unsigned long stack_top, struct ksignal *ksig, ksig 365 arch/x86/um/signal.c int err = 0, sig = ksig->sig; ksig 374 arch/x86/um/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) ksig 375 arch/x86/um/signal.c restorer = ksig->ka.sa.sa_restorer; ksig 399 arch/x86/um/signal.c PT_REGS_IP(regs) = (unsigned long) ksig->ka.sa.sa_handler; ksig 406 arch/x86/um/signal.c int setup_signal_stack_si(unsigned long stack_top, struct ksignal *ksig, ksig 411 arch/x86/um/signal.c int err = 0, sig = ksig->sig; ksig 419 arch/x86/um/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) ksig 420 arch/x86/um/signal.c restorer = ksig->ka.sa.sa_restorer; ksig 426 arch/x86/um/signal.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 445 arch/x86/um/signal.c PT_REGS_IP(regs) = (unsigned long) ksig->ka.sa.sa_handler; ksig 488 arch/x86/um/signal.c int setup_signal_stack_si(unsigned long stack_top, struct ksignal *ksig, ksig 492 arch/x86/um/signal.c int err = 0, sig = ksig->sig; ksig 503 arch/x86/um/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) { ksig 504 arch/x86/um/signal.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 532 arch/x86/um/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) ksig 533 arch/x86/um/signal.c err |= __put_user((void *)ksig->ka.sa.sa_restorer, ksig 553 arch/x86/um/signal.c PT_REGS_IP(regs) = (unsigned long) ksig->ka.sa.sa_handler; ksig 333 arch/xtensa/kernel/signal.c static int setup_frame(struct ksignal *ksig, sigset_t *set, ksig 337 arch/xtensa/kernel/signal.c int err = 0, sig = ksig->sig; ksig 343 arch/xtensa/kernel/signal.c if ((ksig->ka.sa.sa_flags & SA_ONSTACK) != 0 && sas_ss_flags(sp) == 0) { ksig 356 arch/xtensa/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) { ksig 357 arch/xtensa/kernel/signal.c err |= copy_siginfo_to_user(&frame->info, &ksig->info); ksig 368 arch/xtensa/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { ksig 369 arch/xtensa/kernel/signal.c ra = (unsigned long)ksig->ka.sa.sa_restorer; ksig 390 arch/xtensa/kernel/signal.c start_thread(regs, (unsigned long) ksig->ka.sa.sa_handler, ksig 427 arch/xtensa/kernel/signal.c struct ksignal ksig; ksig 431 arch/xtensa/kernel/signal.c if (get_signal(&ksig)) { ksig 447 arch/xtensa/kernel/signal.c if (!(ksig.ka.sa.sa_flags & SA_RESTART)) { ksig 466 arch/xtensa/kernel/signal.c ret = setup_frame(&ksig, sigmask_to_save(), regs); ksig 467 arch/xtensa/kernel/signal.c signal_setup_done(ret, &ksig, 0); ksig 2118 fs/aio.c struct __aio_sigset ksig = { NULL, }; ksig 2126 fs/aio.c if (usig && copy_from_user(&ksig, usig, sizeof(ksig))) ksig 2129 fs/aio.c ret = set_user_sigmask(ksig.sigmask, ksig.sigsetsize); ksig 2153 fs/aio.c struct __aio_sigset ksig = { NULL, }; ksig 2161 fs/aio.c if (usig && copy_from_user(&ksig, usig, sizeof(ksig))) ksig 2165 fs/aio.c ret = set_user_sigmask(ksig.sigmask, ksig.sigsetsize); ksig 2220 fs/aio.c struct __compat_aio_sigset ksig = { 0, }; ksig 2228 fs/aio.c if (usig && copy_from_user(&ksig, usig, sizeof(ksig))) ksig 2231 fs/aio.c ret = set_compat_user_sigmask(compat_ptr(ksig.sigmask), ksig.sigsetsize); ksig 2255 fs/aio.c struct __compat_aio_sigset ksig = { 0, }; ksig 2263 fs/aio.c if (usig && copy_from_user(&ksig, usig, sizeof(ksig))) ksig 2266 fs/aio.c ret = set_compat_user_sigmask(compat_ptr(ksig.sigmask), ksig.sigsetsize); ksig 1886 include/linux/sched.h static inline void rseq_handle_notify_resume(struct ksignal *ksig, ksig 1890 include/linux/sched.h __rseq_handle_notify_resume(ksig, regs); ksig 1893 include/linux/sched.h static inline void rseq_signal_deliver(struct ksignal *ksig, ksig 1899 include/linux/sched.h rseq_handle_notify_resume(ksig, regs); ksig 1945 include/linux/sched.h static inline void rseq_handle_notify_resume(struct ksignal *ksig, ksig 1949 include/linux/sched.h static inline void rseq_signal_deliver(struct ksignal *ksig, ksig 545 include/linux/sched/signal.h static inline unsigned long sigsp(unsigned long sp, struct ksignal *ksig) ksig 547 include/linux/sched/signal.h if (unlikely((ksig->ka.sa.sa_flags & SA_ONSTACK)) && ! sas_ss_flags(sp)) ksig 280 include/linux/signal.h extern bool get_signal(struct ksignal *ksig); ksig 281 include/linux/signal.h extern void signal_setup_done(int failed, struct ksignal *ksig, int stepping); ksig 262 kernel/rseq.c void __rseq_handle_notify_resume(struct ksignal *ksig, struct pt_regs *regs) ksig 279 kernel/rseq.c sig = ksig ? ksig->sig : 0; ksig 2530 kernel/signal.c bool get_signal(struct ksignal *ksig) ksig 2589 kernel/signal.c ksig->info.si_signo = signr = SIGKILL; ksig 2631 kernel/signal.c signr = dequeue_synchronous_signal(&ksig->info); ksig 2633 kernel/signal.c signr = dequeue_signal(current, ¤t->blocked, &ksig->info); ksig 2639 kernel/signal.c signr = ptrace_signal(signr, &ksig->info); ksig 2647 kernel/signal.c trace_signal_deliver(signr, &ksig->info, ka); ksig 2653 kernel/signal.c ksig->ka = *ka; ksig 2703 kernel/signal.c if (likely(do_signal_stop(ksig->info.si_signo))) { ksig 2727 kernel/signal.c print_fatal_signal(ksig->info.si_signo); ksig 2737 kernel/signal.c do_coredump(&ksig->info); ksig 2743 kernel/signal.c do_group_exit(ksig->info.si_signo); ksig 2748 kernel/signal.c ksig->sig = signr; ksig 2749 kernel/signal.c return ksig->sig > 0; ksig 2762 kernel/signal.c static void signal_delivered(struct ksignal *ksig, int stepping) ksig 2772 kernel/signal.c sigorsets(&blocked, ¤t->blocked, &ksig->ka.sa.sa_mask); ksig 2773 kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_NODEFER)) ksig 2774 kernel/signal.c sigaddset(&blocked, ksig->sig); ksig 2779 kernel/signal.c void signal_setup_done(int failed, struct ksignal *ksig, int stepping) ksig 2782 kernel/signal.c force_sigsegv(ksig->sig); ksig 2784 kernel/signal.c signal_delivered(ksig, stepping);