• Home
  • Raw
  • Download

Lines Matching refs:sighand

69 	return t->sighand->action[sig - 1].sa.sa_handler;  in sig_handler()
196 spin_lock_irq(&current->sighand->siglock); in calculate_sigpending()
199 spin_unlock_irq(&current->sighand->siglock); in calculate_sigpending()
474 spin_lock_irqsave(&t->sighand->siglock, flags); in flush_signals()
478 spin_unlock_irqrestore(&t->sighand->siglock, flags); in flush_signals()
511 spin_lock_irqsave(&tsk->sighand->siglock, flags); in flush_itimer_signals()
514 spin_unlock_irqrestore(&tsk->sighand->siglock, flags); in flush_itimer_signals()
523 t->sighand->action[i].sa.sa_handler = SIG_IGN; in ignore_signals()
536 struct k_sigaction *ka = &t->sighand->action[0]; in flush_signal_handlers()
551 void __user *handler = tsk->sighand->action[sig-1].sa.sa_handler; in unhandled_signal()
689 spin_unlock(&tsk->sighand->siglock); in dequeue_signal()
691 spin_lock(&tsk->sighand->siglock); in dequeue_signal()
878 assert_spin_locked(&t->sighand->siglock); in ptrace_trap_notify()
1073 assert_spin_locked(&t->sighand->siglock); in __send_signal()
1311 spin_lock_irqsave(&t->sighand->siglock, flags); in force_sig_info_to_task()
1312 action = &t->sighand->action[sig-1]; in force_sig_info_to_task()
1329 spin_unlock_irqrestore(&t->sighand->siglock, flags); in force_sig_info_to_task()
1366 struct sighand_struct *sighand; in __lock_task_sighand() local
1370 sighand = rcu_dereference(tsk->sighand); in __lock_task_sighand()
1371 if (unlikely(sighand == NULL)) in __lock_task_sighand()
1385 spin_lock_irqsave(&sighand->siglock, *flags); in __lock_task_sighand()
1386 if (likely(sighand == tsk->sighand)) in __lock_task_sighand()
1388 spin_unlock_irqrestore(&sighand->siglock, *flags); in __lock_task_sighand()
1392 return sighand; in __lock_task_sighand()
1644 spin_lock_irqsave(&p->sighand->siglock, flags); in force_sigsegv()
1645 p->sighand->action[sig - 1].sa.sa_handler = SIG_DFL; in force_sigsegv()
1646 spin_unlock_irqrestore(&p->sighand->siglock, flags); in force_sigsegv()
1819 spinlock_t *lock = &current->sighand->siglock; in sigqueue_free()
1967 psig = tsk->parent->sighand; in do_notify_parent()
2018 struct sighand_struct *sighand; in do_notify_parent_cldstop() local
2058 sighand = parent->sighand; in do_notify_parent_cldstop()
2059 spin_lock_irqsave(&sighand->siglock, flags); in do_notify_parent_cldstop()
2060 if (sighand->action[SIGCHLD-1].sa.sa_handler != SIG_IGN && in do_notify_parent_cldstop()
2061 !(sighand->action[SIGCHLD-1].sa.sa_flags & SA_NOCLDSTOP)) in do_notify_parent_cldstop()
2067 spin_unlock_irqrestore(&sighand->siglock, flags); in do_notify_parent_cldstop()
2116 __releases(&current->sighand->siglock) in ptrace_stop()
2117 __acquires(&current->sighand->siglock) in ptrace_stop()
2133 spin_unlock_irq(&current->sighand->siglock); in ptrace_stop()
2135 spin_lock_irq(&current->sighand->siglock); in ptrace_stop()
2183 spin_unlock_irq(&current->sighand->siglock); in ptrace_stop()
2238 spin_lock_irq(&current->sighand->siglock); in ptrace_stop()
2272 spin_lock_irq(&current->sighand->siglock); in ptrace_notify()
2274 spin_unlock_irq(&current->sighand->siglock); in ptrace_notify()
2300 __releases(&current->sighand->siglock) in do_signal_stop()
2371 spin_unlock_irq(&current->sighand->siglock); in do_signal_stop()
2447 __releases(&current->sighand->siglock) in do_freezer_trap()
2456 spin_unlock_irq(&current->sighand->siglock); in do_freezer_trap()
2468 spin_unlock_irq(&current->sighand->siglock); in do_freezer_trap()
2523 struct sighand_struct *sighand = current->sighand; in get_signal() local
2541 spin_lock_irq(&sighand->siglock); in get_signal()
2557 spin_unlock_irq(&sighand->siglock); in get_signal()
2583 &sighand->action[SIGKILL - 1]); in get_signal()
2599 spin_unlock_irq(&sighand->siglock); in get_signal()
2611 spin_unlock_irq(&sighand->siglock); in get_signal()
2635 ka = &sighand->action[signr-1]; in get_signal()
2684 spin_unlock_irq(&sighand->siglock); in get_signal()
2691 spin_lock_irq(&sighand->siglock); in get_signal()
2707 spin_unlock_irq(&sighand->siglock); in get_signal()
2737 spin_unlock_irq(&sighand->siglock); in get_signal()
2827 spin_lock_irq(&tsk->sighand->siglock); in exit_signals()
2847 spin_unlock_irq(&tsk->sighand->siglock); in exit_signals()
2914 spin_lock_irq(&tsk->sighand->siglock); in __set_current_blocked()
2916 spin_unlock_irq(&tsk->sighand->siglock); in __set_current_blocked()
3067 spin_lock_irq(&current->sighand->siglock); in do_sigpending()
3070 spin_unlock_irq(&current->sighand->siglock); in do_sigpending()
3453 spin_lock_irq(&tsk->sighand->siglock); in do_sigtimedwait()
3465 spin_unlock_irq(&tsk->sighand->siglock); in do_sigtimedwait()
3470 spin_lock_irq(&tsk->sighand->siglock); in do_sigtimedwait()
3475 spin_unlock_irq(&tsk->sighand->siglock); in do_sigtimedwait()
3928 spin_lock_irq(&current->sighand->siglock); in kernel_sigaction()
3929 current->sighand->action[sig - 1].sa.sa_handler = action; in kernel_sigaction()
3940 spin_unlock_irq(&current->sighand->siglock); in kernel_sigaction()
3958 k = &p->sighand->action[sig-1]; in do_sigaction()
3960 spin_lock_irq(&p->sighand->siglock); in do_sigaction()
3990 spin_unlock_irq(&p->sighand->siglock); in do_sigaction()
4589 if (!spin_trylock(&t->sighand->siglock)) { in kdb_send_sig()
4598 spin_unlock(&t->sighand->siglock); in kdb_send_sig()
4608 spin_unlock(&t->sighand->siglock); in kdb_send_sig()