Lines Matching refs:css
49 struct cgroup_subsys_state * const blkcg_root_css = &blkcg_root.css;
96 css_put(&blkg->blkcg->css); in __blkg_release()
249 if (!css_tryget_online(&blkcg->css)) { in blkg_create()
307 css_put(&blkcg->css); in blkg_create()
467 static int blkcg_reset_stats(struct cgroup_subsys_state *css, in blkcg_reset_stats() argument
470 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_reset_stats()
801 static void blkcg_rstat_flush(struct cgroup_subsys_state *css, int cpu) in blkcg_rstat_flush() argument
803 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_rstat_flush()
807 if (!cgroup_parent(css->cgroup)) in blkcg_rstat_flush()
964 cgroup_rstat_flush(blkcg->css.cgroup); in blkcg_print_stat()
1021 static void blkcg_css_offline(struct cgroup_subsys_state *css) in blkcg_css_offline() argument
1023 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_css_offline()
1073 static void blkcg_css_free(struct cgroup_subsys_state *css) in blkcg_css_free() argument
1075 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_css_free()
1145 return &blkcg->css; in blkcg_css_alloc()
1159 static int blkcg_css_online(struct cgroup_subsys_state *css) in blkcg_css_online() argument
1161 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_css_online()
1726 struct cgroup_subsys_state *css; in blkcg_maybe_throttle_current() local
1738 css = kthread_blkcg(); in blkcg_maybe_throttle_current()
1739 if (css) in blkcg_maybe_throttle_current()
1740 blkcg = css_to_blkcg(css); in blkcg_maybe_throttle_current()
1825 struct cgroup_subsys_state *css) in blkg_tryget_closest() argument
1830 blkg = blkg_lookup_create(css_to_blkcg(css), in blkg_tryget_closest()
1859 struct cgroup_subsys_state *css) in bio_associate_blkg_from_css() argument
1864 if (css && css->parent) { in bio_associate_blkg_from_css()
1865 bio->bi_blkg = blkg_tryget_closest(bio, css); in bio_associate_blkg_from_css()
1884 struct cgroup_subsys_state *css; in bio_associate_blkg() local
1889 css = &bio_blkcg(bio)->css; in bio_associate_blkg()
1891 css = blkcg_css(); in bio_associate_blkg()
1893 bio_associate_blkg_from_css(bio, css); in bio_associate_blkg()
1907 bio_associate_blkg_from_css(dst, &bio_blkcg(src)->css); in bio_clone_blkg_association()
1942 cgroup_rstat_updated(bio->bi_blkg->blkcg->css.cgroup, cpu); in blk_cgroup_bio_start()