Lines Matching refs:si_code
478 if (likely(q->info.si_code != SI_TIMER)) { in __flush_itimer_signals()
572 (info->si_code == SI_TIMER) && in collect_signal()
585 info->si_code = SI_USER; in collect_signal()
1069 override_rlimit = (is_si_special(info) || info->si_code >= 0); in __send_signal()
1081 q->info.si_code = SI_USER; in __send_signal()
1090 q->info.si_code = SI_KERNEL; in __send_signal()
1104 if (sig >= SIGRTMIN && info->si_code != SI_USER) { in __send_signal()
1537 info.si_code = code; in force_sig_fault()
1560 info.si_code = code; in send_sig_fault()
1581 info.si_code = code; in force_sig_mceerr()
1595 info.si_code = code; in send_sig_mceerr()
1609 info.si_code = SEGV_BNDERR; in force_sig_bnderr()
1624 info.si_code = SEGV_PKUERR; in force_sig_pkuerr()
1641 info.si_code = TRAP_HWBKPT; in force_sig_ptrace_errno_trap()
1735 BUG_ON(q->info.si_code != SI_TIMER); in send_sigqueue()
1814 info.si_code = CLD_DUMPED; in do_notify_parent()
1816 info.si_code = CLD_KILLED; in do_notify_parent()
1818 info.si_code = CLD_EXITED; in do_notify_parent()
1898 info.si_code = why; in do_notify_parent_cldstop()
2032 if (info && info->si_code >> 8 == PTRACE_EVENT_STOP) in ptrace_stop()
2111 info.si_code = exit_code; in ptrace_do_notify()
2319 info->si_code = SI_USER; in ptrace_signal()
2850 enum siginfo_layout siginfo_layout(int sig, int si_code) in siginfo_layout() argument
2853 if ((si_code > SI_USER) && (si_code < SI_KERNEL)) { in siginfo_layout()
2869 if ((sig < ARRAY_SIZE(filter)) && (si_code <= filter[sig].limit)) { in siginfo_layout()
2873 (si_code >= BUS_MCEERR_AR) && (si_code <= BUS_MCEERR_AO)) in siginfo_layout()
2875 else if ((sig == SIGSEGV) && (si_code == SEGV_BNDERR)) in siginfo_layout()
2878 else if ((sig == SIGSEGV) && (si_code == SEGV_PKUERR)) in siginfo_layout()
2882 else if (si_code <= NSIGPOLL) in siginfo_layout()
2885 if (si_code == SI_TIMER) in siginfo_layout()
2887 else if (si_code == SI_SIGIO) in siginfo_layout()
2889 else if (si_code < 0) in siginfo_layout()
2918 new.si_code = from->si_code; in __copy_siginfo_to_user32()
2919 switch(siginfo_layout(from->si_signo, from->si_code)) { in __copy_siginfo_to_user32()
3005 to->si_code = from.si_code; in copy_siginfo_from_user32()
3006 switch(siginfo_layout(from.si_signo, from.si_code)) { in copy_siginfo_from_user32()
3217 info.si_code = SI_USER; in SYSCALL_DEFINE2()
3261 info.si_code = SI_TKILL; in do_tkill()
3308 if ((info->si_code >= 0 || info->si_code == SI_TKILL) && in do_rt_sigqueueinfo()
3356 if ((info->si_code >= 0 || info->si_code == SI_TKILL) && in do_rt_tgsigqueueinfo()