Searched refs:on_rq (Results 1 - 13 of 13) sorted by last modified time

/linux-master/virt/kvm/
H A Dkvm_main.c6298 if (current->on_rq) {
/linux-master/kernel/sched/
H A Drt.c442 return rt_se->on_rq;
1403 rt_se->on_rq = 1;
1417 rt_se->on_rq = 0;
H A Dfair.c659 if (curr && curr->on_rq) {
704 SCHED_WARN_ON(!se->on_rq);
732 if (curr && curr->on_rq) {
768 if (curr->on_rq)
889 return curr && curr->on_rq ? curr : se;
891 if (curr && (!curr->on_rq || !entity_eligible(cfs_rq, curr)))
3791 if (se->on_rq) {
3801 if (se->on_rq) {
3822 if (se->on_rq) {
5252 if (curr && curr->on_rq)
[all...]
H A Ddeadline.c1190 * prev->on_rq = 0;
1832 if (p->on_rq == TASK_ON_RQ_MIGRATING)
1848 if (p->on_rq == TASK_ON_RQ_MIGRATING)
H A Dcore.c510 * p->on_rq <- { 0, 1 = TASK_ON_RQ_QUEUED, 2 = TASK_ON_RQ_MIGRATING }:
666 * [S] ->on_rq = MIGRATING [L] rq = task_rq()
669 * [L] ->on_rq
2098 if (state != TASK_RUNNING && state != TASK_WAKING && !p->on_rq)
2148 WRITE_ONCE(p->on_rq, TASK_ON_RQ_QUEUED);
2149 ASSERT_EXCLUSIVE_WRITER(p->on_rq);
2154 WRITE_ONCE(p->on_rq, (flags & DEQUEUE_SLEEP) ? 0 : TASK_ON_RQ_MIGRATING);
2155 ASSERT_EXCLUSIVE_WRITER(p->on_rq);
2615 * holding rq->lock, if p->on_rq == 0 it cannot get enqueued because
3357 WARN_ON_ONCE(state != TASK_RUNNING && state != TASK_WAKING && !p->on_rq);
[all...]
H A Dsched.h96 /* task_struct::on_rq states: */
818 return !!se->on_rq;
830 return !!se->on_rq;
2170 return p->on_rq == TASK_ON_RQ_QUEUED;
2175 return READ_ONCE(p->on_rq) == TASK_ON_RQ_MIGRATING;
2223 * MIGRATION - p->on_rq == TASK_ON_RQ_MIGRATING (used for DEADLINE)
H A Dpelt.c274 * se_runnable() = !!on_rq
308 if (___update_load_sum(now, &se->avg, !!se->on_rq, se_runnable(se),
/linux-master/kernel/events/
H A Dcore.c9103 if (!sched_in && task->on_rq) {
/linux-master/include/linux/
H A Dsched.h544 unsigned int on_rq; member in struct:sched_entity
582 unsigned short on_rq; member in struct:sched_rt_entity
794 int on_rq; member in struct:task_struct
918 * schedule() if (p->on_rq && ..) // false
921 * p->on_rq = 0; p->sched_remote_wakeup = Y;
/linux-master/kernel/rcu/
H A Dtree_stall.h578 gpk && !READ_ONCE(gpk->on_rq)) {
H A Dtasks.h848 // t->on_rq and t->nvcsw transitions to complete. This works because
868 // t->on_rq and t->nvcsw transitions are seen by all CPUs and tasks
889 * Wait for all pre-existing t->on_rq and t->nvcsw transitions
910 if (!READ_ONCE(t->on_rq))
1056 * Because ->on_rq and ->nvcsw are not guaranteed to have a full
/linux-master/kernel/trace/
H A Dtrace_selftest.c1224 while (p->on_rq) {
/linux-master/kernel/
H A Dfreezer.c112 if (p->on_rq)

Completed in 581 milliseconds