Searched defs:sighand (Results 1 - 4 of 4) sorted by relevance

/kernel/
H A Dexit.c87 struct sighand_struct *sighand; local
91 sighand = rcu_dereference_check(tsk->sighand,
93 spin_lock(&sighand->siglock);
151 tsk->sighand = NULL;
152 spin_unlock(&sighand->siglock);
154 __cleanup_sighand(sighand);
876 struct sighand_struct *const sighand = current->sighand; local
878 spin_lock_irq(&sighand
[all...]
H A Dfork.c189 /* SLAB cache for sighand_struct structures (tsk->sighand) */
344 * the sighand lock in case orig has changed between now and
1026 atomic_inc(&current->sighand->count);
1030 rcu_assign_pointer(tsk->sighand, sig);
1034 memcpy(sig->action, current->sighand->action, sizeof(sig->action));
1038 void __cleanup_sighand(struct sighand_struct *sighand) argument
1040 if (atomic_dec_and_test(&sighand->count)) {
1041 signalfd_cleanup(sighand);
1042 kmem_cache_free(sighand_cachep, sighand);
1126 * Must be called with sighand
1774 struct sighand_struct *sighand = data; local
[all...]
H A Dsignal.c58 return t->sighand->action[sig - 1].sa.sa_handler;
243 * Must be called with @task->sighand->siglock held.
274 * Must be called with @task->sighand->siglock held.
298 * Must be called with @task->sighand->siglock held.
323 * Must be called with @task->sighand->siglock held.
430 spin_lock_irqsave(&t->sighand->siglock, flags);
432 spin_unlock_irqrestore(&t->sighand->siglock, flags);
463 spin_lock_irqsave(&tsk->sighand->siglock, flags);
466 spin_unlock_irqrestore(&tsk->sighand->siglock, flags);
474 t->sighand
1263 struct sighand_struct *sighand; local
1724 struct sighand_struct *sighand; local
2175 struct sighand_struct *sighand = current->sighand; local
[all...]
/kernel/time/
H A Dposix-cpu-timers.c26 spin_lock_irq(&task->sighand->siglock);
28 spin_unlock_irq(&task->sighand->siglock);
236 * Must be called with task sighand lock held for safe while_each_thread()
369 struct sighand_struct *sighand; local
375 * Protect against sighand release/switch in exit/exec and process/
378 sighand = lock_task_sighand(p, &flags);
379 if (unlikely(sighand == NULL)) {
445 * expire later. This must be called with the sighand lock held.
536 * Must be called with task sighand lock held for safe while_each_thread()
604 struct sighand_struct *sighand; local
769 struct sighand_struct *sighand; local
1004 struct sighand_struct *sighand; local
[all...]

Completed in 295 milliseconds