Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/sched/
Dfair.c33 static void walt_init_cfs_rq_stats(struct cfs_rq *cfs_rq);
34 static void walt_inc_cfs_rq_stats(struct cfs_rq *cfs_rq,
36 static void walt_dec_cfs_rq_stats(struct cfs_rq *cfs_rq,
39 struct cfs_rq *cfs_rq);
41 struct cfs_rq *cfs_rq);
43 static inline void walt_init_cfs_rq_stats(struct cfs_rq *cfs_rq) {} in walt_init_cfs_rq_stats() argument
45 walt_inc_cfs_rq_stats(struct cfs_rq *cfs_rq, struct task_struct *p) {} in walt_inc_cfs_rq_stats() argument
47 walt_dec_cfs_rq_stats(struct cfs_rq *cfs_rq, struct task_struct *p) {} in walt_dec_cfs_rq_stats() argument
300 static inline struct cfs_rq *task_cfs_rq(struct task_struct *p) in task_cfs_rq()
302 return p->se.cfs_rq; in task_cfs_rq()
[all …]
Dpelt.h5 int __update_load_avg_se(u64 now, struct cfs_rq *cfs_rq, struct sched_entity *se);
6 int __update_load_avg_cfs_rq(u64 now, struct cfs_rq *cfs_rq);
145 static inline u64 cfs_rq_clock_pelt(struct cfs_rq *cfs_rq) in cfs_rq_clock_pelt() argument
147 if (unlikely(cfs_rq->throttle_count)) in cfs_rq_clock_pelt()
148 return cfs_rq->throttled_clock_pelt - cfs_rq->throttled_clock_pelt_time; in cfs_rq_clock_pelt()
150 return rq_clock_pelt(rq_of(cfs_rq)) - cfs_rq->throttled_clock_pelt_time; in cfs_rq_clock_pelt()
153 static inline u64 cfs_rq_clock_pelt(struct cfs_rq *cfs_rq) in cfs_rq_clock_pelt() argument
155 return rq_clock_pelt(rq_of(cfs_rq)); in cfs_rq_clock_pelt()
162 update_cfs_rq_load_avg(u64 now, struct cfs_rq *cfs_rq) in update_cfs_rq_load_avg() argument
Dpelt.c310 int __update_load_avg_se(u64 now, struct cfs_rq *cfs_rq, struct sched_entity *se) in __update_load_avg_se() argument
313 cfs_rq->curr == se)) { in __update_load_avg_se()
324 int __update_load_avg_cfs_rq(u64 now, struct cfs_rq *cfs_rq) in __update_load_avg_cfs_rq() argument
326 if (___update_load_sum(now, &cfs_rq->avg, in __update_load_avg_cfs_rq()
327 scale_load_down(cfs_rq->load.weight), in __update_load_avg_cfs_rq()
328 cfs_rq->h_nr_running, in __update_load_avg_cfs_rq()
329 cfs_rq->curr != NULL)) { in __update_load_avg_cfs_rq()
331 ___update_load_avg(&cfs_rq->avg, 1); in __update_load_avg_cfs_rq()
332 trace_pelt_cfs_tp(cfs_rq); in __update_load_avg_cfs_rq()
Ddebug.c555 void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq) in print_cfs_rq() argument
565 SEQ_printf_task_group_path(m, cfs_rq->tg, "cfs_rq[%d]:%s\n", cpu); in print_cfs_rq()
571 SPLIT_NS(cfs_rq->exec_clock)); in print_cfs_rq()
574 if (rb_first_cached(&cfs_rq->tasks_timeline)) in print_cfs_rq()
575 MIN_vruntime = (__pick_first_entity(cfs_rq))->vruntime; in print_cfs_rq()
576 last = __pick_last_entity(cfs_rq); in print_cfs_rq()
579 min_vruntime = cfs_rq->min_vruntime; in print_cfs_rq()
595 cfs_rq->nr_spread_over); in print_cfs_rq()
596 SEQ_printf(m, " .%-30s: %d\n", "nr_running", cfs_rq->nr_running); in print_cfs_rq()
597 SEQ_printf(m, " .%-30s: %ld\n", "load", cfs_rq->load.weight); in print_cfs_rq()
[all …]
Dsched.h440 struct cfs_rq;
475 struct cfs_rq **cfs_rq; member
566 extern void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq,
573 extern void unthrottle_cfs_rq(struct cfs_rq *cfs_rq);
599 struct cfs_rq *prev, struct cfs_rq *next);
602 struct cfs_rq *prev, struct cfs_rq *next) { } in set_task_rq_fair()
613 struct cfs_rq { struct
1035 struct cfs_rq cfs;
1194 static inline struct rq *rq_of(struct cfs_rq *cfs_rq) in rq_of() argument
1196 return cfs_rq->rq; in rq_of()
[all …]
Dcore.c3242 p->se.cfs_rq = NULL; in __sched_fork()
4124 struct sched_entity *curr = (&p->se)->cfs_rq->curr; in prefetch_curr_exec_start()
7685 root_task_group.cfs_rq = (struct cfs_rq **)ptr; in sched_init()
8617 struct cfs_rq *cfs_rq = tg->cfs_rq[i]; in tg_set_cfs_bandwidth() local
8618 struct rq *rq = cfs_rq->rq; in tg_set_cfs_bandwidth()
8622 cfs_rq->runtime_enabled = runtime_enabled; in tg_set_cfs_bandwidth()
8623 cfs_rq->runtime_remaining = 0; in tg_set_cfs_bandwidth()
8625 if (cfs_rq->throttled) in tg_set_cfs_bandwidth()
8626 unthrottle_cfs_rq(cfs_rq); in tg_set_cfs_bandwidth()
/kernel/linux/linux-5.10/include/linux/
Dsched.h46 struct cfs_rq;
534 struct cfs_rq *cfs_rq; member
536 struct cfs_rq *my_q;
2233 const struct sched_avg *sched_trace_cfs_rq_avg(struct cfs_rq *cfs_rq);
2234 char *sched_trace_cfs_rq_path(struct cfs_rq *cfs_rq, char *str, int len);
2235 int sched_trace_cfs_rq_cpu(struct cfs_rq *cfs_rq);
/kernel/linux/linux-5.10/include/trace/events/
Dsched.h774 TP_PROTO(struct cfs_rq *cfs_rq),
775 TP_ARGS(cfs_rq));
806 TP_PROTO(struct cfs_rq *cfs_rq),
807 TP_ARGS(cfs_rq));