Searched refs:PF_KTHREAD (Results 1 – 25 of 60) sorted by relevance
123
49 if (pm_freezing && !(p->flags & PF_KTHREAD)) in freezing_slow_path()173 if (!(p->flags & PF_KTHREAD)) in freeze_task()
76 WARN_ON(!(k->flags & PF_KTHREAD)); in to_kthread()94 if (kthread && !(p->flags & PF_KTHREAD)) in __to_kthread()1444 WARN_ON_ONCE(!(tsk->flags & PF_KTHREAD)); in kthread_use_mm()1489 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()
232 if (current->flags & PF_KTHREAD) in stack_trace_save_user()
43 !(old->flags & (PF_KTHREAD | PF_USER_WORKER))) { in switch_fpu_prepare()
31 if (unlikely(p->flags & PF_KTHREAD)) in current_is_single_threaded()
202 if (task->flags & PF_KTHREAD) in cgroup_do_freeze()230 if (task->flags & PF_KTHREAD) in cgroup_freezer_migrate_task()
59 if (WARN_ON_ONCE(current->flags & (PF_KTHREAD | PF_USER_WORKER))) in fpregs_restore_userregs()
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()
9 #define PF_KTHREAD 0x00200000 /* I am a kernel thread */ macro144 if (t->flags & PF_KTHREAD) in can_record()
22 #define PF_KTHREAD 0x00200000 macro115 .is_kthread = task->flags & PF_KTHREAD ? 1 : 0, in update_task_info()
226 if (p->flags & PF_KTHREAD) in thaw_kernel_threads()
79 if (task->flags & PF_KTHREAD) in arch_stack_walk_reliable()
140 if (((current->flags & PF_KTHREAD) != 0) && in emit_log_message()
73 .flags = PF_KTHREAD,
109 bool kthread = (current->flags & PF_KTHREAD) != 0; in bch2_kthread_io_clock_wait()
460 bool is_kthread = current->flags & PF_KTHREAD; in bch2_move_ratelimit()655 bool is_kthread = current->flags & PF_KTHREAD; in bch2_evacuate_bucket()821 bool kthread = (current->flags & PF_KTHREAD) != 0; in bch2_move_btree()
119 if ((p->flags & PF_KTHREAD) && p->nr_cpus_allowed == 1) { in BPF_STRUCT_OPS()
391 WARN_ON_ONCE(!(current->flags & PF_KTHREAD)); in play_idle_precise()
60 mov r0, r13 ; (see PF_KTHREAD block in copy_thread)
167 if (p->flags & PF_KTHREAD) in oom_unkillable_task()985 if (unlikely(p->flags & PF_KTHREAD)) in __oom_kill_process()
83 if (current->flags & PF_KTHREAD) { in report_access()
432 if (t->flags & PF_KTHREAD) in update_sections_early()
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()
46 (current->flags & PF_KTHREAD || test_thread_flag(TIF_TAGGED_ADDR))) in access_ok()
426 if (task->flags & PF_KTHREAD) { in klp_send_signals()
Completed in 48 milliseconds