Lines Matching refs:css
50 struct cgroup_subsys_state * const blkcg_root_css = &blkcg_root.css;
97 css_put(&blkg->blkcg->css); in __blkg_release()
250 if (!css_tryget_online(&blkcg->css)) { in blkg_create()
308 css_put(&blkcg->css); in blkg_create()
455 static int blkcg_reset_stats(struct cgroup_subsys_state *css, in blkcg_reset_stats() argument
458 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_reset_stats()
789 static void blkcg_rstat_flush(struct cgroup_subsys_state *css, int cpu) in blkcg_rstat_flush() argument
791 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_rstat_flush()
795 if (!cgroup_parent(css->cgroup)) in blkcg_rstat_flush()
952 cgroup_rstat_flush(blkcg->css.cgroup); in blkcg_print_stat()
1009 static void blkcg_css_offline(struct cgroup_subsys_state *css) in blkcg_css_offline() argument
1011 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_css_offline()
1061 static void blkcg_css_free(struct cgroup_subsys_state *css) in blkcg_css_free() argument
1063 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_css_free()
1133 return &blkcg->css; in blkcg_css_alloc()
1147 static int blkcg_css_online(struct cgroup_subsys_state *css) in blkcg_css_online() argument
1149 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_css_online()
1710 struct cgroup_subsys_state *css; in blkcg_maybe_throttle_current() local
1722 css = kthread_blkcg(); in blkcg_maybe_throttle_current()
1723 if (css) in blkcg_maybe_throttle_current()
1724 blkcg = css_to_blkcg(css); in blkcg_maybe_throttle_current()
1809 struct cgroup_subsys_state *css) in blkg_tryget_closest() argument
1814 blkg = blkg_lookup_create(css_to_blkcg(css), in blkg_tryget_closest()
1843 struct cgroup_subsys_state *css) in bio_associate_blkg_from_css() argument
1848 if (css && css->parent) { in bio_associate_blkg_from_css()
1849 bio->bi_blkg = blkg_tryget_closest(bio, css); in bio_associate_blkg_from_css()
1868 struct cgroup_subsys_state *css; in bio_associate_blkg() local
1873 css = &bio_blkcg(bio)->css; in bio_associate_blkg()
1875 css = blkcg_css(); in bio_associate_blkg()
1877 bio_associate_blkg_from_css(bio, css); in bio_associate_blkg()
1930 cgroup_rstat_updated(bio->bi_blkg->blkcg->css.cgroup, cpu); in blk_cgroup_bio_start()