Lines Matching refs:sighand
335 /* SLAB cache for sighand_struct structures (tsk->sighand) */
923 * the sighand lock in case orig has changed between now and
1544 refcount_inc(¤t->sighand->count);
1548 RCU_INIT_POINTER(tsk->sighand, sig);
1553 spin_lock_irq(¤t->sighand->siglock);
1554 memcpy(sig->action, current->sighand->action, sizeof(sig->action));
1555 spin_unlock_irq(¤t->sighand->siglock);
1564 void __cleanup_sighand(struct sighand_struct *sighand)
1566 if (refcount_dec_and_test(&sighand->count)) {
1567 signalfd_cleanup(sighand);
1572 kmem_cache_free(sighand_cachep, sighand);
1643 * Must be called with sighand->lock held, which is common to
1648 assert_spin_locked(¤t->sighand->siglock);
1657 * sighand lock. The seccomp state and nnp must be in sync.
1664 * flags and between before we held the sighand lock, we have
1968 spin_lock_irq(¤t->sighand->siglock);
1972 spin_unlock_irq(¤t->sighand->siglock);
2283 spin_lock(¤t->sighand->siglock);
2303 * before holding sighand lock.
2351 spin_unlock(¤t->sighand->siglock);
2371 spin_unlock(¤t->sighand->siglock);
2398 __cleanup_sighand(p->sighand);
2427 spin_lock_irq(¤t->sighand->siglock);
2429 spin_unlock_irq(¤t->sighand->siglock);
2848 struct sighand_struct *sighand = data;
2850 spin_lock_init(&sighand->siglock);
2851 init_waitqueue_head(&sighand->signalfd_wqh);
2919 if (refcount_read(¤t->sighand->count) > 1)