Searched refs:PF_KTHREAD (Results 1 – 25 of 59) sorted by relevance
123
53 if (pm_freezing && !(p->flags & PF_KTHREAD)) in freezing_slow_path()142 if (!(p->flags & PF_KTHREAD)) in freeze_task()
72 WARN_ON(!(k->flags & PF_KTHREAD)); in to_kthread()1198 if (!(current->flags & PF_KTHREAD)) in kthread_associate_blkcg()1224 if (current->flags & PF_KTHREAD) { in kthread_blkcg()
35 if (unlikely(p->flags & PF_KTHREAD)) in current_is_single_threaded()
119 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
33 return current->mm == mm && !(current->flags & PF_KTHREAD); in vmacache_valid_mm()
117 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
89 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
334 if (likely(!in_interrupt() && !(task->flags & PF_KTHREAD))) { in fput()362 BUG_ON(!(task->flags & PF_KTHREAD)); in __fput_sync()
175 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
242 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
108 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
238 if (p->flags & (PF_KTHREAD | PF_WQ_WORKER)) in thaw_kernel_threads()
206 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
63 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
142 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
132 if (!(task->flags & (PF_KTHREAD | PF_IDLE))) in __save_stack_trace_reliable()
137 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread_tls()
141 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
143 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
69 .flags = PF_KTHREAD,
218 if (!(p->flags & PF_KTHREAD)) { in copy_thread()
115 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread_tls()
112 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
234 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
323 WARN_ON_ONCE(!(current->flags & PF_KTHREAD)); in play_idle()