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()
764 static void blkcg_rstat_flush(struct cgroup_subsys_state *css, int cpu) in blkcg_rstat_flush() argument
766 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_rstat_flush()
864 cgroup_rstat_flush(blkcg->css.cgroup); in blkcg_print_stat()
996 static void blkcg_css_offline(struct cgroup_subsys_state *css) in blkcg_css_offline() argument
998 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_css_offline()
1040 static void blkcg_css_free(struct cgroup_subsys_state *css) in blkcg_css_free() argument
1042 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_css_free()
1112 return &blkcg->css; in blkcg_css_alloc()
1126 static int blkcg_css_online(struct cgroup_subsys_state *css) in blkcg_css_online() argument
1128 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_css_online()
1703 struct cgroup_subsys_state *css; in blkcg_maybe_throttle_current() local
1715 css = kthread_blkcg(); in blkcg_maybe_throttle_current()
1716 if (css) in blkcg_maybe_throttle_current()
1717 blkcg = css_to_blkcg(css); in blkcg_maybe_throttle_current()
1799 struct cgroup_subsys_state *css) in blkg_tryget_closest() argument
1804 blkg = blkg_lookup_create(css_to_blkcg(css), bio->bi_disk->queue); in blkg_tryget_closest()
1832 struct cgroup_subsys_state *css) in bio_associate_blkg_from_css() argument
1837 if (css && css->parent) { in bio_associate_blkg_from_css()
1838 bio->bi_blkg = blkg_tryget_closest(bio, css); in bio_associate_blkg_from_css()
1857 struct cgroup_subsys_state *css; in bio_associate_blkg() local
1862 css = &bio_blkcg(bio)->css; in bio_associate_blkg()
1864 css = blkcg_css(); in bio_associate_blkg()
1866 bio_associate_blkg_from_css(bio, css); in bio_associate_blkg()
1918 cgroup_rstat_updated(bio->bi_blkg->blkcg->css.cgroup, cpu); in blk_cgroup_bio_start()