Searched refs:PF_KTHREAD (Results 1 – 25 of 77) sorted by relevance
1234
48 if (pm_freezing && !(p->flags & PF_KTHREAD)) in freezing_slow_path()137 if (!(p->flags & PF_KTHREAD)) in freeze_task()
83 WARN_ON(!(k->flags & PF_KTHREAD)); in to_kthread()101 if (kthread && !(p->flags & PF_KTHREAD)) in __to_kthread()1317 WARN_ON_ONCE(!(tsk->flags & PF_KTHREAD)); in kthread_use_mm()1351 WARN_ON_ONCE(!(tsk->flags & PF_KTHREAD)); in kthread_unuse_mm()1382 if (!(current->flags & PF_KTHREAD)) in kthread_associate_blkcg()1408 if (current->flags & PF_KTHREAD) { in kthread_blkcg()
31 if (unlikely(p->flags & PF_KTHREAD)) in current_is_single_threaded()
159 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()210 if (!(next->flags & PF_KTHREAD)) in _switch_fpu()
501 if (WARN_ON_ONCE(current->flags & PF_KTHREAD)) in __fpregs_load_activate()538 if (static_cpu_has(X86_FEATURE_FPU) && !(prev->flags & PF_KTHREAD)) { in switch_fpu_prepare()575 if (!(next->flags & PF_KTHREAD)) { in switch_fpu_finish()
202 if (task->flags & PF_KTHREAD) in cgroup_do_freeze()230 if (task->flags & PF_KTHREAD) in cgroup_freezer_migrate_task()
52 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
61 if (tsk->flags & PF_KTHREAD) in ashmem_debug_process_info_show()
32 return current->mm == mm && !(current->flags & PF_KTHREAD); in vmacache_valid_mm()
95 if (tsk->flags & PF_KTHREAD) in purgeable_ashmem_trigger_show()
115 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
76 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
340 if (likely(!in_interrupt() && !(task->flags & PF_KTHREAD))) { in fput_many()373 BUG_ON(!(task->flags & PF_KTHREAD)); in __fput_sync()
115 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
203 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
170 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
401 if (likely(!(p->flags & (PF_KTHREAD | PF_IO_WORKER)))) { in copy_thread()485 if (unlikely(next->flags & PF_KTHREAD)) in ssbs_thread_switch()
35 if (tsk->flags & PF_KTHREAD) in init_dma_buf_task_info()
238 if (p->flags & (PF_KTHREAD | PF_WQ_WORKER)) in thaw_kernel_threads()
194 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
693 if ((current->flags & (PF_KTHREAD | PF_IO_WORKER)) == PF_KTHREAD) in smack_privileged()
62 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
117 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
220 if (!(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()