Home
last modified time | relevance | path

Searched refs:on_rq (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/kernel/
Dfreezer.c108 if (p->on_rq) in __set_task_frozen()
/linux-6.6.21/kernel/sched/
Dpelt.c308 if (___update_load_sum(now, &se->avg, !!se->on_rq, se_runnable(se), in __update_load_avg_se()
Dfair.c677 if (curr && curr->on_rq) { in avg_vruntime()
714 SCHED_WARN_ON(!se->on_rq); in update_entity_lag()
744 if (curr && curr->on_rq) { in entity_eligible()
776 if (curr->on_rq) in update_min_vruntime()
882 if (curr && (!curr->on_rq || !entity_eligible(cfs_rq, curr))) in __pick_eevdf()
3741 if (se->on_rq) { in reweight_entity()
3751 if (!se->on_rq) { in reweight_entity()
3772 if (se->on_rq) { in reweight_entity()
5138 if (curr && curr->on_rq) in place_entity()
5217 se->on_rq = 1; in enqueue_entity()
[all …]
Dsched.h781 return !!se->on_rq; in se_runnable()
793 return !!se->on_rq; in se_runnable()
2147 return p->on_rq == TASK_ON_RQ_QUEUED; in task_on_rq_queued()
2152 return READ_ONCE(p->on_rq) == TASK_ON_RQ_MIGRATING; in task_on_rq_migrating()
Dcore.c2084 if (state != TASK_RUNNING && state != TASK_WAKING && !p->on_rq) in get_wchan()
2134 p->on_rq = TASK_ON_RQ_QUEUED; in activate_task()
2139 p->on_rq = (flags & DEQUEUE_SLEEP) ? 0 : TASK_ON_RQ_MIGRATING; in deactivate_task()
3353 WARN_ON_ONCE(state != TASK_RUNNING && state != TASK_WAKING && !p->on_rq); in set_task_cpu()
3362 (p->on_rq && !task_on_rq_migrating(p))); in set_task_cpu()
4264 if (READ_ONCE(p->on_rq) && ttwu_runnable(p, wake_flags)) in try_to_wake_up()
4378 if (p->on_rq) in __task_needs_rq_lock()
4499 p->on_rq = 0; in __sched_fork()
4501 p->se.on_rq = 0; in __sched_fork()
4528 p->rt.on_rq = 0; in __sched_fork()
[all …]
Drt.c491 return rt_se->on_rq; in on_rt_rq()
1463 rt_se->on_rq = 1; in __enqueue_rt_entity()
1477 rt_se->on_rq = 0; in __dequeue_rt_entity()
Ddeadline.c1712 if (p->on_rq == TASK_ON_RQ_MIGRATING || flags & ENQUEUE_RESTORE) { in enqueue_task_dl()
1757 if (p->on_rq == TASK_ON_RQ_MIGRATING || flags & DEQUEUE_SAVE) { in dequeue_task_dl()
/linux-6.6.21/include/linux/
Dsched.h556 unsigned int on_rq; member
594 unsigned short on_rq; member
787 int on_rq; member
/linux-6.6.21/kernel/trace/
Dtrace_selftest.c1224 while (p->on_rq) { in trace_selftest_startup_wakeup()
/linux-6.6.21/kernel/rcu/
Dtree_stall.h576 gpk && !READ_ONCE(gpk->on_rq)) { in rcu_check_gp_kthread_expired_fqs_timer()
Dtasks.h901 if (!READ_ONCE(t->on_rq)) in rcu_tasks_is_holdout()
/linux-6.6.21/virt/kvm/
Dkvm_main.c5971 if (current->on_rq) { in kvm_sched_out()
/linux-6.6.21/kernel/events/
Dcore.c9072 if (!sched_in && task->on_rq) { in perf_event_switch()