Lines Matching refs:newset
2878 static void __set_task_blocked(struct task_struct *tsk, const sigset_t *newset) in __set_task_blocked() argument
2883 sigandnsets(&newblocked, newset, ¤t->blocked); in __set_task_blocked()
2886 tsk->blocked = *newset; in __set_task_blocked()
2897 void set_current_blocked(sigset_t *newset) in set_current_blocked() argument
2899 sigdelsetmask(newset, sigmask(SIGKILL) | sigmask(SIGSTOP)); in set_current_blocked()
2900 __set_current_blocked(newset); in set_current_blocked()
2903 void __set_current_blocked(const sigset_t *newset) in __set_current_blocked() argument
2911 if (sigequalsets(&tsk->blocked, newset)) in __set_current_blocked()
2915 __set_task_blocked(tsk, newset); in __set_current_blocked()
2930 sigset_t newset; in sigprocmask() local
2938 sigorsets(&newset, &tsk->blocked, set); in sigprocmask()
2941 sigandnsets(&newset, &tsk->blocked, set); in sigprocmask()
2944 newset = *set; in sigprocmask()
2950 __set_current_blocked(&newset); in sigprocmask()
4391 sigset_t newset; in SYSCALL_DEFINE1() local
4393 siginitset(&newset, newmask); in SYSCALL_DEFINE1()
4394 set_current_blocked(&newset); in SYSCALL_DEFINE1()
4453 sigset_t newset; in SYSCALL_DEFINE2() local
4459 if (copy_from_user(&newset, unewset, sizeof(newset))) in SYSCALL_DEFINE2()
4461 return sigsuspend(&newset); in SYSCALL_DEFINE2()
4467 sigset_t newset; in COMPAT_SYSCALL_DEFINE2() local
4473 if (get_compat_sigset(&newset, unewset)) in COMPAT_SYSCALL_DEFINE2()
4475 return sigsuspend(&newset); in COMPAT_SYSCALL_DEFINE2()