Lines Matching refs:blocked

111 	if (sigismember(&t->blocked, sig) || sigismember(&t->real_blocked, sig))  in sig_ignored()
129 static inline bool has_pending_signals(sigset_t *signal, sigset_t *blocked) in has_pending_signals() argument
137 ready |= signal->sig[i] &~ blocked->sig[i]; in has_pending_signals()
140 case 4: ready = signal->sig[3] &~ blocked->sig[3]; in has_pending_signals()
141 ready |= signal->sig[2] &~ blocked->sig[2]; in has_pending_signals()
142 ready |= signal->sig[1] &~ blocked->sig[1]; in has_pending_signals()
143 ready |= signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
146 case 2: ready = signal->sig[1] &~ blocked->sig[1]; in has_pending_signals()
147 ready |= signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
150 case 1: ready = signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
160 PENDING(&t->pending, &t->blocked) || in recalc_sigpending_tsk()
161 PENDING(&t->signal->shared_pending, &t->blocked) || in recalc_sigpending_tsk()
715 if (!((pending->signal.sig[0] & ~tsk->blocked.sig[0]) & SYNCHRONOUS_MASK)) in dequeue_synchronous_signal()
979 if (sigismember(&p->blocked, sig)) in wants_signal()
1329 int ret, blocked, ignored; in force_sig_info_to_task() local
1336 blocked = sigismember(&t->blocked, sig); in force_sig_info_to_task()
1337 if (blocked || ignored || (handler != HANDLER_CURRENT)) { in force_sig_info_to_task()
1341 if (blocked) in force_sig_info_to_task()
1342 sigdelset(&t->blocked, sig); in force_sig_info_to_task()
1827 info.si_perf_flags = sigismember(&current->blocked, info.si_signo) ? in send_sig_perf()
2652 if (sigismember(&current->blocked, signr) || in ptrace_signal()
2798 signr = dequeue_signal(&current->blocked, &ksig->info, &type); in get_signal()
2943 sigset_t blocked; in signal_delivered() local
2951 sigorsets(&blocked, &current->blocked, &ksig->ka.sa.sa_mask); in signal_delivered()
2953 sigaddset(&blocked, ksig->sig); in signal_delivered()
2954 set_current_blocked(&blocked); in signal_delivered()
2987 if (!has_pending_signals(&retarget, &t->blocked)) in retarget_shared_pending()
2990 sigandsets(&retarget, &retarget, &t->blocked); in retarget_shared_pending()
3031 unblocked = tsk->blocked; in exit_signals()
3075 sigandnsets(&newblocked, newset, &current->blocked); in __set_task_blocked()
3078 tsk->blocked = *newset; in __set_task_blocked()
3103 if (sigequalsets(&tsk->blocked, newset)) in __set_current_blocked()
3126 *oldset = tsk->blocked; in sigprocmask()
3130 sigorsets(&newset, &tsk->blocked, set); in sigprocmask()
3133 sigandnsets(&newset, &tsk->blocked, set); in sigprocmask()
3168 current->saved_sigmask = current->blocked; in set_user_sigmask()
3188 current->saved_sigmask = current->blocked; in set_compat_user_sigmask()
3212 old_set = current->blocked; in SYSCALL_DEFINE4()
3236 sigset_t old_set = current->blocked; in COMPAT_SYSCALL_DEFINE4()
3265 sigandsets(set, &current->blocked, set); in do_sigpending()
3660 tsk->real_blocked = tsk->blocked; in do_sigtimedwait()
3661 sigandsets(&tsk->blocked, &tsk->blocked, &mask); in do_sigtimedwait()
4451 old_set = current->blocked.sig[0]; in SYSCALL_DEFINE3()
4457 new_blocked = current->blocked; in SYSCALL_DEFINE3()
4650 return current->blocked.sig[0]; in SYSCALL_DEFINE0()
4655 int old = current->blocked.sig[0]; in SYSCALL_DEFINE1()
4699 current->saved_sigmask = current->blocked; in sigsuspend()
4747 sigset_t blocked; in SYSCALL_DEFINE1() local
4748 siginitset(&blocked, mask); in SYSCALL_DEFINE1()
4749 return sigsuspend(&blocked); in SYSCALL_DEFINE1()
4755 sigset_t blocked; in SYSCALL_DEFINE3() local
4756 siginitset(&blocked, mask); in SYSCALL_DEFINE3()
4757 return sigsuspend(&blocked); in SYSCALL_DEFINE3()