Lines Matching refs:css
50 struct cgroup_subsys_state * const blkcg_root_css = &blkcg_root.css;
95 css_put(&blkg->blkcg->css); in __blkg_release()
248 if (!css_tryget_online(&blkcg->css)) { in blkg_create()
306 css_put(&blkcg->css); in blkg_create()
440 static int blkcg_reset_stats(struct cgroup_subsys_state *css, in blkcg_reset_stats() argument
443 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_reset_stats()
775 static void blkcg_rstat_flush(struct cgroup_subsys_state *css, int cpu) in blkcg_rstat_flush() argument
777 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_rstat_flush()
875 cgroup_rstat_flush(blkcg->css.cgroup); in blkcg_print_stat()
1007 static void blkcg_css_offline(struct cgroup_subsys_state *css) in blkcg_css_offline() argument
1009 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_css_offline()
1059 static void blkcg_css_free(struct cgroup_subsys_state *css) in blkcg_css_free() argument
1061 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_css_free()
1131 return &blkcg->css; in blkcg_css_alloc()
1145 static int blkcg_css_online(struct cgroup_subsys_state *css) in blkcg_css_online() argument
1147 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_css_online()
1730 struct cgroup_subsys_state *css; in blkcg_maybe_throttle_current() local
1742 css = kthread_blkcg(); in blkcg_maybe_throttle_current()
1743 if (css) in blkcg_maybe_throttle_current()
1744 blkcg = css_to_blkcg(css); in blkcg_maybe_throttle_current()
1826 struct cgroup_subsys_state *css) in blkg_tryget_closest() argument
1831 blkg = blkg_lookup_create(css_to_blkcg(css), bio->bi_disk->queue); 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()
1941 cgroup_rstat_updated(bio->bi_blkg->blkcg->css.cgroup, cpu); in blk_cgroup_bio_start()