Lines Matching defs:cfs_rq
80 struct cfs_rq;
458 struct cfs_rq **cfs_rq;
506 * A weight of a cfs_rq is the sum of weights of which entities
507 * are queued on this cfs_rq, so a weight of a entity should not be
554 extern void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq,
561 extern void unthrottle_cfs_rq(struct cfs_rq *cfs_rq);
587 struct cfs_rq *prev, struct cfs_rq *next);
650 struct cfs_rq {
669 * 'curr' points to currently running entity on this cfs_rq.
708 struct rq *rq; /* CPU runqueue to which this cfs_rq is attached */
715 * leaf_cfs_rq_list ties together list of leaf cfs_rq's in a CPU.
1119 struct cfs_rq cfs;
1129 /* list of leaf cfs_rq on this CPU: */
1297 /* CPU runqueue to which this cfs_rq is attached */
1298 static inline struct rq *rq_of(struct cfs_rq *cfs_rq)
1300 return cfs_rq->rq;
1305 static inline struct rq *rq_of(struct cfs_rq *cfs_rq)
1307 return container_of(cfs_rq, struct rq, cfs);
1576 static inline struct cfs_rq *task_cfs_rq(struct task_struct *p)
1578 return p->se.cfs_rq;
1582 static inline struct cfs_rq *cfs_rq_of(const struct sched_entity *se)
1584 return se->cfs_rq;
1588 static inline struct cfs_rq *group_cfs_rq(struct sched_entity *grp)
1597 static inline struct cfs_rq *task_cfs_rq(const struct task_struct *p)
1602 static inline struct cfs_rq *cfs_rq_of(const struct sched_entity *se)
1611 static inline struct cfs_rq *group_cfs_rq(struct sched_entity *grp)
2134 /* Change a task's cfs_rq and parent entity if it moves across CPUs/groups */
2142 set_task_rq_fair(&p->se, p->se.cfs_rq, tg->cfs_rq[cpu]);
2143 p->se.cfs_rq = tg->cfs_rq[cpu];
3046 extern struct sched_entity *__pick_root_entity(struct cfs_rq *cfs_rq);
3047 extern struct sched_entity *__pick_first_entity(struct cfs_rq *cfs_rq);
3048 extern struct sched_entity *__pick_last_entity(struct cfs_rq *cfs_rq);
3055 extern void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq);
3068 extern void init_cfs_rq(struct cfs_rq *cfs_rq);
3793 extern u64 avg_vruntime(struct cfs_rq *cfs_rq);
3794 extern int entity_eligible(struct cfs_rq *cfs_rq, struct sched_entity *se);