Searched refs:PF_KTHREAD (Results 1 – 9 of 9) sorted by relevance
393 if (likely(!(p->flags & PF_KTHREAD))) { in copy_thread()483 if (unlikely(next->flags & PF_KTHREAD)) { in ssbs_thread_switch()
260 if (p->flags & (PF_KTHREAD | PF_WQ_WORKER)) { in thaw_kernel_threads()
417 return (current->flags & PF_KTHREAD) && kthread_should_stop(); in is_kthread_should_stop()
2068 if (p->flags & PF_KTHREAD) { in __set_cpus_allowed_ptr()2116 if (p->flags & PF_KTHREAD) { in __set_cpus_allowed_ptr()2609 bool allow_isolated = (p->flags & PF_KTHREAD); in select_task_rq()6611 if (!(p->flags & PF_KTHREAD)) { in sched_getaffinity()7439 if (!migrate_pinned_tasks && (next->flags & PF_KTHREAD) && in migrate_tasks()8347 if (p->flags & PF_KTHREAD) { in normalize_rt_tasks()
2761 if (!(p->flags & PF_KTHREAD)) { in is_per_cpu_kthread()
3026 if ((curr->flags & (PF_EXITING | PF_KTHREAD)) || work->next != work) { in task_tick_numa()
171 if (current->flags & PF_KTHREAD) { in kbase_mem_alloc_page()
159 if (current->flags & PF_KTHREAD) { in kbase_mem_alloc_page()
1689 #define PF_KTHREAD 0x00200000 /* I am a kernel thread */ macro