Lines Matching refs:on_cpu
2572 SCHED_WARN_ON(!p->on_cpu); in __do_set_cpus_allowed()
3806 if (WARN_ON_ONCE(p->on_cpu)) in sched_ttwu_pending()
3807 smp_cond_load_acquire(&p->on_cpu, !VAL); in sched_ttwu_pending()
4245 if (smp_load_acquire(&p->on_cpu) && in try_to_wake_up()
4258 smp_cond_load_acquire(&p->on_cpu, !VAL); in try_to_wake_up()
4314 smp_cond_load_acquire(&p->on_cpu, !VAL); in __task_needs_rq_lock()
4709 p->on_cpu = 0; in sched_fork()
4914 WRITE_ONCE(next->on_cpu, 1); in prepare_task()
4932 smp_store_release(&prev->on_cpu, 0); in finish_task()
5489 if (!p->on_cpu || !task_on_rq_queued(p)) in task_sched_runtime()
9160 idle->on_cpu = 1; in init_idle()