Lines Matching refs:task_group

1268 int walk_tg_tree_from(struct task_group *from,  in walk_tg_tree_from()
1271 struct task_group *parent, *child; in walk_tg_tree_from()
1299 int tg_nop(struct task_group *tg, void *data) in tg_nop()
1507 if (task_group_is_autogroup(task_group(p))) in uclamp_tg_restrict()
1509 if (task_group(p) == &root_task_group) in uclamp_tg_restrict()
1512 tg_min = task_group(p)->uclamp[UCLAMP_MIN].value; in uclamp_tg_restrict()
1513 tg_max = task_group(p)->uclamp[UCLAMP_MAX].value; in uclamp_tg_restrict()
1781 struct task_group *tg = &root_task_group; in uclamp_update_root_tg()
4802 struct task_group *tg; in sched_cgroup_fork()
4804 struct task_group, css); in sched_cgroup_fork()
7736 task_group(p)->rt_bandwidth.rt_runtime == 0 && in __sched_setscheduler()
7737 !task_group_is_autogroup(task_group(p))) { in __sched_setscheduler()
9902 struct task_group root_task_group;
9965 task_group_cache = KMEM_CACHE(task_group, 0); in sched_init()
10345 static inline void alloc_uclamp_sched_group(struct task_group *tg, in alloc_uclamp_sched_group()
10346 struct task_group *parent) in alloc_uclamp_sched_group()
10359 static void sched_free_group(struct task_group *tg) in sched_free_group()
10369 sched_free_group(container_of(rcu, struct task_group, rcu)); in sched_free_group_rcu()
10372 static void sched_unregister_group(struct task_group *tg) in sched_unregister_group()
10384 struct task_group *sched_create_group(struct task_group *parent) in sched_create_group()
10386 struct task_group *tg; in sched_create_group()
10407 void sched_online_group(struct task_group *tg, struct task_group *parent) in sched_online_group()
10429 sched_unregister_group(container_of(rhp, struct task_group, rcu)); in sched_unregister_group_rcu()
10432 void sched_destroy_group(struct task_group *tg) in sched_destroy_group()
10438 void sched_release_group(struct task_group *tg) in sched_release_group()
10461 static struct task_group *sched_get_task_group(struct task_struct *tsk) in sched_get_task_group()
10463 struct task_group *tg; in sched_get_task_group()
10471 struct task_group, css); in sched_get_task_group()
10477 static void sched_change_group(struct task_struct *tsk, struct task_group *group) in sched_change_group()
10500 struct task_group *group; in sched_move_task()
10541 static inline struct task_group *css_tg(struct cgroup_subsys_state *css) in css_tg()
10543 return css ? container_of(css, struct task_group, css) : NULL; in css_tg()
10549 struct task_group *parent = css_tg(parent_css); in cpu_cgroup_css_alloc()
10550 struct task_group *tg; in cpu_cgroup_css_alloc()
10567 struct task_group *tg = css_tg(css); in cpu_cgroup_css_online()
10568 struct task_group *parent = css_tg(css->parent); in cpu_cgroup_css_online()
10587 struct task_group *tg = css_tg(css); in cpu_cgroup_css_released()
10594 struct task_group *tg = css_tg(css); in cpu_cgroup_css_free()
10722 struct task_group *tg; in cpu_uclamp_write()
10769 struct task_group *tg; in cpu_uclamp_print()
10814 struct task_group *tg = css_tg(css); in cpu_shares_read_u64()
10827 static int __cfs_schedulable(struct task_group *tg, u64 period, u64 runtime);
10829 static int tg_set_cfs_bandwidth(struct task_group *tg, u64 period, u64 quota, in tg_set_cfs_bandwidth()
10917 static int tg_set_cfs_quota(struct task_group *tg, long cfs_quota_us) in tg_set_cfs_quota()
10933 static long tg_get_cfs_quota(struct task_group *tg) in tg_get_cfs_quota()
10946 static int tg_set_cfs_period(struct task_group *tg, long cfs_period_us) in tg_set_cfs_period()
10960 static long tg_get_cfs_period(struct task_group *tg) in tg_get_cfs_period()
10970 static int tg_set_cfs_burst(struct task_group *tg, long cfs_burst_us) in tg_set_cfs_burst()
10984 static long tg_get_cfs_burst(struct task_group *tg) in tg_get_cfs_burst()
11031 struct task_group *tg;
11039 static u64 normalize_cfs_quota(struct task_group *tg, in normalize_cfs_quota()
11059 static int tg_cfs_schedulable_down(struct task_group *tg, void *data) in tg_cfs_schedulable_down()
11097 static int __cfs_schedulable(struct task_group *tg, u64 period, u64 quota) in __cfs_schedulable()
11120 struct task_group *tg = css_tg(seq_css(sf)); in cpu_cfs_stat_show()
11146 static u64 throttled_time_self(struct task_group *tg) in throttled_time_self()
11160 struct task_group *tg = css_tg(seq_css(sf)); in cpu_cfs_local_stat_show()
11281 struct task_group *tg = css_tg(css); in cpu_extra_stat_show()
11307 struct task_group *tg = css_tg(css); in cpu_local_stat_show()
11324 struct task_group *tg = css_tg(css); in cpu_weight_read_u64()
11418 struct task_group *tg = css_tg(seq_css(sf)); in cpu_max_show()
11427 struct task_group *tg = css_tg(of_css(of)); in cpu_max_write()