Lines Matching refs:sighand
189 /* SLAB cache for sighand_struct structures (tsk->sighand) */
344 * the sighand lock in case orig has changed between now and
1026 atomic_inc(¤t->sighand->count);
1030 rcu_assign_pointer(tsk->sighand, sig);
1034 memcpy(sig->action, current->sighand->action, sizeof(sig->action));
1038 void __cleanup_sighand(struct sighand_struct *sighand)
1040 if (atomic_dec_and_test(&sighand->count)) {
1041 signalfd_cleanup(sighand);
1042 kmem_cache_free(sighand_cachep, sighand);
1126 * Must be called with sighand->lock held, which is common to
1131 assert_spin_locked(¤t->sighand->siglock);
1140 * sighand lock. The seccomp state and nnp must be in sync.
1147 * flags and between before we held the sighand lock, we have
1496 spin_lock(¤t->sighand->siglock);
1500 * before holding sighand lock.
1514 spin_unlock(¤t->sighand->siglock);
1554 spin_unlock(¤t->sighand->siglock);
1584 __cleanup_sighand(p->sighand);
1774 struct sighand_struct *sighand = data;
1776 spin_lock_init(&sighand->siglock);
1777 init_waitqueue_head(&sighand->signalfd_wqh);