Home
last modified time | relevance | path

Searched refs:cfs_rq (Results 1 – 5 of 5) sorted by relevance

/linux-3.4.99/kernel/sched/
Dfair.c225 static inline struct rq *rq_of(struct cfs_rq *cfs_rq) in rq_of() argument
227 return cfs_rq->rq; in rq_of()
245 static inline struct cfs_rq *task_cfs_rq(struct task_struct *p) in task_cfs_rq()
247 return p->se.cfs_rq; in task_cfs_rq()
251 static inline struct cfs_rq *cfs_rq_of(struct sched_entity *se) in cfs_rq_of()
253 return se->cfs_rq; in cfs_rq_of()
257 static inline struct cfs_rq *group_cfs_rq(struct sched_entity *grp) in group_cfs_rq()
262 static inline void list_add_leaf_cfs_rq(struct cfs_rq *cfs_rq) in list_add_leaf_cfs_rq() argument
264 if (!cfs_rq->on_list) { in list_add_leaf_cfs_rq()
271 if (cfs_rq->tg->parent && in list_add_leaf_cfs_rq()
[all …]
Ddebug.c166 void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq) in print_cfs_rq() argument
175 SEQ_printf(m, "\ncfs_rq[%d]:%s\n", cpu, task_group_path(cfs_rq->tg)); in print_cfs_rq()
180 SPLIT_NS(cfs_rq->exec_clock)); in print_cfs_rq()
183 if (cfs_rq->rb_leftmost) in print_cfs_rq()
184 MIN_vruntime = (__pick_first_entity(cfs_rq))->vruntime; in print_cfs_rq()
185 last = __pick_last_entity(cfs_rq); in print_cfs_rq()
188 min_vruntime = cfs_rq->min_vruntime; in print_cfs_rq()
204 cfs_rq->nr_spread_over); in print_cfs_rq()
205 SEQ_printf(m, " .%-30s: %ld\n", "nr_running", cfs_rq->nr_running); in print_cfs_rq()
206 SEQ_printf(m, " .%-30s: %ld\n", "load", cfs_rq->load.weight); in print_cfs_rq()
[all …]
Dsched.h80 struct cfs_rq;
111 struct cfs_rq **cfs_rq; member
179 extern void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq,
187 extern void unthrottle_cfs_rq(struct cfs_rq *cfs_rq);
202 struct cfs_rq { struct
371 struct cfs_rq cfs;
562 p->se.cfs_rq = tg->cfs_rq[cpu]; in set_task_rq()
1134 extern struct sched_entity *__pick_first_entity(struct cfs_rq *cfs_rq);
1135 extern struct sched_entity *__pick_last_entity(struct cfs_rq *cfs_rq);
1139 extern void init_cfs_rq(struct cfs_rq *cfs_rq);
Dcore.c7144 root_task_group.cfs_rq = (struct cfs_rq **)ptr; in sched_init()
7992 struct cfs_rq *cfs_rq = tg->cfs_rq[i]; in tg_set_cfs_bandwidth() local
7993 struct rq *rq = cfs_rq->rq; in tg_set_cfs_bandwidth()
7996 cfs_rq->runtime_enabled = runtime_enabled; in tg_set_cfs_bandwidth()
7997 cfs_rq->runtime_remaining = 0; in tg_set_cfs_bandwidth()
7999 if (cfs_rq->throttled) in tg_set_cfs_bandwidth()
8000 unthrottle_cfs_rq(cfs_rq); in tg_set_cfs_bandwidth()
/linux-3.4.99/include/linux/
Dsched.h152 struct cfs_rq;
158 print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq);
168 print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq) in print_cfs_rq() argument
1232 struct cfs_rq *cfs_rq; member
1234 struct cfs_rq *my_q;