Searched refs:jobctl (Results 1 – 10 of 10) sorted by relevance
142 } else if (!(current->jobctl & JOBCTL_TRAP_FREEZE)) { in cgroup_leave_frozen()144 current->jobctl |= JOBCTL_TRAP_FREEZE; in cgroup_leave_frozen()164 task->jobctl |= JOBCTL_TRAP_FREEZE; in cgroup_freeze_task()167 task->jobctl &= ~JOBCTL_TRAP_FREEZE; in cgroup_freeze_task()
6193 child->jobctl |= JOBCTL_TRAP_FREEZE; in cgroup_post_fork()
57 if (!(READ_ONCE(task->jobctl) & JOBCTL_TASK_WORK) && in task_work_add()59 task->jobctl |= JOBCTL_TASK_WORK; in task_work_add()
147 child->jobctl |= JOBCTL_STOP_PENDING; in __ptrace_unlink()156 if (!(child->jobctl & JOBCTL_STOP_SIGMASK)) in __ptrace_unlink()157 child->jobctl |= SIGSTOP; in __ptrace_unlink()166 if (child->jobctl & JOBCTL_STOP_PENDING || task_is_traced(child)) in __ptrace_unlink()193 if (task->jobctl & JOBCTL_LISTENING) in ptrace_freeze_traced()498 wait_on_bit(&task->jobctl, JOBCTL_TRAPPING_BIT, TASK_KILLABLE); in ptrace_attach()1145 ptrace_signal_wake_up(child, child->jobctl & JOBCTL_LISTENING); in ptrace_request()1165 child->jobctl |= JOBCTL_LISTENING; in ptrace_request()1170 if (child->jobctl & JOBCTL_TRAP_NOTIFY) in ptrace_request()
156 if ((t->jobctl & (JOBCTL_PENDING_MASK | JOBCTL_TRAP_FREEZE)) || in recalc_sigpending_tsk()295 task->jobctl &= ~JOBCTL_STOP_SIGMASK; in task_set_jobctl_pending()297 task->jobctl |= mask; in task_set_jobctl_pending()315 if (unlikely(task->jobctl & JOBCTL_TRAPPING)) { in task_clear_jobctl_trapping()316 task->jobctl &= ~JOBCTL_TRAPPING; in task_clear_jobctl_trapping()318 wake_up_bit(&task->jobctl, JOBCTL_TRAPPING_BIT); in task_clear_jobctl_trapping()344 task->jobctl &= ~mask; in task_clear_jobctl_pending()346 if (!(task->jobctl & JOBCTL_PENDING_MASK)) in task_clear_jobctl_pending()369 bool consume = task->jobctl & JOBCTL_STOP_CONSUME; in task_participate_group_stop()371 WARN_ON_ONCE(!(task->jobctl & JOBCTL_STOP_PENDING)); in task_participate_group_stop()[all …]
1116 if (task_is_traced(p) && !(p->jobctl & JOBCTL_LISTENING)) in task_stopped_code()
212 child->jobctl = 0; in ptrace_init_task()
905 unsigned long jobctl; member
295 if (current->jobctl & JOBCTL_STOP_DEQUEUED) in kernel_signal_stop()
6978 if (current->jobctl & JOBCTL_TASK_WORK) { in io_run_task_work_sig()6980 current->jobctl &= ~JOBCTL_TASK_WORK; in io_run_task_work_sig()