Home
last modified time | relevance | path

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

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