Lines Matching refs:signal
146 struct signal_struct *sig = tsk->signal; in __exit_signal()
362 if (p->signal->flags & SIGNAL_STOP_STOPPED) in has_stopped_jobs()
413 core_state = tsk->signal->core_state; in coredump_task_exit()
629 if (father->signal->has_child_subreaper) { in find_new_reaper()
644 if (!reaper->signal->is_child_subreaper) in find_new_reaper()
758 if (unlikely(tsk->signal->notify_count < 0)) in exit_notify()
759 wake_up_process(tsk->signal->group_exec_task); in exit_notify()
795 struct signal_struct *signal = tsk->signal; in synchronize_group_exit() local
798 signal->quick_threads--; in synchronize_group_exit()
799 if ((signal->quick_threads == 0) && in synchronize_group_exit()
800 !(signal->flags & SIGNAL_GROUP_EXIT)) { in synchronize_group_exit()
801 signal->flags = SIGNAL_GROUP_EXIT; in synchronize_group_exit()
802 signal->group_exit_code = code; in synchronize_group_exit()
803 signal->group_stop_count = 0; in synchronize_group_exit()
837 group_dead = atomic_dec_and_test(&tsk->signal->live); in do_exit()
845 tsk->signal->group_exit_code ?: (int)code); in do_exit()
848 hrtimer_cancel(&tsk->signal->real_timer); in do_exit()
852 setmax_mm_hiwater_rss(&tsk->signal->maxrss, tsk->mm); in do_exit()
1002 struct signal_struct *sig = current->signal; in do_group_exit()
1111 status = (p->signal->flags & SIGNAL_GROUP_EXIT) in wait_task_zombie()
1112 ? p->signal->group_exit_code : p->exit_code; in wait_task_zombie()
1138 struct signal_struct *sig = p->signal; in wait_task_zombie()
1139 struct signal_struct *psig = current->signal; in wait_task_zombie()
1194 status = (p->signal->flags & SIGNAL_GROUP_EXIT) in wait_task_zombie()
1195 ? p->signal->group_exit_code : p->exit_code; in wait_task_zombie()
1236 if (p->signal->flags & SIGNAL_STOP_STOPPED) in task_stopped_code()
1237 return &p->signal->group_exit_code; in task_stopped_code()
1341 if (!(p->signal->flags & SIGNAL_STOP_CONTINUED)) in wait_task_continued()
1346 if (!(p->signal->flags & SIGNAL_STOP_CONTINUED)) { in wait_task_continued()
1351 p->signal->flags &= ~SIGNAL_STOP_CONTINUED; in wait_task_continued()
1542 __wake_up_sync_key(&parent->signal->wait_chldexit, in __wake_up_parent()
1594 add_wait_queue(¤t->signal->wait_chldexit, &wo->child_wait); in do_wait()
1643 remove_wait_queue(¤t->signal->wait_chldexit, &wo->child_wait); in do_wait()