Lines Matching refs:task_group

196 void unregister_rt_sched_group(struct task_group *tg)  in unregister_rt_sched_group()
203 void free_rt_sched_group(struct task_group *tg) in free_rt_sched_group()
218 void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq, in init_tg_rt_entry()
245 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group()
313 void unregister_rt_sched_group(struct task_group *tg) { } in unregister_rt_sched_group()
315 void free_rt_sched_group(struct task_group *tg) { } in free_rt_sched_group()
317 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group()
548 typedef struct task_group *rt_rq_iter_t;
550 static inline struct task_group *next_task_group(struct task_group *tg) in next_task_group()
554 typeof(struct task_group), list); in next_task_group()
648 return container_of(rt_b, struct task_group, rt_bandwidth)->rt_rq[cpu]; in sched_rt_period_rt_rq()
2689 rt_rq = task_group(p)->rt_rq[cpu]; in task_is_throttled_rt()
2746 static inline int tg_has_rt_tasks(struct task_group *tg) in tg_has_rt_tasks()
2767 struct task_group *tg;
2772 static int tg_rt_schedulable(struct task_group *tg, void *data) in tg_rt_schedulable()
2775 struct task_group *child; in tg_rt_schedulable()
2829 static int __rt_schedulable(struct task_group *tg, u64 period, u64 runtime) in __rt_schedulable()
2846 static int tg_set_rt_bandwidth(struct task_group *tg, in tg_set_rt_bandwidth()
2891 int sched_group_set_rt_runtime(struct task_group *tg, long rt_runtime_us) in sched_group_set_rt_runtime()
2905 long sched_group_rt_runtime(struct task_group *tg) in sched_group_rt_runtime()
2917 int sched_group_set_rt_period(struct task_group *tg, u64 rt_period_us) in sched_group_set_rt_period()
2930 long sched_group_rt_period(struct task_group *tg) in sched_group_rt_period()
2952 int sched_rt_can_attach(struct task_group *tg, struct task_struct *tsk) in sched_rt_can_attach()