Lines Matching refs:task_group

656 int walk_tg_tree_from(struct task_group *from,  in walk_tg_tree_from()
659 struct task_group *parent, *child; in walk_tg_tree_from()
687 int tg_nop(struct task_group *tg, void *data) in tg_nop()
4261 task_group(p)->rt_bandwidth.rt_runtime == 0 && in __sched_setscheduler()
4262 !task_group_is_autogroup(task_group(p))) { in __sched_setscheduler()
5900 struct task_group root_task_group;
5965 task_group_cache = KMEM_CACHE(task_group, 0); in sched_init()
6240 static void sched_free_group(struct task_group *tg) in sched_free_group()
6249 struct task_group *sched_create_group(struct task_group *parent) in sched_create_group()
6251 struct task_group *tg; in sched_create_group()
6270 void sched_online_group(struct task_group *tg, struct task_group *parent) in sched_online_group()
6292 sched_free_group(container_of(rhp, struct task_group, rcu)); in sched_free_group_rcu()
6295 void sched_destroy_group(struct task_group *tg) in sched_destroy_group()
6301 void sched_offline_group(struct task_group *tg) in sched_offline_group()
6316 struct task_group *tg; in sched_change_group()
6324 struct task_group, css); in sched_change_group()
6371 static inline struct task_group *css_tg(struct cgroup_subsys_state *css) in css_tg()
6373 return css ? container_of(css, struct task_group, css) : NULL; in css_tg()
6379 struct task_group *parent = css_tg(parent_css); in cpu_cgroup_css_alloc()
6380 struct task_group *tg; in cpu_cgroup_css_alloc()
6397 struct task_group *tg = css_tg(css); in cpu_cgroup_css_online()
6398 struct task_group *parent = css_tg(css->parent); in cpu_cgroup_css_online()
6407 struct task_group *tg = css_tg(css); in cpu_cgroup_css_released()
6414 struct task_group *tg = css_tg(css); in cpu_cgroup_css_free()
6493 struct task_group *tg = css_tg(css); in cpu_shares_read_u64()
6504 static int __cfs_schedulable(struct task_group *tg, u64 period, u64 runtime);
6506 static int tg_set_cfs_bandwidth(struct task_group *tg, u64 period, u64 quota) in tg_set_cfs_bandwidth()
6582 int tg_set_cfs_quota(struct task_group *tg, long cfs_quota_us) in tg_set_cfs_quota()
6595 long tg_get_cfs_quota(struct task_group *tg) in tg_get_cfs_quota()
6608 int tg_set_cfs_period(struct task_group *tg, long cfs_period_us) in tg_set_cfs_period()
6618 long tg_get_cfs_period(struct task_group *tg) in tg_get_cfs_period()
6653 struct task_group *tg;
6661 static u64 normalize_cfs_quota(struct task_group *tg, in normalize_cfs_quota()
6681 static int tg_cfs_schedulable_down(struct task_group *tg, void *data) in tg_cfs_schedulable_down()
6714 static int __cfs_schedulable(struct task_group *tg, u64 period, u64 quota) in __cfs_schedulable()
6737 struct task_group *tg = css_tg(seq_css(sf)); in cpu_cfs_stat_show()
6829 struct task_group *tg = css_tg(css); in cpu_extra_stat_show()
6850 struct task_group *tg = css_tg(css); in cpu_weight_read_u64()
6944 struct task_group *tg = css_tg(seq_css(sf)); in cpu_max_show()
6953 struct task_group *tg = css_tg(of_css(of)); in cpu_max_write()