Lines Matching refs:sighand
1515 refcount_inc(¤t->sighand->count); in copy_sighand()
1519 rcu_assign_pointer(tsk->sighand, sig); in copy_sighand()
1524 spin_lock_irq(¤t->sighand->siglock); in copy_sighand()
1525 memcpy(sig->action, current->sighand->action, sizeof(sig->action)); in copy_sighand()
1526 spin_unlock_irq(¤t->sighand->siglock); in copy_sighand()
1530 void __cleanup_sighand(struct sighand_struct *sighand) in __cleanup_sighand() argument
1532 if (refcount_dec_and_test(&sighand->count)) { in __cleanup_sighand()
1533 signalfd_cleanup(sighand); in __cleanup_sighand()
1538 kmem_cache_free(sighand_cachep, sighand); in __cleanup_sighand()
1613 assert_spin_locked(¤t->sighand->siglock); in copy_seccomp()
1848 spin_lock_irq(¤t->sighand->siglock); in copy_process()
1852 spin_unlock_irq(¤t->sighand->siglock); in copy_process()
2155 spin_lock(¤t->sighand->siglock); in copy_process()
2225 spin_unlock(¤t->sighand->siglock); in copy_process()
2240 spin_unlock(¤t->sighand->siglock); in copy_process()
2269 __cleanup_sighand(p->sighand); in copy_process()
2297 spin_lock_irq(¤t->sighand->siglock); in copy_process()
2299 spin_unlock_irq(¤t->sighand->siglock); in copy_process()
2699 struct sighand_struct *sighand = data; in sighand_ctor() local
2701 spin_lock_init(&sighand->siglock); in sighand_ctor()
2702 init_waitqueue_head(&sighand->signalfd_wqh); in sighand_ctor()
2765 if (refcount_read(¤t->sighand->count) > 1) in check_unshare_flags()