Home
last modified time | relevance | path

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

12

/Linux-v6.1/kernel/
Dfreezer.c49 if (pm_freezing && !(p->flags & PF_KTHREAD)) in freezing_slow_path()
163 if (!(p->flags & PF_KTHREAD)) in freeze_task()
Dkthread.c75 WARN_ON(!(k->flags & PF_KTHREAD)); in to_kthread()
93 if (kthread && !(p->flags & PF_KTHREAD)) in __to_kthread()
1410 WARN_ON_ONCE(!(tsk->flags & PF_KTHREAD)); in kthread_use_mm()
1454 WARN_ON_ONCE(!(tsk->flags & PF_KTHREAD)); in kthread_unuse_mm()
1492 if (!(current->flags & PF_KTHREAD)) in kthread_associate_blkcg()
1518 if (current->flags & PF_KTHREAD) { in kthread_blkcg()
Dstacktrace.c231 if (current->flags & PF_KTHREAD) in stack_trace_save_user()
Dfork.c557 if (tsk->flags & PF_KTHREAD) in free_task()
1357 if (!(task->flags & PF_KTHREAD)) in get_task_exe_file()
1380 if (task->flags & PF_KTHREAD) in get_task_mm()
2087 p->flags &= ~PF_KTHREAD; in copy_process()
2089 p->flags |= PF_KTHREAD; in copy_process()
/Linux-v6.1/arch/x86/include/asm/fpu/
Dsched.h42 !(current->flags & PF_KTHREAD)) { in switch_fpu_prepare()
/Linux-v6.1/lib/
Dis_single_threaded.c31 if (unlikely(p->flags & PF_KTHREAD)) in current_is_single_threaded()
/Linux-v6.1/kernel/cgroup/
Dfreezer.c202 if (task->flags & PF_KTHREAD) in cgroup_do_freeze()
230 if (task->flags & PF_KTHREAD) in cgroup_freezer_migrate_task()
/Linux-v6.1/arch/x86/kernel/fpu/
Dcontext.h60 if (WARN_ON_ONCE(current->flags & PF_KTHREAD)) in fpregs_restore_userregs()
Dcore.c432 if (!(current->flags & PF_KTHREAD) && in kernel_fpu_begin_mask()
/Linux-v6.1/tools/perf/util/bpf_skel/
Doff_cpu.bpf.c9 #define PF_KTHREAD 0x00200000 /* I am a kernel thread */ macro
143 if (t->flags & PF_KTHREAD) in can_record()
/Linux-v6.1/fs/
Dfile_table.c374 if (likely(!in_interrupt() && !(task->flags & PF_KTHREAD))) { in fput()
402 BUG_ON(!(task->flags & PF_KTHREAD)); in __fput_sync()
/Linux-v6.1/kernel/power/
Dprocess.c233 if (p->flags & PF_KTHREAD) in thaw_kernel_threads()
/Linux-v6.1/init/
Dinit_task.c77 .flags = PF_KTHREAD,
/Linux-v6.1/kernel/sched/
Didle.c368 WARN_ON_ONCE(!(current->flags & PF_KTHREAD)); in play_idle_precise()
Dwait.c426 return (current->flags & PF_KTHREAD) && kthread_should_stop(); in is_kthread_should_stop()
/Linux-v6.1/mm/
Doom_kill.c166 if (p->flags & PF_KTHREAD) in oom_unkillable_task()
985 if (unlikely(p->flags & PF_KTHREAD)) in __oom_kill_process()
/Linux-v6.1/arch/arm64/include/asm/
Duaccess.h46 (current->flags & PF_KTHREAD || test_thread_flag(TIF_TAGGED_ADDR))) in access_ok()
/Linux-v6.1/arch/arm/mm/
Dinit.c431 if (t->flags & PF_KTHREAD) in update_sections_early()
/Linux-v6.1/security/yama/
Dyama_lsm.c82 if (current->flags & PF_KTHREAD) { in report_access()
/Linux-v6.1/kernel/livepatch/
Dtransition.c359 if (task->flags & PF_KTHREAD) { in klp_send_signals()
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd.h253 } else if (current->flags & PF_KTHREAD) { \
/Linux-v6.1/arch/arm64/kernel/
Dprocess.c447 if (unlikely(next->flags & PF_KTHREAD)) in ssbs_thread_switch()
/Linux-v6.1/arch/arc/kernel/
Dentry.S60 mov r0, r13 ; (see PF_KTHREAD block in copy_thread)
/Linux-v6.1/security/smack/
Dsmack_access.c692 if (unlikely(current->flags & PF_KTHREAD)) in smack_privileged()
/Linux-v6.1/arch/x86/kernel/
Dprocess.c179 if (unlikely(p->flags & PF_KTHREAD)) { in copy_thread()

12