Lines Matching defs:sighand
419 /* SLAB cache for sighand_struct structures (tsk->sighand) */
1131 * the sighand lock in case orig has changed between now and
1807 refcount_inc(¤t->sighand->count);
1811 RCU_INIT_POINTER(tsk->sighand, sig);
1816 spin_lock_irq(¤t->sighand->siglock);
1817 memcpy(sig->action, current->sighand->action, sizeof(sig->action));
1818 spin_unlock_irq(¤t->sighand->siglock);
1827 void __cleanup_sighand(struct sighand_struct *sighand)
1829 if (refcount_dec_and_test(&sighand->count)) {
1830 signalfd_cleanup(sighand);
1835 kmem_cache_free(sighand_cachep, sighand);
1907 * Must be called with sighand->lock held, which is common to
1912 assert_spin_locked(¤t->sighand->siglock);
1921 * sighand lock. The seccomp state and nnp must be in sync.
1928 * flags and between before we held the sighand lock, we have
2210 spin_lock_irq(¤t->sighand->siglock);
2214 spin_unlock_irq(¤t->sighand->siglock);
2536 spin_lock(¤t->sighand->siglock);
2558 * before holding sighand lock.
2605 spin_unlock(¤t->sighand->siglock);
2627 spin_unlock(¤t->sighand->siglock);
2654 __cleanup_sighand(p->sighand);
2683 spin_lock_irq(¤t->sighand->siglock);
2685 spin_unlock_irq(¤t->sighand->siglock);
3140 struct sighand_struct *sighand = data;
3142 spin_lock_init(&sighand->siglock);
3143 init_waitqueue_head(&sighand->signalfd_wqh);
3214 if (refcount_read(¤t->sighand->count) > 1)