Lines Matching refs:task_group

1165 int walk_tg_tree_from(struct task_group *from,  in walk_tg_tree_from()
1168 struct task_group *parent, *child; in walk_tg_tree_from()
1196 int tg_nop(struct task_group *tg, void *data) in tg_nop()
1431 if (task_group_is_autogroup(task_group(p))) in uclamp_tg_restrict()
1433 if (task_group(p) == &root_task_group) in uclamp_tg_restrict()
1436 tg_min = task_group(p)->uclamp[UCLAMP_MIN].value; in uclamp_tg_restrict()
1437 tg_max = task_group(p)->uclamp[UCLAMP_MAX].value; in uclamp_tg_restrict()
1700 struct task_group *tg = &root_task_group; in uclamp_update_root_tg()
7367 task_group(p)->rt_bandwidth.rt_runtime == 0 && in __sched_setscheduler()
7368 !task_group_is_autogroup(task_group(p))) { in __sched_setscheduler()
9274 struct task_group root_task_group;
9349 task_group_cache = KMEM_CACHE(task_group, 0); in sched_init()
9697 static inline void alloc_uclamp_sched_group(struct task_group *tg, in alloc_uclamp_sched_group()
9698 struct task_group *parent) in alloc_uclamp_sched_group()
9711 static void sched_free_group(struct task_group *tg) in sched_free_group()
9720 struct task_group *sched_create_group(struct task_group *parent) in sched_create_group()
9722 struct task_group *tg; in sched_create_group()
9743 void sched_online_group(struct task_group *tg, struct task_group *parent) in sched_online_group()
9765 sched_free_group(container_of(rhp, struct task_group, rcu)); in sched_free_group_rcu()
9768 void sched_destroy_group(struct task_group *tg) in sched_destroy_group()
9774 void sched_offline_group(struct task_group *tg) in sched_offline_group()
9789 struct task_group *tg; in sched_change_group()
9797 struct task_group, css); in sched_change_group()
9851 static inline struct task_group *css_tg(struct cgroup_subsys_state *css) in css_tg()
9853 return css ? container_of(css, struct task_group, css) : NULL; in css_tg()
9859 struct task_group *parent = css_tg(parent_css); in cpu_cgroup_css_alloc()
9860 struct task_group *tg; in cpu_cgroup_css_alloc()
9877 struct task_group *tg = css_tg(css); in cpu_cgroup_css_online()
9878 struct task_group *parent = css_tg(css->parent); in cpu_cgroup_css_online()
9897 struct task_group *tg = css_tg(css); in cpu_cgroup_css_released()
9904 struct task_group *tg = css_tg(css); in cpu_cgroup_css_free()
10066 struct task_group *tg; in cpu_uclamp_write()
10113 struct task_group *tg; in cpu_uclamp_print()
10158 struct task_group *tg = css_tg(css); in cpu_shares_read_u64()
10171 static int __cfs_schedulable(struct task_group *tg, u64 period, u64 runtime);
10173 static int tg_set_cfs_bandwidth(struct task_group *tg, u64 period, u64 quota, in tg_set_cfs_bandwidth()
10261 static int tg_set_cfs_quota(struct task_group *tg, long cfs_quota_us) in tg_set_cfs_quota()
10277 static long tg_get_cfs_quota(struct task_group *tg) in tg_get_cfs_quota()
10290 static int tg_set_cfs_period(struct task_group *tg, long cfs_period_us) in tg_set_cfs_period()
10304 static long tg_get_cfs_period(struct task_group *tg) in tg_get_cfs_period()
10314 static int tg_set_cfs_burst(struct task_group *tg, long cfs_burst_us) in tg_set_cfs_burst()
10328 static long tg_get_cfs_burst(struct task_group *tg) in tg_get_cfs_burst()
10375 struct task_group *tg;
10383 static u64 normalize_cfs_quota(struct task_group *tg, in normalize_cfs_quota()
10403 static int tg_cfs_schedulable_down(struct task_group *tg, void *data) in tg_cfs_schedulable_down()
10436 static int __cfs_schedulable(struct task_group *tg, u64 period, u64 quota) in __cfs_schedulable()
10459 struct task_group *tg = css_tg(seq_css(sf)); in cpu_cfs_stat_show()
10589 struct task_group *tg = css_tg(css); in cpu_extra_stat_show()
10610 struct task_group *tg = css_tg(css); in cpu_weight_read_u64()
10704 struct task_group *tg = css_tg(seq_css(sf)); in cpu_max_show()
10713 struct task_group *tg = css_tg(of_css(of)); in cpu_max_write()