Lines Matching refs:sigset_t
126 static inline bool has_pending_signals(sigset_t *signal, sigset_t *blocked) in has_pending_signals()
207 int next_signal(struct sigpending *pending, sigset_t *mask) in next_signal()
491 sigset_t signal, retain; in __flush_itimer_signals()
613 static int __dequeue_signal(struct sigpending *pending, sigset_t *mask, in __dequeue_signal()
629 int dequeue_signal(struct task_struct *tsk, sigset_t *mask, in dequeue_signal()
786 static void flush_sigqueue_mask(sigset_t *mask, struct sigpending *s) in flush_sigqueue_mask()
789 sigset_t m; in flush_sigqueue_mask()
910 sigset_t flush; in prepare_signal()
1180 sigset_t *signal = &delayed->signal; in __send_signal_locked()
2883 sigset_t blocked; in signal_delivered()
2914 static void retarget_shared_pending(struct task_struct *tsk, sigset_t *which) in retarget_shared_pending()
2916 sigset_t retarget; in retarget_shared_pending()
2944 sigset_t unblocked; in exit_signals()
3009 static void __set_task_blocked(struct task_struct *tsk, const sigset_t *newset) in __set_task_blocked()
3012 sigset_t newblocked; in __set_task_blocked()
3028 void set_current_blocked(sigset_t *newset) in set_current_blocked()
3034 void __set_current_blocked(const sigset_t *newset) in __set_current_blocked()
3058 int sigprocmask(int how, sigset_t *set, sigset_t *oldset) in sigprocmask()
3061 sigset_t newset; in sigprocmask()
3095 int set_user_sigmask(const sigset_t __user *umask, size_t sigsetsize) in set_user_sigmask()
3097 sigset_t kmask; in set_user_sigmask()
3101 if (sigsetsize != sizeof(sigset_t)) in set_user_sigmask()
3103 if (copy_from_user(&kmask, umask, sizeof(sigset_t))) in set_user_sigmask()
3117 sigset_t kmask; in set_compat_user_sigmask()
3141 SYSCALL_DEFINE4(rt_sigprocmask, int, how, sigset_t __user *, nset, in SYSCALL_DEFINE4()
3142 sigset_t __user *, oset, size_t, sigsetsize) in SYSCALL_DEFINE4()
3144 sigset_t old_set, new_set; in SYSCALL_DEFINE4()
3148 if (sigsetsize != sizeof(sigset_t)) in SYSCALL_DEFINE4()
3154 if (copy_from_user(&new_set, nset, sizeof(sigset_t))) in SYSCALL_DEFINE4()
3164 if (copy_to_user(oset, &old_set, sizeof(sigset_t))) in SYSCALL_DEFINE4()
3175 sigset_t old_set = current->blocked; in COMPAT_SYSCALL_DEFINE4()
3178 if (sigsetsize != sizeof(sigset_t)) in COMPAT_SYSCALL_DEFINE4()
3182 sigset_t new_set; in COMPAT_SYSCALL_DEFINE4()
3196 static void do_sigpending(sigset_t *set) in do_sigpending()
3213 SYSCALL_DEFINE2(rt_sigpending, sigset_t __user *, uset, size_t, sigsetsize) in SYSCALL_DEFINE2()
3215 sigset_t set; in SYSCALL_DEFINE2()
3232 sigset_t set; in COMPAT_SYSCALL_DEFINE2()
3568 static int do_sigtimedwait(const sigset_t *which, kernel_siginfo_t *info, in do_sigtimedwait()
3573 sigset_t mask = *which; in do_sigtimedwait()
3627 SYSCALL_DEFINE4(rt_sigtimedwait, const sigset_t __user *, uthese, in SYSCALL_DEFINE4()
3632 sigset_t these; in SYSCALL_DEFINE4()
3638 if (sigsetsize != sizeof(sigset_t)) in SYSCALL_DEFINE4()
3660 SYSCALL_DEFINE4(rt_sigtimedwait_time32, const sigset_t __user *, uthese, in SYSCALL_DEFINE4()
3665 sigset_t these; in SYSCALL_DEFINE4()
3670 if (sigsetsize != sizeof(sigset_t)) in SYSCALL_DEFINE4()
3697 sigset_t s; in COMPAT_SYSCALL_DEFINE4()
3702 if (sigsetsize != sizeof(sigset_t)) in COMPAT_SYSCALL_DEFINE4()
3728 sigset_t s; in COMPAT_SYSCALL_DEFINE4()
3733 if (sigsetsize != sizeof(sigset_t)) in COMPAT_SYSCALL_DEFINE4()
4069 sigset_t mask; in kernel_sigaction()
4091 sigset_t mask; in do_sigaction()
4325 sigset_t set; in SYSCALL_DEFINE1()
4341 sigset_t set; in COMPAT_SYSCALL_DEFINE1()
4366 sigset_t new_blocked; in SYSCALL_DEFINE3()
4419 if (sigsetsize != sizeof(sigset_t)) in SYSCALL_DEFINE4()
4573 sigset_t newset; in SYSCALL_DEFINE1()
4614 static int sigsuspend(sigset_t *set) in sigsuspend()
4633 SYSCALL_DEFINE2(rt_sigsuspend, sigset_t __user *, unewset, size_t, sigsetsize) in SYSCALL_DEFINE2()
4635 sigset_t newset; in SYSCALL_DEFINE2()
4638 if (sigsetsize != sizeof(sigset_t)) in SYSCALL_DEFINE2()
4649 sigset_t newset; in COMPAT_SYSCALL_DEFINE2()
4652 if (sigsetsize != sizeof(sigset_t)) in COMPAT_SYSCALL_DEFINE2()
4664 sigset_t blocked; in SYSCALL_DEFINE1()
4672 sigset_t blocked; in SYSCALL_DEFINE3()