Lines Matching defs:sighand
473 /* SLAB cache for sighand_struct structures (tsk->sighand) */
945 * the sighand lock in case orig has changed between now and
1672 refcount_inc(¤t->sighand->count);
1676 RCU_INIT_POINTER(tsk->sighand, sig);
1681 spin_lock_irq(¤t->sighand->siglock);
1682 memcpy(sig->action, current->sighand->action, sizeof(sig->action));
1683 spin_unlock_irq(¤t->sighand->siglock);
1692 void __cleanup_sighand(struct sighand_struct *sighand)
1694 if (refcount_dec_and_test(&sighand->count)) {
1695 signalfd_cleanup(sighand);
1700 kmem_cache_free(sighand_cachep, sighand);
1776 * Must be called with sighand->lock held, which is common to
1781 assert_spin_locked(¤t->sighand->siglock);
1790 * sighand lock. The seccomp state and nnp must be in sync.
1797 * flags and between before we held the sighand lock, we have
2100 spin_lock_irq(¤t->sighand->siglock);
2104 spin_unlock_irq(¤t->sighand->siglock);
2455 spin_lock(¤t->sighand->siglock);
2481 * before holding sighand lock.
2536 spin_unlock(¤t->sighand->siglock);
2562 spin_unlock(¤t->sighand->siglock);
2590 __cleanup_sighand(p->sighand);
2623 spin_lock_irq(¤t->sighand->siglock);
2625 spin_unlock_irq(¤t->sighand->siglock);
3089 struct sighand_struct *sighand = data;
3091 spin_lock_init(&sighand->siglock);
3092 init_waitqueue_head(&sighand->signalfd_wqh);
3157 if (refcount_read(¤t->sighand->count) > 1)