Lines Matching refs:css
48 struct cgroup_subsys_state css; member
235 static inline struct blkcg *css_to_blkcg(struct cgroup_subsys_state *css) in css_to_blkcg() argument
237 return css ? container_of(css, struct blkcg, css) : NULL; in css_to_blkcg()
242 struct cgroup_subsys_state *css; in bio_blkcg() local
246 css = kthread_blkcg(); in bio_blkcg()
247 if (css) in bio_blkcg()
248 return css_to_blkcg(css); in bio_blkcg()
254 struct cgroup_subsys_state *css; in blk_cgroup_congested() local
258 css = kthread_blkcg(); in blk_cgroup_congested()
259 if (!css) in blk_cgroup_congested()
260 css = task_css(current, io_cgrp_id); in blk_cgroup_congested()
261 while (css) { in blk_cgroup_congested()
262 if (atomic_read(&css->cgroup->congestion_count)) { in blk_cgroup_congested()
266 css = css->parent; in blk_cgroup_congested()
296 return css_to_blkcg(blkcg->css.parent); in blkcg_parent()
444 return cgroup_path(blkg->blkcg->css.cgroup, buf, buflen); in blkg_path()
500 css_for_each_descendant_pre((pos_css), &(p_blkg)->blkcg->css) \
515 css_for_each_descendant_post((pos_css), &(p_blkg)->blkcg->css) \
812 bio_associate_blkcg(bio, &blkcg->css); in blkcg_bio_issue_check()
845 atomic_inc(&blkg->blkcg->css.cgroup->congestion_count); in blkcg_use_delay()
887 atomic_dec(&blkg->blkcg->css.cgroup->congestion_count); in blkcg_unuse_delay()
900 atomic_dec(&blkg->blkcg->css.cgroup->congestion_count); in blkcg_clear_delay()