Lines Matching refs:task_group
1395 int walk_tg_tree_from(struct task_group *from, in walk_tg_tree_from()
1398 struct task_group *parent, *child; in walk_tg_tree_from()
1426 int tg_nop(struct task_group *tg, void *data) in tg_nop()
1601 if (task_group_is_autogroup(task_group(p))) in uclamp_tg_restrict()
1603 if (task_group(p) == &root_task_group) in uclamp_tg_restrict()
1606 tg_min = task_group(p)->uclamp[UCLAMP_MIN].value; in uclamp_tg_restrict()
1607 tg_max = task_group(p)->uclamp[UCLAMP_MAX].value; in uclamp_tg_restrict()
1881 struct task_group *tg = &root_task_group; in uclamp_update_root_tg()
4759 struct task_group *tg; in sched_cgroup_fork()
4761 struct task_group, css); in sched_cgroup_fork()
8636 struct task_group root_task_group;
8700 task_group_cache = KMEM_CACHE(task_group, 0); in sched_init()
9062 static inline void alloc_uclamp_sched_group(struct task_group *tg, in alloc_uclamp_sched_group()
9063 struct task_group *parent) in alloc_uclamp_sched_group()
9076 static void sched_free_group(struct task_group *tg) in sched_free_group()
9086 sched_free_group(container_of(rcu, struct task_group, rcu)); in sched_free_group_rcu()
9089 static void sched_unregister_group(struct task_group *tg) in sched_unregister_group()
9101 struct task_group *sched_create_group(struct task_group *parent) in sched_create_group()
9103 struct task_group *tg; in sched_create_group()
9125 void sched_online_group(struct task_group *tg, struct task_group *parent) in sched_online_group()
9147 sched_unregister_group(container_of(rhp, struct task_group, rcu)); in sched_unregister_group_rcu()
9150 void sched_destroy_group(struct task_group *tg) in sched_destroy_group()
9156 void sched_release_group(struct task_group *tg) in sched_release_group()
9181 struct task_group *tg; in sched_change_group()
9189 struct task_group, css); in sched_change_group()
9247 struct task_group *parent = css_tg(parent_css); in cpu_cgroup_css_alloc()
9248 struct task_group *tg; in cpu_cgroup_css_alloc()
9265 struct task_group *tg = css_tg(css); in cpu_cgroup_css_online()
9266 struct task_group *parent = css_tg(css->parent); in cpu_cgroup_css_online()
9288 struct task_group *tg = css_tg(css); in cpu_cgroup_css_offline()
9295 struct task_group *tg = css_tg(css); in cpu_cgroup_css_released()
9302 struct task_group *tg = css_tg(css); in cpu_cgroup_css_free()
9439 struct task_group *tg; in cpu_uclamp_write()
9483 struct task_group *tg; in cpu_uclamp_print()
9517 static unsigned long tg_weight(struct task_group *tg) in tg_weight()
9550 static int __cfs_schedulable(struct task_group *tg, u64 period, u64 runtime);
9552 static int tg_set_cfs_bandwidth(struct task_group *tg, in tg_set_cfs_bandwidth()
9621 static u64 tg_get_cfs_period(struct task_group *tg) in tg_get_cfs_period()
9631 static u64 tg_get_cfs_quota(struct task_group *tg) in tg_get_cfs_quota()
9644 static u64 tg_get_cfs_burst(struct task_group *tg) in tg_get_cfs_burst()
9655 struct task_group *tg;
9663 static u64 normalize_cfs_quota(struct task_group *tg, in normalize_cfs_quota()
9683 static int tg_cfs_schedulable_down(struct task_group *tg, void *data) in tg_cfs_schedulable_down()
9721 static int __cfs_schedulable(struct task_group *tg, u64 period, u64 quota) in __cfs_schedulable()
9740 struct task_group *tg = css_tg(seq_css(sf)); in cpu_cfs_stat_show()
9766 static u64 throttled_time_self(struct task_group *tg) in throttled_time_self()
9780 struct task_group *tg = css_tg(seq_css(sf)); in cpu_cfs_local_stat_show()
9794 static void tg_bandwidth(struct task_group *tg, in tg_bandwidth()
9823 static int tg_set_bandwidth(struct task_group *tg, in tg_set_bandwidth()
9894 struct task_group *tg = css_tg(css); in cpu_period_write_u64()
9904 struct task_group *tg = css_tg(css); in cpu_quota_write_s64()
9917 struct task_group *tg = css_tg(css); in cpu_burst_write_u64()
10081 struct task_group *tg = css_tg(css); in cpu_extra_stat_show()
10107 struct task_group *tg = css_tg(css); in cpu_local_stat_show()
10217 struct task_group *tg = css_tg(seq_css(sf)); in cpu_max_show()
10228 struct task_group *tg = css_tg(of_css(of)); in cpu_max_write()