/openbmc/linux/kernel/ |
H A D | freezer.c | 49 if (pm_freezing && !(p->flags & PF_KTHREAD)) in freezing_slow_path() 163 if (!(p->flags & PF_KTHREAD)) in freeze_task()
|
H A D | kthread.c | 76 WARN_ON(!(k->flags & PF_KTHREAD)); in to_kthread() 94 if (kthread && !(p->flags & PF_KTHREAD)) in __to_kthread() 1443 WARN_ON_ONCE(!(tsk->flags & PF_KTHREAD)); in kthread_use_mm() 1488 WARN_ON_ONCE(!(tsk->flags & PF_KTHREAD)); in kthread_unuse_mm() 1529 if (!(current->flags & PF_KTHREAD)) in kthread_associate_blkcg() 1555 if (current->flags & PF_KTHREAD) { in kthread_blkcg()
|
H A D | stacktrace.c | 231 if (current->flags & PF_KTHREAD) in stack_trace_save_user()
|
H A D | fork.c | 625 if (tsk->flags & PF_KTHREAD) in free_task() 1518 if (!(task->flags & PF_KTHREAD)) in get_task_exe_file() 1541 if (task->flags & PF_KTHREAD) in get_task_mm() 2329 p->flags &= ~PF_KTHREAD; in copy_process() 2331 p->flags |= PF_KTHREAD; in copy_process()
|
/openbmc/linux/arch/x86/include/asm/fpu/ |
H A D | sched.h | 43 !(current->flags & (PF_KTHREAD | PF_USER_WORKER))) { in switch_fpu_prepare()
|
/openbmc/linux/lib/ |
H A D | is_single_threaded.c | 31 if (unlikely(p->flags & PF_KTHREAD)) in current_is_single_threaded()
|
/openbmc/linux/kernel/cgroup/ |
H A D | freezer.c | 202 if (task->flags & PF_KTHREAD) in cgroup_do_freeze() 230 if (task->flags & PF_KTHREAD) in cgroup_freezer_migrate_task()
|
/openbmc/linux/arch/x86/kernel/fpu/ |
H A D | context.h | 59 if (WARN_ON_ONCE(current->flags & (PF_KTHREAD | PF_USER_WORKER))) in fpregs_restore_userregs()
|
H A D | core.c | 430 if (!(current->flags & (PF_KTHREAD | PF_USER_WORKER)) && in kernel_fpu_begin_mask() 799 WARN_ON_ONCE(current->flags & PF_KTHREAD); in fpregs_lock_and_load()
|
/openbmc/linux/tools/perf/util/bpf_skel/ |
H A D | off_cpu.bpf.c | 9 #define PF_KTHREAD 0x00200000 /* I am a kernel thread */ macro 143 if (t->flags & PF_KTHREAD) in can_record()
|
/openbmc/linux/kernel/power/ |
H A D | process.c | 228 if (p->flags & PF_KTHREAD) in thaw_kernel_threads()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | stacktrace.c | 78 if (task->flags & PF_KTHREAD) in arch_stack_walk_reliable()
|
/openbmc/linux/init/ |
H A D | init_task.c | 77 .flags = PF_KTHREAD,
|
/openbmc/linux/kernel/sched/ |
H A D | idle.c | 347 WARN_ON_ONCE(!(current->flags & PF_KTHREAD)); in play_idle_precise()
|
/openbmc/linux/arch/arc/kernel/ |
H A D | entry.S | 60 mov r0, r13 ; (see PF_KTHREAD block in copy_thread)
|
/openbmc/linux/mm/ |
H A D | oom_kill.c | 166 if (p->flags & PF_KTHREAD) in oom_unkillable_task() 983 if (unlikely(p->flags & PF_KTHREAD)) in __oom_kill_process()
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | uaccess.h | 46 (current->flags & PF_KTHREAD || test_thread_flag(TIF_TAGGED_ADDR))) in access_ok()
|
/openbmc/linux/fs/proc/ |
H A D | array.c | 109 else if (p->flags & PF_KTHREAD) in proc_task_name() 224 seq_printf(m, "Kthread:\t%c\n", p->flags & PF_KTHREAD ? '1' : '0'); in task_state()
|
/openbmc/linux/security/yama/ |
H A D | yama_lsm.c | 82 if (current->flags & PF_KTHREAD) { in report_access()
|
/openbmc/linux/arch/arm/mm/ |
H A D | init.c | 431 if (t->flags & PF_KTHREAD) in update_sections_early()
|
/openbmc/linux/kernel/livepatch/ |
H A D | transition.c | 426 if (task->flags & PF_KTHREAD) { in klp_send_signals()
|
/openbmc/linux/fs/ |
H A D | file_table.c | 438 if (likely(!in_interrupt() && !(task->flags & PF_KTHREAD))) { in fput()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | process.c | 450 if (unlikely(next->flags & PF_KTHREAD)) in ssbs_thread_switch()
|
/openbmc/linux/security/smack/ |
H A D | smack_access.c | 692 if (unlikely(current->flags & PF_KTHREAD)) in smack_privileged()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd.h | 267 } else if (current->flags & PF_KTHREAD) { \
|