Lines Matching refs:css_tg
7958 static inline struct task_group *css_tg(struct cgroup_subsys_state *css) in css_tg() function
7966 struct task_group *parent = css_tg(parent_css); in cpu_cgroup_css_alloc()
7983 struct task_group *tg = css_tg(css); in cpu_cgroup_css_online()
7984 struct task_group *parent = css_tg(css->parent); in cpu_cgroup_css_online()
7993 struct task_group *tg = css_tg(css); in cpu_cgroup_css_free()
8000 struct task_group *tg = css_tg(css); in cpu_cgroup_css_offline()
8017 if (!sched_rt_can_attach(css_tg(css), task)) in cpu_cgroup_can_attach()
8056 return sched_group_set_shares(css_tg(css), scale_load(shareval)); in cpu_shares_write_u64()
8062 struct task_group *tg = css_tg(css); in cpu_shares_read_u64()
8199 return tg_get_cfs_quota(css_tg(css)); in cpu_cfs_quota_read_s64()
8205 return tg_set_cfs_quota(css_tg(css), cfs_quota_us); in cpu_cfs_quota_write_s64()
8211 return tg_get_cfs_period(css_tg(css)); in cpu_cfs_period_read_u64()
8217 return tg_set_cfs_period(css_tg(css), cfs_period_us); in cpu_cfs_period_write_u64()
8300 struct task_group *tg = css_tg(seq_css(sf)); in cpu_stats_show()
8316 return sched_group_set_rt_runtime(css_tg(css), val); in cpu_rt_runtime_write()
8322 return sched_group_rt_runtime(css_tg(css)); in cpu_rt_runtime_read()
8328 return sched_group_set_rt_period(css_tg(css), rt_period_us); in cpu_rt_period_write_uint()
8334 return sched_group_rt_period(css_tg(css)); in cpu_rt_period_read_uint()