Searched refs:PF_KTHREAD (Results 1 - 60 of 60) sorted by relevance

/linux-4.1.27/lib/
H A Dis_single_threaded.c34 if (unlikely(p->flags & PF_KTHREAD)) for_each_process()
/linux-4.1.27/kernel/
H A Dfreezer.c51 if (pm_freezing && !(p->flags & PF_KTHREAD)) freezing_slow_path()
140 if (!(p->flags & PF_KTHREAD)) freeze_task()
H A Dfork.c760 * Returns %NULL if the task has no mm. Checks PF_KTHREAD (meaning
773 if (task->flags & PF_KTHREAD) get_task_mm()
H A Dptrace.c317 if (unlikely(task->flags & PF_KTHREAD)) ptrace_attach()
H A Dexit.c341 if (g->flags & PF_KTHREAD) for_each_process()
H A Dfutex.c903 if (unlikely(p->flags & PF_KTHREAD)) { attach_to_pi_owner()
/linux-4.1.27/arch/score/kernel/
H A Dprocess.c79 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/c6x/kernel/
H A Dprocess.c121 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/mm/
H A Dvmacache.c57 return current->mm == mm && !(current->flags & PF_KTHREAD); vmacache_valid_mm()
H A Doom_kill.c126 if (p->flags & PF_KTHREAD) oom_unkillable_task()
594 !(p->flags & PF_KTHREAD)) { for_each_process()
H A Dpage_alloc.c2806 && !(current->flags & PF_KTHREAD)) __alloc_pages_slowpath()
2816 (current->flags & PF_KTHREAD)) __alloc_pages_slowpath()
H A Dvmscan.c2691 if (current->flags & PF_KTHREAD) throttle_direct_reclaim()
/linux-4.1.27/fs/
H A Dfile_table.c269 if (likely(!in_interrupt() && !(task->flags & PF_KTHREAD))) { fput()
297 BUG_ON(!(task->flags & PF_KTHREAD)); __fput_sync()
H A Dcoredump.c359 if (g->flags & PF_KTHREAD) for_each_process()
H A Dexec.c1106 current->flags &= ~(PF_RANDOMIZE | PF_FORKNOEXEC | PF_KTHREAD | flush_old_exec()
H A Dnamespace.c1113 if (likely(!(task->flags & PF_KTHREAD))) { mntput_no_expire()
/linux-4.1.27/drivers/staging/android/
H A Dlowmemorykiller.c123 if (tsk->flags & PF_KTHREAD) for_each_process()
/linux-4.1.27/arch/sh/kernel/
H A Dprocess_32.c148 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
H A Dprocess_64.c393 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/microblaze/kernel/
H A Dprocess.c60 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/mn10300/kernel/
H A Dprocess.c166 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/cris/arch-v10/kernel/
H A Dprocess.c107 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/cris/arch-v32/kernel/
H A Dprocess.c116 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/frv/kernel/
H A Dprocess.c147 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/m32r/kernel/
H A Dprocess.c138 if (unlikely(tsk->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/arc/kernel/
H A Dprocess.c115 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
H A Dentry.S743 mov r0, r13 ; (see PF_KTHREAD block in copy_thread)
/linux-4.1.27/kernel/power/
H A Dprocess.c230 if (p->flags & (PF_KTHREAD | PF_WQ_WORKER)) for_each_process_thread()
/linux-4.1.27/include/linux/
H A Dinit_task.h194 .flags = PF_KTHREAD, \
H A Dmemcontrol.h476 if (in_interrupt() || (!current->mm) || (current->flags & PF_KTHREAD)) memcg_kmem_newpage_charge()
531 if (in_interrupt() || (!current->mm) || (current->flags & PF_KTHREAD)) memcg_kmem_get_cache()
H A Dsched.h1985 #define PF_KTHREAD 0x00200000 /* I am a kernel thread */ macro
/linux-4.1.27/arch/um/kernel/
H A Dprocess.c156 int kthread = current->flags & PF_KTHREAD; copy_thread()
/linux-4.1.27/arch/unicore32/kernel/
H A Dprocess.c239 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/s390/kernel/
H A Dprocess.c120 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/nios2/kernel/
H A Dprocess.c108 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/openrisc/kernel/
H A Dprocess.c167 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/parisc/kernel/
H A Dprocess.c200 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/avr32/kernel/
H A Dprocess.c288 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/hexagon/kernel/
H A Dprocess.c94 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/m68k/kernel/
H A Dprocess.c151 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/x86/kernel/
H A Dprocess_32.c143 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
H A Dprocess_64.c176 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/xtensa/kernel/
H A Dprocess.c206 if (!(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/metag/kernel/
H A Dprocess.c198 if (unlikely(tsk->flags & PF_KTHREAD)) { copy_thread()
H A Dtraps.c892 if (tsk->flags & PF_KTHREAD) { ret_from_fork()
/linux-4.1.27/arch/arm64/kernel/
H A Dprocess.c261 if (likely(!(p->flags & PF_KTHREAD))) { copy_thread()
/linux-4.1.27/arch/blackfin/kernel/
H A Dprocess.c122 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/arm/kernel/
H A Dprocess.c213 if (likely(!(p->flags & PF_KTHREAD))) { copy_thread()
/linux-4.1.27/arch/alpha/kernel/
H A Dprocess.c258 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/sparc/kernel/
H A Dprocess_32.c345 if (unlikely(p->flags & PF_KTHREAD)) {
H A Dprocess_64.c639 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/mips/kernel/
H A Dprocess.c128 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/arch/tile/kernel/
H A Dprocess.c128 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/drivers/tty/
H A Dsysrq.c332 if (p->flags & PF_KTHREAD) for_each_process()
/linux-4.1.27/arch/ia64/kernel/
H A Dprocess.c378 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/kernel/sched/
H A Dwait.c303 return (current->flags & PF_KTHREAD) && kthread_should_stop(); is_kthread_should_stop()
H A Dcore.c7379 if (p->flags & PF_KTHREAD) for_each_process_thread()
/linux-4.1.27/drivers/staging/android/ion/
H A Dion.c758 if (current->group_leader->flags & PF_KTHREAD) { ion_client_create()
/linux-4.1.27/arch/powerpc/kernel/
H A Dprocess.c1147 if (unlikely(p->flags & PF_KTHREAD)) { copy_thread()
/linux-4.1.27/security/smack/
H A Dsmack_lsm.c2496 if (unlikely(current->flags & PF_KTHREAD)) { smack_socket_post_create()

Completed in 1148 milliseconds