Lines Matching refs:css

7563 			  struct task_group, css);  in sched_move_task()
7958 static inline struct task_group *css_tg(struct cgroup_subsys_state *css) in css_tg() argument
7960 return css ? container_of(css, struct task_group, css) : NULL; in css_tg()
7971 return &root_task_group.css; in cpu_cgroup_css_alloc()
7978 return &tg->css; in cpu_cgroup_css_alloc()
7981 static int cpu_cgroup_css_online(struct cgroup_subsys_state *css) in cpu_cgroup_css_online() argument
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()
7991 static void cpu_cgroup_css_free(struct cgroup_subsys_state *css) in cpu_cgroup_css_free() argument
7993 struct task_group *tg = css_tg(css); in cpu_cgroup_css_free()
7998 static void cpu_cgroup_css_offline(struct cgroup_subsys_state *css) in cpu_cgroup_css_offline() argument
8000 struct task_group *tg = css_tg(css); in cpu_cgroup_css_offline()
8010 static int cpu_cgroup_can_attach(struct cgroup_subsys_state *css, in cpu_cgroup_can_attach() argument
8017 if (!sched_rt_can_attach(css_tg(css), task)) in cpu_cgroup_can_attach()
8028 static void cpu_cgroup_attach(struct cgroup_subsys_state *css, in cpu_cgroup_attach() argument
8037 static void cpu_cgroup_exit(struct cgroup_subsys_state *css, in cpu_cgroup_exit() argument
8053 static int cpu_shares_write_u64(struct cgroup_subsys_state *css, in cpu_shares_write_u64() argument
8056 return sched_group_set_shares(css_tg(css), scale_load(shareval)); in cpu_shares_write_u64()
8059 static u64 cpu_shares_read_u64(struct cgroup_subsys_state *css, in cpu_shares_read_u64() argument
8062 struct task_group *tg = css_tg(css); in cpu_shares_read_u64()
8196 static s64 cpu_cfs_quota_read_s64(struct cgroup_subsys_state *css, in cpu_cfs_quota_read_s64() argument
8199 return tg_get_cfs_quota(css_tg(css)); in cpu_cfs_quota_read_s64()
8202 static int cpu_cfs_quota_write_s64(struct cgroup_subsys_state *css, in cpu_cfs_quota_write_s64() argument
8205 return tg_set_cfs_quota(css_tg(css), cfs_quota_us); in cpu_cfs_quota_write_s64()
8208 static u64 cpu_cfs_period_read_u64(struct cgroup_subsys_state *css, in cpu_cfs_period_read_u64() argument
8211 return tg_get_cfs_period(css_tg(css)); in cpu_cfs_period_read_u64()
8214 static int cpu_cfs_period_write_u64(struct cgroup_subsys_state *css, in cpu_cfs_period_write_u64() argument
8217 return tg_set_cfs_period(css_tg(css), cfs_period_us); in cpu_cfs_period_write_u64()
8313 static int cpu_rt_runtime_write(struct cgroup_subsys_state *css, in cpu_rt_runtime_write() argument
8316 return sched_group_set_rt_runtime(css_tg(css), val); in cpu_rt_runtime_write()
8319 static s64 cpu_rt_runtime_read(struct cgroup_subsys_state *css, in cpu_rt_runtime_read() argument
8322 return sched_group_rt_runtime(css_tg(css)); in cpu_rt_runtime_read()
8325 static int cpu_rt_period_write_uint(struct cgroup_subsys_state *css, in cpu_rt_period_write_uint() argument
8328 return sched_group_set_rt_period(css_tg(css), rt_period_us); in cpu_rt_period_write_uint()
8331 static u64 cpu_rt_period_read_uint(struct cgroup_subsys_state *css, in cpu_rt_period_read_uint() argument
8334 return sched_group_rt_period(css_tg(css)); in cpu_rt_period_read_uint()