Lines Matching refs:css
48 struct cgroup_subsys_state css; member
251 struct cgroup_subsys_state *css; in blkcg_css() local
253 css = kthread_blkcg(); in blkcg_css()
254 if (css) in blkcg_css()
255 return css; in blkcg_css()
259 static inline struct blkcg *css_to_blkcg(struct cgroup_subsys_state *css) in css_to_blkcg() argument
261 return css ? container_of(css, struct blkcg, css) : NULL; in css_to_blkcg()
302 struct cgroup_subsys_state *css; in blk_cgroup_congested() local
306 css = kthread_blkcg(); in blk_cgroup_congested()
307 if (!css) in blk_cgroup_congested()
308 css = task_css(current, io_cgrp_id); in blk_cgroup_congested()
309 while (css) { in blk_cgroup_congested()
310 if (atomic_read(&css->cgroup->congestion_count)) { in blk_cgroup_congested()
314 css = css->parent; in blk_cgroup_congested()
344 return css_to_blkcg(blkcg->css.parent); in blkcg_parent()
488 return cgroup_path(blkg->blkcg->css.cgroup, buf, buflen); in blkg_path()
562 css_for_each_descendant_pre((pos_css), &(p_blkg)->blkcg->css) \
577 css_for_each_descendant_post((pos_css), &(p_blkg)->blkcg->css) \
768 atomic_inc(&blkg->blkcg->css.cgroup->congestion_count); in blkcg_use_delay()
795 atomic_dec(&blkg->blkcg->css.cgroup->congestion_count); in blkcg_unuse_delay()
808 atomic_dec(&blkg->blkcg->css.cgroup->congestion_count); in blkcg_clear_delay()