Lines Matching refs:task_group
811 int walk_tg_tree_from(struct task_group *from, in walk_tg_tree_from()
814 struct task_group *parent, *child; in walk_tg_tree_from()
842 int tg_nop(struct task_group *tg, void *data) in tg_nop()
1076 if (task_group_is_autogroup(task_group(p))) in uclamp_tg_restrict()
1078 if (task_group(p) == &root_task_group) in uclamp_tg_restrict()
1081 uc_max = task_group(p)->uclamp[clamp_id]; in uclamp_tg_restrict()
1333 struct task_group *tg = &root_task_group; in uclamp_update_root_tg()
5371 task_group(p)->rt_bandwidth.rt_runtime == 0 && in __sched_setscheduler()
5372 !task_group_is_autogroup(task_group(p))) { in __sched_setscheduler()
7053 struct task_group root_task_group;
7128 task_group_cache = KMEM_CACHE(task_group, 0); in sched_init()
7429 static inline void alloc_uclamp_sched_group(struct task_group *tg, in alloc_uclamp_sched_group()
7430 struct task_group *parent) in alloc_uclamp_sched_group()
7443 static void sched_free_group(struct task_group *tg) in sched_free_group()
7452 struct task_group *sched_create_group(struct task_group *parent) in sched_create_group()
7454 struct task_group *tg; in sched_create_group()
7475 void sched_online_group(struct task_group *tg, struct task_group *parent) in sched_online_group()
7497 sched_free_group(container_of(rhp, struct task_group, rcu)); in sched_free_group_rcu()
7500 void sched_destroy_group(struct task_group *tg) in sched_destroy_group()
7506 void sched_offline_group(struct task_group *tg) in sched_offline_group()
7521 struct task_group *tg; in sched_change_group()
7529 struct task_group, css); in sched_change_group()
7583 static inline struct task_group *css_tg(struct cgroup_subsys_state *css) in css_tg()
7585 return css ? container_of(css, struct task_group, css) : NULL; in css_tg()
7591 struct task_group *parent = css_tg(parent_css); in cpu_cgroup_css_alloc()
7592 struct task_group *tg; in cpu_cgroup_css_alloc()
7609 struct task_group *tg = css_tg(css); in cpu_cgroup_css_online()
7610 struct task_group *parent = css_tg(css->parent); in cpu_cgroup_css_online()
7625 struct task_group *tg = css_tg(css); in cpu_cgroup_css_released()
7632 struct task_group *tg = css_tg(css); in cpu_cgroup_css_free()
7791 struct task_group *tg; in cpu_uclamp_write()
7838 struct task_group *tg; in cpu_uclamp_print()
7883 struct task_group *tg = css_tg(css); in cpu_shares_read_u64()
7896 static int __cfs_schedulable(struct task_group *tg, u64 period, u64 runtime);
7898 static int tg_set_cfs_bandwidth(struct task_group *tg, u64 period, u64 quota) in tg_set_cfs_bandwidth()
7980 static int tg_set_cfs_quota(struct task_group *tg, long cfs_quota_us) in tg_set_cfs_quota()
7995 static long tg_get_cfs_quota(struct task_group *tg) in tg_get_cfs_quota()
8008 static int tg_set_cfs_period(struct task_group *tg, long cfs_period_us) in tg_set_cfs_period()
8021 static long tg_get_cfs_period(struct task_group *tg) in tg_get_cfs_period()
8056 struct task_group *tg;
8064 static u64 normalize_cfs_quota(struct task_group *tg, in normalize_cfs_quota()
8084 static int tg_cfs_schedulable_down(struct task_group *tg, void *data) in tg_cfs_schedulable_down()
8117 static int __cfs_schedulable(struct task_group *tg, u64 period, u64 quota) in __cfs_schedulable()
8140 struct task_group *tg = css_tg(seq_css(sf)); in cpu_cfs_stat_show()
8246 struct task_group *tg = css_tg(css); in cpu_extra_stat_show()
8267 struct task_group *tg = css_tg(css); in cpu_weight_read_u64()
8361 struct task_group *tg = css_tg(seq_css(sf)); in cpu_max_show()
8370 struct task_group *tg = css_tg(of_css(of)); in cpu_max_write()