Home
last modified time | relevance | path

Searched refs:rt_rq (Results 1 – 3 of 3) sorted by relevance

/kernel/
Dsched_rt.c66 static inline u64 sched_rt_runtime(struct rt_rq *rt_rq) in sched_rt_runtime() argument
68 if (!rt_rq->tg) in sched_rt_runtime()
71 return rt_rq->rt_runtime; in sched_rt_runtime()
74 static inline u64 sched_rt_period(struct rt_rq *rt_rq) in sched_rt_period() argument
76 return ktime_to_ns(rt_rq->tg->rt_bandwidth.rt_period); in sched_rt_period()
79 #define for_each_leaf_rt_rq(rt_rq, rq) \ argument
80 list_for_each_entry_rcu(rt_rq, &rq->leaf_rt_rq_list, leaf_rt_rq_list)
82 static inline struct rq *rq_of_rt_rq(struct rt_rq *rt_rq) in rq_of_rt_rq() argument
84 return rt_rq->rq; in rq_of_rt_rq()
87 static inline struct rt_rq *rt_rq_of_se(struct sched_rt_entity *rt_se) in rt_rq_of_se()
[all …]
Dsched.c286 struct rt_rq **rt_rq; member
323 static DEFINE_PER_CPU(struct rt_rq, init_rt_rq) ____cacheline_aligned_in_smp;
387 p->rt.rt_rq = task_group(p)->rt_rq[cpu]; in set_task_rq()
466 struct rt_rq { struct
563 struct rt_rq rt;
8265 static void init_rt_rq(struct rt_rq *rt_rq, struct rq *rq) in init_rt_rq() argument
8270 array = &rt_rq->active; in init_rt_rq()
8279 rt_rq->highest_prio = MAX_RT_PRIO; in init_rt_rq()
8282 rt_rq->rt_nr_migratory = 0; in init_rt_rq()
8283 rt_rq->overloaded = 0; in init_rt_rq()
[all …]
Dsched_debug.c221 void print_rt_rq(struct seq_file *m, int cpu, struct rt_rq *rt_rq) in print_rt_rq() argument
225 struct task_group *tg = rt_rq->tg; in print_rt_rq()
236 SEQ_printf(m, " .%-30s: %Ld\n", #x, (long long)(rt_rq->x)) in print_rt_rq()
238 SEQ_printf(m, " .%-30s: %Ld.%06ld\n", #x, SPLIT_NS(rt_rq->x)) in print_rt_rq()