Lines Matching refs:sighand
1662 refcount_inc(¤t->sighand->count); in copy_sighand()
1666 RCU_INIT_POINTER(tsk->sighand, sig); in copy_sighand()
1671 spin_lock_irq(¤t->sighand->siglock); in copy_sighand()
1672 memcpy(sig->action, current->sighand->action, sizeof(sig->action)); in copy_sighand()
1673 spin_unlock_irq(¤t->sighand->siglock); in copy_sighand()
1682 void __cleanup_sighand(struct sighand_struct *sighand) in __cleanup_sighand() argument
1684 if (refcount_dec_and_test(&sighand->count)) { in __cleanup_sighand()
1685 signalfd_cleanup(sighand); in __cleanup_sighand()
1690 kmem_cache_free(sighand_cachep, sighand); in __cleanup_sighand()
1767 assert_spin_locked(¤t->sighand->siglock); in copy_seccomp()
2090 spin_lock_irq(¤t->sighand->siglock); in copy_process()
2094 spin_unlock_irq(¤t->sighand->siglock); in copy_process()
2423 spin_lock(¤t->sighand->siglock); in copy_process()
2494 spin_unlock(¤t->sighand->siglock); in copy_process()
2515 spin_unlock(¤t->sighand->siglock); in copy_process()
2542 __cleanup_sighand(p->sighand); in copy_process()
2571 spin_lock_irq(¤t->sighand->siglock); in copy_process()
2573 spin_unlock_irq(¤t->sighand->siglock); in copy_process()
3025 struct sighand_struct *sighand = data; in sighand_ctor() local
3027 spin_lock_init(&sighand->siglock); in sighand_ctor()
3028 init_waitqueue_head(&sighand->signalfd_wqh); in sighand_ctor()
3096 if (refcount_read(¤t->sighand->count) > 1) in check_unshare_flags()