Lines Matching refs:css
50 struct cgroup_subsys_state css; member
222 struct cgroup_subsys_state *css; in blkcg_css() local
224 css = kthread_blkcg(); in blkcg_css()
225 if (css) in blkcg_css()
226 return css; in blkcg_css()
230 static inline struct blkcg *css_to_blkcg(struct cgroup_subsys_state *css) in css_to_blkcg() argument
232 return css ? container_of(css, struct blkcg, css) : NULL; in css_to_blkcg()
273 struct cgroup_subsys_state *css; in blk_cgroup_congested() local
277 css = kthread_blkcg(); in blk_cgroup_congested()
278 if (!css) in blk_cgroup_congested()
279 css = task_css(current, io_cgrp_id); in blk_cgroup_congested()
280 while (css) { in blk_cgroup_congested()
281 if (atomic_read(&css->cgroup->congestion_count)) { in blk_cgroup_congested()
285 css = css->parent; in blk_cgroup_congested()
315 return css_to_blkcg(blkcg->css.parent); in blkcg_parent()
450 return cgroup_path(blkg->blkcg->css.cgroup, buf, buflen); in blkg_path()
498 css_for_each_descendant_pre((pos_css), &(p_blkg)->blkcg->css) \
513 css_for_each_descendant_post((pos_css), &(p_blkg)->blkcg->css) \
537 atomic_inc(&blkg->blkcg->css.cgroup->congestion_count); in blkcg_use_delay()
566 atomic_dec(&blkg->blkcg->css.cgroup->congestion_count); in blkcg_unuse_delay()
585 atomic_inc(&blkg->blkcg->css.cgroup->congestion_count); in blkcg_set_delay()
602 atomic_dec(&blkg->blkcg->css.cgroup->congestion_count); in blkcg_clear_delay()