Lines Matching defs:cfs_rq

347 struct cfs_rq;
386 struct cfs_rq **cfs_rq;
438 * A weight of a cfs_rq is the sum of weights of which entities
439 * are queued on this cfs_rq, so a weight of a entity should not be
481 extern void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq,
488 extern void unthrottle_cfs_rq(struct cfs_rq *cfs_rq);
515 struct cfs_rq *prev, struct cfs_rq *next);
518 struct cfs_rq *prev, struct cfs_rq *next) { }
573 struct cfs_rq {
597 * 'curr' points to currently running entity on this cfs_rq.
642 struct rq *rq; /* CPU runqueue to which this cfs_rq is attached */
649 * leaf_cfs_rq_list ties together list of leaf cfs_rq's in a CPU.
1017 struct cfs_rq cfs;
1022 /* list of leaf cfs_rq on this CPU: */
1134 /* could above be rq->cfs_rq.exec_clock + rq->rt_rq.rt_runtime ? */
1188 /* CPU runqueue to which this cfs_rq is attached */
1189 static inline struct rq *rq_of(struct cfs_rq *cfs_rq)
1191 return cfs_rq->rq;
1196 static inline struct rq *rq_of(struct cfs_rq *cfs_rq)
1198 return container_of(cfs_rq, struct rq, cfs);
1441 static inline struct cfs_rq *task_cfs_rq(struct task_struct *p)
1443 return p->se.cfs_rq;
1447 static inline struct cfs_rq *cfs_rq_of(const struct sched_entity *se)
1449 return se->cfs_rq;
1453 static inline struct cfs_rq *group_cfs_rq(struct sched_entity *grp)
1462 static inline struct cfs_rq *task_cfs_rq(const struct task_struct *p)
1467 static inline struct cfs_rq *cfs_rq_of(const struct sched_entity *se)
1476 static inline struct cfs_rq *group_cfs_rq(struct sched_entity *grp)
2028 /* Change a task's cfs_rq and parent entity if it moves across CPUs/groups */
2036 set_task_rq_fair(&p->se, p->se.cfs_rq, tg->cfs_rq[cpu]);
2037 p->se.cfs_rq = tg->cfs_rq[cpu];
2870 extern struct sched_entity *__pick_root_entity(struct cfs_rq *cfs_rq);
2871 extern struct sched_entity *__pick_first_entity(struct cfs_rq *cfs_rq);
2872 extern struct sched_entity *__pick_last_entity(struct cfs_rq *cfs_rq);
2880 extern void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq);
2896 extern void init_cfs_rq(struct cfs_rq *cfs_rq);
3481 extern u64 avg_vruntime(struct cfs_rq *cfs_rq);
3482 extern int entity_eligible(struct cfs_rq *cfs_rq, struct sched_entity *se);