Lines Matching refs:signal

145 	struct signal_struct *sig = tsk->signal;  in __exit_signal()
361 if (p->signal->flags & SIGNAL_STOP_STOPPED) in has_stopped_jobs()
412 core_state = tsk->signal->core_state; in coredump_task_exit()
632 if (father->signal->has_child_subreaper) { in find_new_reaper()
647 if (!reaper->signal->is_child_subreaper) in find_new_reaper()
761 if (unlikely(tsk->signal->notify_count < 0)) in exit_notify()
762 wake_up_process(tsk->signal->group_exec_task); in exit_notify()
798 struct signal_struct *signal = tsk->signal; in synchronize_group_exit() local
801 signal->quick_threads--; in synchronize_group_exit()
802 if ((signal->quick_threads == 0) && in synchronize_group_exit()
803 !(signal->flags & SIGNAL_GROUP_EXIT)) { in synchronize_group_exit()
804 signal->flags = SIGNAL_GROUP_EXIT; in synchronize_group_exit()
805 signal->group_exit_code = code; in synchronize_group_exit()
806 signal->group_stop_count = 0; in synchronize_group_exit()
836 group_dead = atomic_dec_and_test(&tsk->signal->live); in do_exit()
844 tsk->signal->group_exit_code ?: (int)code); in do_exit()
847 hrtimer_cancel(&tsk->signal->real_timer); in do_exit()
851 setmax_mm_hiwater_rss(&tsk->signal->maxrss, tsk->mm); in do_exit()
1000 struct signal_struct *sig = current->signal; in do_group_exit()
1109 status = (p->signal->flags & SIGNAL_GROUP_EXIT) in wait_task_zombie()
1110 ? p->signal->group_exit_code : p->exit_code; in wait_task_zombie()
1136 struct signal_struct *sig = p->signal; in wait_task_zombie()
1137 struct signal_struct *psig = current->signal; in wait_task_zombie()
1192 status = (p->signal->flags & SIGNAL_GROUP_EXIT) in wait_task_zombie()
1193 ? p->signal->group_exit_code : p->exit_code; in wait_task_zombie()
1234 if (p->signal->flags & SIGNAL_STOP_STOPPED) in task_stopped_code()
1235 return &p->signal->group_exit_code; in task_stopped_code()
1339 if (!(p->signal->flags & SIGNAL_STOP_CONTINUED)) in wait_task_continued()
1344 if (!(p->signal->flags & SIGNAL_STOP_CONTINUED)) { in wait_task_continued()
1349 p->signal->flags &= ~SIGNAL_STOP_CONTINUED; in wait_task_continued()
1540 __wake_up_sync_key(&parent->signal->wait_chldexit, in __wake_up_parent()
1592 add_wait_queue(&current->signal->wait_chldexit, &wo->child_wait); in do_wait()
1641 remove_wait_queue(&current->signal->wait_chldexit, &wo->child_wait); in do_wait()