Lines Matching refs:task_group

710 int walk_tg_tree_from(struct task_group *from,  in walk_tg_tree_from()
713 struct task_group *parent, *child; in walk_tg_tree_from()
741 int tg_nop(struct task_group *tg, void *data) in tg_nop()
887 if (task_group_is_autogroup(task_group(p))) in uclamp_tg_restrict()
889 if (task_group(p) == &root_task_group) in uclamp_tg_restrict()
892 uc_max = task_group(p)->uclamp[clamp_id]; in uclamp_tg_restrict()
1098 struct task_group *tg = &root_task_group; in uclamp_update_root_tg()
4908 task_group(p)->rt_bandwidth.rt_runtime == 0 && in __sched_setscheduler()
4909 !task_group_is_autogroup(task_group(p))) { in __sched_setscheduler()
6547 struct task_group root_task_group;
6612 task_group_cache = KMEM_CACHE(task_group, 0); in sched_init()
6915 static inline void alloc_uclamp_sched_group(struct task_group *tg, in alloc_uclamp_sched_group()
6916 struct task_group *parent) in alloc_uclamp_sched_group()
6929 static void sched_free_group(struct task_group *tg) in sched_free_group()
6938 struct task_group *sched_create_group(struct task_group *parent) in sched_create_group()
6940 struct task_group *tg; in sched_create_group()
6961 void sched_online_group(struct task_group *tg, struct task_group *parent) in sched_online_group()
6983 sched_free_group(container_of(rhp, struct task_group, rcu)); in sched_free_group_rcu()
6986 void sched_destroy_group(struct task_group *tg) in sched_destroy_group()
6992 void sched_offline_group(struct task_group *tg) in sched_offline_group()
7007 struct task_group *tg; in sched_change_group()
7015 struct task_group, css); in sched_change_group()
7062 static inline struct task_group *css_tg(struct cgroup_subsys_state *css) in css_tg()
7064 return css ? container_of(css, struct task_group, css) : NULL; in css_tg()
7070 struct task_group *parent = css_tg(parent_css); in cpu_cgroup_css_alloc()
7071 struct task_group *tg; in cpu_cgroup_css_alloc()
7088 struct task_group *tg = css_tg(css); in cpu_cgroup_css_online()
7089 struct task_group *parent = css_tg(css->parent); in cpu_cgroup_css_online()
7098 struct task_group *tg = css_tg(css); in cpu_cgroup_css_released()
7105 struct task_group *tg = css_tg(css); in cpu_cgroup_css_free()
7264 struct task_group *tg; in cpu_uclamp_write()
7309 struct task_group *tg; in cpu_uclamp_print()
7354 struct task_group *tg = css_tg(css); in cpu_shares_read_u64()
7365 static int __cfs_schedulable(struct task_group *tg, u64 period, u64 runtime);
7367 static int tg_set_cfs_bandwidth(struct task_group *tg, u64 period, u64 quota) in tg_set_cfs_bandwidth()
7443 static int tg_set_cfs_quota(struct task_group *tg, long cfs_quota_us) in tg_set_cfs_quota()
7458 static long tg_get_cfs_quota(struct task_group *tg) in tg_get_cfs_quota()
7471 static int tg_set_cfs_period(struct task_group *tg, long cfs_period_us) in tg_set_cfs_period()
7484 static long tg_get_cfs_period(struct task_group *tg) in tg_get_cfs_period()
7519 struct task_group *tg;
7527 static u64 normalize_cfs_quota(struct task_group *tg, in normalize_cfs_quota()
7547 static int tg_cfs_schedulable_down(struct task_group *tg, void *data) in tg_cfs_schedulable_down()
7580 static int __cfs_schedulable(struct task_group *tg, u64 period, u64 quota) in __cfs_schedulable()
7603 struct task_group *tg = css_tg(seq_css(sf)); in cpu_cfs_stat_show()
7709 struct task_group *tg = css_tg(css); in cpu_extra_stat_show()
7730 struct task_group *tg = css_tg(css); in cpu_weight_read_u64()
7824 struct task_group *tg = css_tg(seq_css(sf)); in cpu_max_show()
7833 struct task_group *tg = css_tg(of_css(of)); in cpu_max_write()