Lines Matching refs:blocked

110 	if (sigismember(&t->blocked, sig) || sigismember(&t->real_blocked, sig))  in sig_ignored()
128 static inline bool has_pending_signals(sigset_t *signal, sigset_t *blocked) in has_pending_signals() argument
136 ready |= signal->sig[i] &~ blocked->sig[i]; in has_pending_signals()
139 case 4: ready = signal->sig[3] &~ blocked->sig[3]; in has_pending_signals()
140 ready |= signal->sig[2] &~ blocked->sig[2]; in has_pending_signals()
141 ready |= signal->sig[1] &~ blocked->sig[1]; in has_pending_signals()
142 ready |= signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
145 case 2: ready = signal->sig[1] &~ blocked->sig[1]; in has_pending_signals()
146 ready |= signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
149 case 1: ready = signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
159 PENDING(&t->pending, &t->blocked) || in recalc_sigpending_tsk()
160 PENDING(&t->signal->shared_pending, &t->blocked) || in recalc_sigpending_tsk()
725 if (!((pending->signal.sig[0] & ~tsk->blocked.sig[0]) & SYNCHRONOUS_MASK)) in dequeue_synchronous_signal()
989 if (sigismember(&p->blocked, sig)) in wants_signal()
1340 int ret, blocked, ignored; in force_sig_info_to_task() local
1347 blocked = sigismember(&t->blocked, sig); in force_sig_info_to_task()
1348 if (blocked || ignored || (handler != HANDLER_CURRENT)) { in force_sig_info_to_task()
1352 if (blocked) { in force_sig_info_to_task()
1353 sigdelset(&t->blocked, sig); in force_sig_info_to_task()
1843 info.si_perf_flags = sigismember(&current->blocked, info.si_signo) ? in send_sig_perf()
2629 if (sigismember(&current->blocked, signr) || in ptrace_signal()
2772 signr = dequeue_signal(current, &current->blocked, in get_signal()
2917 sigset_t blocked; in signal_delivered() local
2925 sigorsets(&blocked, &current->blocked, &ksig->ka.sa.sa_mask); in signal_delivered()
2927 sigaddset(&blocked, ksig->sig); in signal_delivered()
2928 set_current_blocked(&blocked); in signal_delivered()
2962 if (!has_pending_signals(&retarget, &t->blocked)) in retarget_shared_pending()
2965 sigandsets(&retarget, &retarget, &t->blocked); in retarget_shared_pending()
3006 unblocked = tsk->blocked; in exit_signals()
3050 sigandnsets(&newblocked, newset, &current->blocked); in __set_task_blocked()
3053 tsk->blocked = *newset; in __set_task_blocked()
3078 if (sigequalsets(&tsk->blocked, newset)) in __set_current_blocked()
3101 *oldset = tsk->blocked; in sigprocmask()
3105 sigorsets(&newset, &tsk->blocked, set); in sigprocmask()
3108 sigandnsets(&newset, &tsk->blocked, set); in sigprocmask()
3143 current->saved_sigmask = current->blocked; in set_user_sigmask()
3163 current->saved_sigmask = current->blocked; in set_compat_user_sigmask()
3187 old_set = current->blocked; in SYSCALL_DEFINE4()
3211 sigset_t old_set = current->blocked; in COMPAT_SYSCALL_DEFINE4()
3240 sigandsets(set, &current->blocked, set); in do_sigpending()
3635 tsk->real_blocked = tsk->blocked; in do_sigtimedwait()
3636 sigandsets(&tsk->blocked, &tsk->blocked, &mask); in do_sigtimedwait()
4404 old_set = current->blocked.sig[0]; in SYSCALL_DEFINE3()
4410 new_blocked = current->blocked; in SYSCALL_DEFINE3()
4603 return current->blocked.sig[0]; in SYSCALL_DEFINE0()
4608 int old = current->blocked.sig[0]; in SYSCALL_DEFINE1()
4652 current->saved_sigmask = current->blocked; in sigsuspend()
4700 sigset_t blocked; in SYSCALL_DEFINE1() local
4701 siginitset(&blocked, mask); in SYSCALL_DEFINE1()
4702 return sigsuspend(&blocked); in SYSCALL_DEFINE1()
4708 sigset_t blocked; in SYSCALL_DEFINE3() local
4709 siginitset(&blocked, mask); in SYSCALL_DEFINE3()
4710 return sigsuspend(&blocked); in SYSCALL_DEFINE3()