Lines Matching refs:sighand
1063 atomic_inc(¤t->sighand->count); in copy_sighand()
1067 rcu_assign_pointer(tsk->sighand, sig); in copy_sighand()
1071 memcpy(sig->action, current->sighand->action, sizeof(sig->action)); in copy_sighand()
1075 void __cleanup_sighand(struct sighand_struct *sighand) in __cleanup_sighand() argument
1077 if (atomic_dec_and_test(&sighand->count)) { in __cleanup_sighand()
1078 signalfd_cleanup(sighand); in __cleanup_sighand()
1083 kmem_cache_free(sighand_cachep, sighand); in __cleanup_sighand()
1171 assert_spin_locked(¤t->sighand->siglock); in copy_seccomp()
1533 spin_lock(¤t->sighand->siglock); in copy_process()
1551 spin_unlock(¤t->sighand->siglock); in copy_process()
1591 spin_unlock(¤t->sighand->siglock); in copy_process()
1621 __cleanup_sighand(p->sighand); in copy_process()
1810 struct sighand_struct *sighand = data; in sighand_ctor() local
1812 spin_lock_init(&sighand->siglock); in sighand_ctor()
1813 init_waitqueue_head(&sighand->signalfd_wqh); in sighand_ctor()
1867 if (atomic_read(¤t->sighand->count) > 1) in check_unshare_flags()