Lines Matching refs:css
25 struct cgroup_subsys_state css;
31 static inline struct cpuacct *css_ca(struct cgroup_subsys_state *css)
33 return css ? container_of(css, struct cpuacct, css) : NULL;
44 return css_ca(ca->css.parent);
60 return &root_cpuacct.css;
74 return &ca->css;
85 static void cpuacct_css_free(struct cgroup_subsys_state *css)
87 struct cpuacct *ca = css_ca(css);
161 static u64 __cpuusage_read(struct cgroup_subsys_state *css,
164 struct cpuacct *ca = css_ca(css);
174 static u64 cpuusage_user_read(struct cgroup_subsys_state *css,
177 return __cpuusage_read(css, CPUACCT_STAT_USER);
180 static u64 cpuusage_sys_read(struct cgroup_subsys_state *css,
183 return __cpuusage_read(css, CPUACCT_STAT_SYSTEM);
186 static u64 cpuusage_read(struct cgroup_subsys_state *css, struct cftype *cft)
188 return __cpuusage_read(css, CPUACCT_STAT_NSTATS);
191 static int cpuusage_write(struct cgroup_subsys_state *css, struct cftype *cft,
194 struct cpuacct *ca = css_ca(css);