Home
last modified time | relevance | path

Searched refs:PF_KTHREAD (Results 1 – 25 of 69) sorted by relevance

123

/linux/kernel/
A Dfreezer.c48 if (pm_freezing && !(p->flags & PF_KTHREAD)) in freezing_slow_path()
137 if (!(p->flags & PF_KTHREAD)) in freeze_task()
A Dkthread.c73 WARN_ON(!(k->flags & PF_KTHREAD)); in to_kthread()
91 if (kthread && !(p->flags & PF_KTHREAD)) in __to_kthread()
1350 WARN_ON_ONCE(!(tsk->flags & PF_KTHREAD)); in kthread_use_mm()
1396 WARN_ON_ONCE(!(tsk->flags & PF_KTHREAD)); in kthread_unuse_mm()
1436 if (!(current->flags & PF_KTHREAD)) in kthread_associate_blkcg()
1462 if (current->flags & PF_KTHREAD) { in kthread_blkcg()
/linux/arch/nds32/kernel/
A Dprocess.c159 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
210 if (!(next->flags & PF_KTHREAD)) in _switch_fpu()
/linux/kernel/cgroup/
A Dfreezer.c202 if (task->flags & PF_KTHREAD) in cgroup_do_freeze()
230 if (task->flags & PF_KTHREAD) in cgroup_freezer_migrate_task()
/linux/arch/x86/include/asm/fpu/
A Dsched.h42 !(current->flags & PF_KTHREAD)) { in switch_fpu_prepare()
/linux/lib/
A Dis_single_threaded.c31 if (unlikely(p->flags & PF_KTHREAD)) in current_is_single_threaded()
/linux/arch/x86/kernel/fpu/
A Dcontext.h60 if (WARN_ON_ONCE(current->flags & PF_KTHREAD)) in fpregs_restore_userregs()
A Dcore.c344 if (!(current->flags & PF_KTHREAD) && in kernel_fpu_begin_mask()
491 if (dst->flags & (PF_KTHREAD | PF_IO_WORKER)) { in fpu_clone()
/linux/arch/csky/kernel/
A Dprocess.c52 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
/linux/fs/
A Dfile_table.c339 if (likely(!in_interrupt() && !(task->flags & PF_KTHREAD))) { in fput_many()
372 BUG_ON(!(task->flags & PF_KTHREAD)); in __fput_sync()
/linux/mm/
A Dvmacache.c32 return current->mm == mm && !(current->flags & PF_KTHREAD); in vmacache_valid_mm()
/linux/arch/hexagon/kernel/
A Dprocess.c76 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
/linux/arch/arm64/kernel/
A Dprocess.c336 if (likely(!(p->flags & (PF_KTHREAD | PF_IO_WORKER)))) { in copy_thread()
413 if (unlikely(next->flags & PF_KTHREAD)) in ssbs_thread_switch()
/linux/arch/h8300/kernel/
A Dprocess.c115 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
/linux/arch/parisc/kernel/
A Dprocess.c200 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
/linux/arch/openrisc/kernel/
A Dprocess.c175 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
/linux/kernel/power/
A Dprocess.c238 if (p->flags & PF_KTHREAD) in thaw_kernel_threads()
/linux/arch/arc/kernel/
A Dprocess.c194 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
/linux/arch/microblaze/kernel/
A Dprocess.c62 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
/linux/arch/sh/kernel/
A Dprocess_32.c117 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
/linux/arch/riscv/kernel/
A Dprocess.c128 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
/linux/arch/xtensa/kernel/
A Dprocess.c227 if (!(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
/linux/arch/s390/kernel/
A Dprocess.c133 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
/linux/arch/m68k/kernel/
A Dprocess.c160 if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) { in copy_thread()
/linux/init/
A Dinit_task.c77 .flags = PF_KTHREAD,

Completed in 24 milliseconds

123