Home
last modified time | relevance | path

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

/linux-4.4.14/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.c782 if (task->flags & PF_KTHREAD) in get_task_mm()
Dfutex.c980 if (unlikely(p->flags & PF_KTHREAD)) { in attach_to_pi_owner()
/linux-4.4.14/lib/
Dis_single_threaded.c34 if (unlikely(p->flags & PF_KTHREAD)) in current_is_single_threaded()
/linux-4.4.14/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.c363 if (g->flags & PF_KTHREAD) in zap_threads()
Dexec.c1112 current->flags &= ~(PF_RANDOMIZE | PF_FORKNOEXEC | PF_KTHREAD | in flush_old_exec()
Dnamespace.c1124 if (likely(!(task->flags & PF_KTHREAD))) { in mntput_no_expire()
/linux-4.4.14/arch/score/kernel/
Dprocess.c79 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/arch/c6x/kernel/
Dprocess.c121 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/mm/
Dvmacache.c57 return current->mm == mm && !(current->flags & PF_KTHREAD); in vmacache_valid_mm()
Doom_kill.c136 if (p->flags & PF_KTHREAD) in oom_unkillable_task()
609 if (unlikely(p->flags & PF_KTHREAD)) in oom_kill_process()
Dpage_alloc.c3130 && !(current->flags & PF_KTHREAD)) in __alloc_pages_slowpath()
3139 if (!is_thp_gfp_mask(gfp_mask) || (current->flags & PF_KTHREAD)) in __alloc_pages_slowpath()
Dvmscan.c2756 if (current->flags & PF_KTHREAD) in throttle_direct_reclaim()
/linux-4.4.14/arch/arc/kernel/
Dprocess.c118 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
Dentry.S51 mov r0, r13 ; (see PF_KTHREAD block in copy_thread)
/linux-4.4.14/arch/hexagon/kernel/
Dprocess.c94 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/arch/mn10300/kernel/
Dprocess.c166 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/arch/cris/arch-v32/kernel/
Dprocess.c116 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/arch/h8300/kernel/
Dprocess.c113 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/arch/openrisc/kernel/
Dprocess.c167 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/arch/cris/arch-v10/kernel/
Dprocess.c107 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/arch/m32r/kernel/
Dprocess.c138 if (unlikely(tsk->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/arch/parisc/kernel/
Dprocess.c200 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/kernel/power/
Dprocess.c230 if (p->flags & (PF_KTHREAD | PF_WQ_WORKER)) in thaw_kernel_threads()
/linux-4.4.14/drivers/staging/android/
Dlowmemorykiller.c124 if (tsk->flags & PF_KTHREAD) in lowmem_scan()
/linux-4.4.14/arch/microblaze/kernel/
Dprocess.c60 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/arch/frv/kernel/
Dprocess.c147 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/arch/m68k/kernel/
Dprocess.c151 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/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.4.14/arch/xtensa/kernel/
Dprocess.c206 if (!(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/arch/arm64/kernel/
Dprocess.c254 if (likely(!(p->flags & PF_KTHREAD))) { in copy_thread()
/linux-4.4.14/arch/s390/kernel/
Dprocess.c152 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/arch/nios2/kernel/
Dprocess.c108 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/arch/unicore32/kernel/
Dprocess.c239 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/include/linux/
Dinit_task.h195 .flags = PF_KTHREAD, \
Dmemcontrol.h778 if (in_interrupt() || (!current->mm) || (current->flags & PF_KTHREAD)) in __memcg_kmem_bypass()
Dsched.h2090 #define PF_KTHREAD 0x00200000 /* I am a kernel thread */ macro
/linux-4.4.14/arch/x86/kernel/
Dprocess_32.c143 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread_tls()
Dprocess_64.c177 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread_tls()
/linux-4.4.14/arch/alpha/kernel/
Dprocess.c258 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/arch/avr32/kernel/
Dprocess.c288 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/arch/um/kernel/
Dprocess.c161 int kthread = current->flags & PF_KTHREAD; in copy_thread()
/linux-4.4.14/arch/arm/kernel/
Dprocess.c242 if (likely(!(p->flags & PF_KTHREAD))) { in copy_thread()
/linux-4.4.14/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.4.14/security/smack/
Dsmack_access.c645 if (unlikely(current->flags & PF_KTHREAD)) in smack_privileged()
Dsmack_lsm.c2762 if (unlikely(current->flags & PF_KTHREAD)) { in smack_socket_post_create()
/linux-4.4.14/arch/blackfin/kernel/
Dprocess.c122 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/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.4.14/arch/tile/kernel/
Dprocess.c129 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/arch/mips/kernel/
Dprocess.c128 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/arch/ia64/kernel/
Dprocess.c378 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/arch/arm/mm/
Dinit.c691 if (t->flags & PF_KTHREAD) in update_sections_early()
/linux-4.4.14/kernel/sched/
Dwait.c303 return (current->flags & PF_KTHREAD) && kthread_should_stop(); in is_kthread_should_stop()
Dcore.c7617 if (p->flags & PF_KTHREAD) in normalize_rt_tasks()
/linux-4.4.14/drivers/tty/
Dsysrq.c332 if (p->flags & PF_KTHREAD) in send_sig_all()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Duser_sdma.c1056 if (current->flags & PF_KTHREAD) in pin_vector_pages()
1062 if (current->flags & PF_KTHREAD) in pin_vector_pages()
/linux-4.4.14/arch/powerpc/kernel/
Dprocess.c1146 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()
/linux-4.4.14/drivers/staging/android/ion/
Dion.c760 if (current->group_leader->flags & PF_KTHREAD) { in ion_client_create()