Home
last modified time | relevance | path

Searched refs:on_rq (Results 1 - 6 of 6) sorted by relevance

/device/soc/rockchip/common/sdk_linux/kernel/sched/
H A Dpelt.c316 * se_runnable() = !!on_rq
350 if (___update_load_sum(now, &se->avg, !!se->on_rq, se_runnable(se), cfs_rq->curr == se)) { in __update_load_avg_se()
H A Dcore.c145 * p->on_rq <- { 0, 1 = TASK_ON_RQ_QUEUED, 2 = TASK_ON_RQ_MIGRATING }:
228 * [S] ->on_rq = MIGRATING [L] rq = task_rq()
231 * [L] ->on_rq
1748 p->on_rq = TASK_ON_RQ_QUEUED; in activate_task()
1753 p->on_rq = (flags & DEQUEUE_SLEEP) ? 0 : TASK_ON_RQ_MIGRATING; in deactivate_task()
1984 * holding rq->lock, if p->on_rq == 0 it cannot get enqueued because in migration_cpu_stop()
2170 !p->on_rq); in set_task_cpu()
2173 * Migrating fair class task must have p->on_rq = TASK_ON_RQ_MIGRATING, in set_task_cpu()
2175 * time relying on p->on_rq. in set_task_cpu()
2179 (p->on_rq in set_task_cpu()
[all...]
H A Dfair.c583 if (curr->on_rq) { in update_min_vruntime()
749 slice = fair_sched_period(nr_running + !se->on_rq); in sched_slice()
758 if (unlikely(!se->on_rq)) { in sched_slice()
3207 if (se->on_rq) { in reweight_entity()
3227 if (se->on_rq) { in reweight_entity()
4464 se->on_rq = 1; in enqueue_entity()
4558 se->on_rq = 0; in dequeue_entity()
4632 if (se->on_rq) { in set_next_entity()
4729 if (prev->on_rq) { in put_prev_entity()
4738 if (prev->on_rq) { in put_prev_entity()
[all...]
H A Dsched.h137 /* task_struct::on_rq states: */
808 return !!se->on_rq; in se_runnable()
823 return !!se->on_rq; in se_runnable()
1806 return p->on_rq == TASK_ON_RQ_QUEUED; in task_on_rq_queued()
1811 return READ_ONCE(p->on_rq) == TASK_ON_RQ_MIGRATING; in task_on_rq_migrating()
H A Drt.c466 return rt_se->on_rq; in on_rt_rq()
1380 rt_se->on_rq = 1; in __enqueue_rt_entity()
1394 rt_se->on_rq = 0; in __dequeue_rt_entity()
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dsched.h511 unsigned int on_rq; member
603 unsigned short on_rq; member
793 int on_rq; member
923 * schedule() if (p->on_rq && ..) // false
926 * p->on_rq = 0; p->sched_remote_wakeup = Y;

Completed in 29 milliseconds