Lines Matching refs:current
81 return test_bit(KTHREAD_SHOULD_STOP, &to_kthread(current)->flags); in kthread_should_stop()
98 return test_bit(KTHREAD_SHOULD_PARK, &to_kthread(current)->flags); in kthread_should_park()
117 if (unlikely(freezing(current))) in kthread_freezable_should_stop()
173 __kthread_parkme(to_kthread(current)); in kthread_parkme()
191 current->vfork_done = &self.exited; in kthread()
201 create->result = current; in kthread()
230 current->pref_node_fork = create->node; in create_kthread()
453 if (k != current) { in kthread_park()
504 struct task_struct *tsk = current; in kthreadd()
512 current->flags |= PF_NOFREEZE; in kthreadd()
571 worker->task = current; in kthread_worker_fn()
596 } else if (!freezing(current)) in kthread_worker_fn()