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()
116 if (unlikely(freezing(current))) in kthread_freezable_should_stop()
172 __kthread_parkme(to_kthread(current)); in kthread_parkme()
189 current->vfork_done = &self.exited; in kthread()
199 create->result = current; in kthread()
228 current->pref_node_fork = create->node; in create_kthread()
435 if (k != current) { in kthread_park()
485 struct task_struct *tsk = current; in kthreadd()
493 current->flags |= PF_NOFREEZE; in kthreadd()
552 worker->task = current; in kthread_worker_fn()
577 } else if (!freezing(current)) in kthread_worker_fn()