Lines Matching refs:css
47 struct cgroup_subsys_state css; member
219 struct cgroup_subsys_state *css; in blkcg_css() local
221 css = kthread_blkcg(); in blkcg_css()
222 if (css) in blkcg_css()
223 return css; in blkcg_css()
227 static inline struct blkcg *css_to_blkcg(struct cgroup_subsys_state *css) in css_to_blkcg() argument
229 return css ? container_of(css, struct blkcg, css) : NULL; in css_to_blkcg()
270 struct cgroup_subsys_state *css; in blk_cgroup_congested() local
274 css = kthread_blkcg(); in blk_cgroup_congested()
275 if (!css) in blk_cgroup_congested()
276 css = task_css(current, io_cgrp_id); in blk_cgroup_congested()
277 while (css) { in blk_cgroup_congested()
278 if (atomic_read(&css->cgroup->congestion_count)) { in blk_cgroup_congested()
282 css = css->parent; in blk_cgroup_congested()
312 return css_to_blkcg(blkcg->css.parent); in blkcg_parent()
447 return cgroup_path(blkg->blkcg->css.cgroup, buf, buflen); in blkg_path()
495 css_for_each_descendant_pre((pos_css), &(p_blkg)->blkcg->css) \
510 css_for_each_descendant_post((pos_css), &(p_blkg)->blkcg->css) \
534 atomic_inc(&blkg->blkcg->css.cgroup->congestion_count); in blkcg_use_delay()
563 atomic_dec(&blkg->blkcg->css.cgroup->congestion_count); in blkcg_unuse_delay()
582 atomic_inc(&blkg->blkcg->css.cgroup->congestion_count); in blkcg_set_delay()
599 atomic_dec(&blkg->blkcg->css.cgroup->congestion_count); in blkcg_clear_delay()