/linux-4.1.27/kernel/ |
D | freezer.c | 51 if (pm_freezing && !(p->flags & PF_KTHREAD)) in freezing_slow_path() 140 if (!(p->flags & PF_KTHREAD)) in freeze_task()
|
D | ptrace.c | 317 if (unlikely(task->flags & PF_KTHREAD)) in ptrace_attach()
|
D | exit.c | 341 if (g->flags & PF_KTHREAD) in mm_update_next_owner()
|
D | fork.c | 773 if (task->flags & PF_KTHREAD) in get_task_mm()
|
D | futex.c | 903 if (unlikely(p->flags & PF_KTHREAD)) { in attach_to_pi_owner()
|
/linux-4.1.27/lib/ |
D | is_single_threaded.c | 34 if (unlikely(p->flags & PF_KTHREAD)) in current_is_single_threaded()
|
/linux-4.1.27/fs/ |
D | file_table.c | 269 if (likely(!in_interrupt() && !(task->flags & PF_KTHREAD))) { in fput() 297 BUG_ON(!(task->flags & PF_KTHREAD)); in __fput_sync()
|
D | coredump.c | 359 if (g->flags & PF_KTHREAD) in zap_threads()
|
D | exec.c | 1106 current->flags &= ~(PF_RANDOMIZE | PF_FORKNOEXEC | PF_KTHREAD | in flush_old_exec()
|
D | namespace.c | 1113 if (likely(!(task->flags & PF_KTHREAD))) { in mntput_no_expire()
|
/linux-4.1.27/arch/score/kernel/ |
D | process.c | 79 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/c6x/kernel/ |
D | process.c | 121 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/mm/ |
D | vmacache.c | 57 return current->mm == mm && !(current->flags & PF_KTHREAD); in vmacache_valid_mm()
|
D | oom_kill.c | 126 if (p->flags & PF_KTHREAD) in oom_unkillable_task() 594 !(p->flags & PF_KTHREAD)) { in oom_kill_process()
|
D | page_alloc.c | 2806 && !(current->flags & PF_KTHREAD)) in __alloc_pages_slowpath() 2816 (current->flags & PF_KTHREAD)) in __alloc_pages_slowpath()
|
D | vmscan.c | 2691 if (current->flags & PF_KTHREAD) in throttle_direct_reclaim()
|
/linux-4.1.27/arch/arc/kernel/ |
D | process.c | 115 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
D | entry.S | 743 mov r0, r13 ; (see PF_KTHREAD block in copy_thread)
|
/linux-4.1.27/arch/hexagon/kernel/ |
D | process.c | 94 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/mn10300/kernel/ |
D | process.c | 166 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/cris/arch-v32/kernel/ |
D | process.c | 116 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/m32r/kernel/ |
D | process.c | 138 if (unlikely(tsk->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/parisc/kernel/ |
D | process.c | 200 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/openrisc/kernel/ |
D | process.c | 167 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/cris/arch-v10/kernel/ |
D | process.c | 107 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/include/linux/ |
D | memcontrol.h | 476 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()
|
D | init_task.h | 194 .flags = PF_KTHREAD, \
|
D | sched.h | 1985 #define PF_KTHREAD 0x00200000 /* I am a kernel thread */ macro
|
/linux-4.1.27/drivers/staging/android/ |
D | lowmemorykiller.c | 123 if (tsk->flags & PF_KTHREAD) in lowmem_scan()
|
/linux-4.1.27/kernel/power/ |
D | process.c | 230 if (p->flags & (PF_KTHREAD | PF_WQ_WORKER)) in thaw_kernel_threads()
|
/linux-4.1.27/arch/microblaze/kernel/ |
D | process.c | 60 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/frv/kernel/ |
D | process.c | 147 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/sh/kernel/ |
D | process_32.c | 148 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
D | process_64.c | 393 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/m68k/kernel/ |
D | process.c | 151 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/s390/kernel/ |
D | process.c | 120 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/xtensa/kernel/ |
D | process.c | 206 if (!(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/arm64/kernel/ |
D | process.c | 261 if (likely(!(p->flags & PF_KTHREAD))) { in copy_thread()
|
/linux-4.1.27/arch/nios2/kernel/ |
D | process.c | 108 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/unicore32/kernel/ |
D | process.c | 239 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/alpha/kernel/ |
D | process.c | 258 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/avr32/kernel/ |
D | process.c | 288 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/x86/kernel/ |
D | process_32.c | 143 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
D | process_64.c | 176 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/um/kernel/ |
D | process.c | 156 int kthread = current->flags & PF_KTHREAD; in copy_thread()
|
/linux-4.1.27/arch/arm/kernel/ |
D | process.c | 213 if (likely(!(p->flags & PF_KTHREAD))) { in copy_thread()
|
/linux-4.1.27/arch/metag/kernel/ |
D | process.c | 198 if (unlikely(tsk->flags & PF_KTHREAD)) { in copy_thread()
|
D | traps.c | 892 if (tsk->flags & PF_KTHREAD) { in ret_from_fork()
|
/linux-4.1.27/arch/blackfin/kernel/ |
D | process.c | 122 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/tile/kernel/ |
D | process.c | 128 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/sparc/kernel/ |
D | process_32.c | 345 if (unlikely(p->flags & PF_KTHREAD)) {
|
D | process_64.c | 639 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/arch/mips/kernel/ |
D | process.c | 128 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/kernel/sched/ |
D | wait.c | 303 return (current->flags & PF_KTHREAD) && kthread_should_stop(); in is_kthread_should_stop()
|
D | core.c | 7379 if (p->flags & PF_KTHREAD) in normalize_rt_tasks()
|
/linux-4.1.27/arch/ia64/kernel/ |
D | process.c | 378 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/drivers/tty/ |
D | sysrq.c | 332 if (p->flags & PF_KTHREAD) in send_sig_all()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | process.c | 1147 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
|
/linux-4.1.27/drivers/staging/android/ion/ |
D | ion.c | 758 if (current->group_leader->flags & PF_KTHREAD) { in ion_client_create()
|
/linux-4.1.27/security/smack/ |
D | smack_lsm.c | 2496 if (unlikely(current->flags & PF_KTHREAD)) { in smack_socket_post_create()
|