Home
last modified time | relevance | path

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

123

/linux-6.6.21/kernel/
Dfreezer.c49 if (pm_freezing && !(p->flags & PF_KTHREAD)) in freezing_slow_path()
163 if (!(p->flags & PF_KTHREAD)) in freeze_task()
Dkthread.c76 WARN_ON(!(k->flags & PF_KTHREAD)); in to_kthread()
94 if (kthread && !(p->flags & PF_KTHREAD)) in __to_kthread()
1415 WARN_ON_ONCE(!(tsk->flags & PF_KTHREAD)); in kthread_use_mm()
1460 WARN_ON_ONCE(!(tsk->flags & PF_KTHREAD)); in kthread_unuse_mm()
1501 if (!(current->flags & PF_KTHREAD)) in kthread_associate_blkcg()
1527 if (current->flags & PF_KTHREAD) { in kthread_blkcg()
Dstacktrace.c231 if (current->flags & PF_KTHREAD) in stack_trace_save_user()
Dfork.c624 if (tsk->flags & PF_KTHREAD) in free_task()
1517 if (!(task->flags & PF_KTHREAD)) in get_task_exe_file()
1540 if (task->flags & PF_KTHREAD) in get_task_mm()
2330 p->flags &= ~PF_KTHREAD; in copy_process()
2332 p->flags |= PF_KTHREAD; in copy_process()
/linux-6.6.21/arch/x86/include/asm/fpu/
Dsched.h43 !(current->flags & (PF_KTHREAD | PF_USER_WORKER))) { in switch_fpu_prepare()
/linux-6.6.21/lib/
Dis_single_threaded.c31 if (unlikely(p->flags & PF_KTHREAD)) in current_is_single_threaded()
/linux-6.6.21/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-6.6.21/arch/x86/kernel/fpu/
Dcontext.h59 if (WARN_ON_ONCE(current->flags & (PF_KTHREAD | PF_USER_WORKER))) in fpregs_restore_userregs()
Dcore.c430 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()
/linux-6.6.21/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-6.6.21/kernel/power/
Dprocess.c228 if (p->flags & PF_KTHREAD) in thaw_kernel_threads()
/linux-6.6.21/arch/powerpc/kernel/
Dstacktrace.c78 if (task->flags & PF_KTHREAD) in arch_stack_walk_reliable()
/linux-6.6.21/init/
Dinit_task.c77 .flags = PF_KTHREAD,
/linux-6.6.21/kernel/sched/
Didle.c347 WARN_ON_ONCE(!(current->flags & PF_KTHREAD)); in play_idle_precise()
/linux-6.6.21/arch/arc/kernel/
Dentry.S60 mov r0, r13 ; (see PF_KTHREAD block in copy_thread)
/linux-6.6.21/arch/arm64/include/asm/
Duaccess.h46 (current->flags & PF_KTHREAD || test_thread_flag(TIF_TAGGED_ADDR))) in access_ok()
/linux-6.6.21/mm/
Doom_kill.c166 if (p->flags & PF_KTHREAD) in oom_unkillable_task()
983 if (unlikely(p->flags & PF_KTHREAD)) in __oom_kill_process()
/linux-6.6.21/security/yama/
Dyama_lsm.c82 if (current->flags & PF_KTHREAD) { in report_access()
/linux-6.6.21/arch/arm/mm/
Dinit.c431 if (t->flags & PF_KTHREAD) in update_sections_early()
/linux-6.6.21/fs/proc/
Darray.c109 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()
/linux-6.6.21/kernel/livepatch/
Dtransition.c426 if (task->flags & PF_KTHREAD) { in klp_send_signals()
/linux-6.6.21/security/smack/
Dsmack_access.c692 if (unlikely(current->flags & PF_KTHREAD)) in smack_privileged()
/linux-6.6.21/arch/arm64/kernel/
Dprocess.c450 if (unlikely(next->flags & PF_KTHREAD)) in ssbs_thread_switch()
/linux-6.6.21/fs/
Dfile_table.c438 if (likely(!in_interrupt() && !(task->flags & PF_KTHREAD))) { in fput()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd.h269 } else if (current->flags & PF_KTHREAD) { \

123