Lines Matching refs:css
49 struct cgroup_subsys_state css; member
224 struct cgroup_subsys_state *css; in blkcg_css() local
226 css = kthread_blkcg(); in blkcg_css()
227 if (css) in blkcg_css()
228 return css; in blkcg_css()
232 static inline struct blkcg *css_to_blkcg(struct cgroup_subsys_state *css) in css_to_blkcg() argument
234 return css ? container_of(css, struct blkcg, css) : NULL; in css_to_blkcg()
275 struct cgroup_subsys_state *css; in blk_cgroup_congested() local
279 css = kthread_blkcg(); in blk_cgroup_congested()
280 if (!css) in blk_cgroup_congested()
281 css = task_css(current, io_cgrp_id); in blk_cgroup_congested()
282 while (css) { in blk_cgroup_congested()
283 if (atomic_read(&css->cgroup->congestion_count)) { in blk_cgroup_congested()
287 css = css->parent; in blk_cgroup_congested()
317 return css_to_blkcg(blkcg->css.parent); in blkcg_parent()
452 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) \
539 atomic_inc(&blkg->blkcg->css.cgroup->congestion_count); in blkcg_use_delay()
568 atomic_dec(&blkg->blkcg->css.cgroup->congestion_count); in blkcg_unuse_delay()
587 atomic_inc(&blkg->blkcg->css.cgroup->congestion_count); in blkcg_set_delay()
604 atomic_dec(&blkg->blkcg->css.cgroup->congestion_count); in blkcg_clear_delay()
679 struct cgroup_subsys_state *css; in blkcg_set_fc_appid() local
689 css = cgroup_get_e_css(cgrp, &io_cgrp_subsys); in blkcg_set_fc_appid()
690 if (!css) { in blkcg_set_fc_appid()
694 blkcg = css_to_blkcg(css); in blkcg_set_fc_appid()
703 css_put(css); in blkcg_set_fc_appid()