Lines Matching defs:cfs_rq

79 struct cfs_rq;
444 struct cfs_rq **cfs_rq;
497 * A weight of a cfs_rq is the sum of weights of which entities
498 * are queued on this cfs_rq, so a weight of a entity should not be
545 extern void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq,
552 extern void unthrottle_cfs_rq(struct cfs_rq *cfs_rq);
579 struct cfs_rq *prev, struct cfs_rq *next);
582 struct cfs_rq *prev, struct cfs_rq *next) { }
646 struct cfs_rq {
665 * 'curr' points to currently running entity on this cfs_rq.
706 struct rq *rq; /* CPU runqueue to which this cfs_rq is attached */
713 * leaf_cfs_rq_list ties together list of leaf cfs_rq's in a CPU.
1127 struct cfs_rq cfs;
1137 /* list of leaf cfs_rq on this CPU: */
1305 /* CPU runqueue to which this cfs_rq is attached */
1306 static inline struct rq *rq_of(struct cfs_rq *cfs_rq)
1308 return cfs_rq->rq;
1313 static inline struct rq *rq_of(struct cfs_rq *cfs_rq)
1315 return container_of(cfs_rq, struct rq, cfs);
1562 static inline struct cfs_rq *task_cfs_rq(struct task_struct *p)
1564 return p->se.cfs_rq;
1568 static inline struct cfs_rq *cfs_rq_of(const struct sched_entity *se)
1570 return se->cfs_rq;
1574 static inline struct cfs_rq *group_cfs_rq(struct sched_entity *grp)
1583 static inline struct cfs_rq *task_cfs_rq(const struct task_struct *p)
1588 static inline struct cfs_rq *cfs_rq_of(const struct sched_entity *se)
1597 static inline struct cfs_rq *group_cfs_rq(struct sched_entity *grp)
2136 /* Change a task's cfs_rq and parent entity if it moves across CPUs/groups */
2144 set_task_rq_fair(&p->se, p->se.cfs_rq, tg->cfs_rq[cpu]);
2145 p->se.cfs_rq = tg->cfs_rq[cpu];
3106 extern struct sched_entity *__pick_root_entity(struct cfs_rq *cfs_rq);
3107 extern struct sched_entity *__pick_first_entity(struct cfs_rq *cfs_rq);
3108 extern struct sched_entity *__pick_last_entity(struct cfs_rq *cfs_rq);
3116 extern void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq);
3131 extern void init_cfs_rq(struct cfs_rq *cfs_rq);
3769 extern u64 avg_vruntime(struct cfs_rq *cfs_rq);
3770 extern int entity_eligible(struct cfs_rq *cfs_rq, struct sched_entity *se);