Home
last modified time | relevance | path

Searched refs:pos_css (Results 1 – 7 of 7) sorted by relevance

/linux/kernel/cgroup/
H A Dcpuset-internal.h283 #define cpuset_for_each_child(child_cs, pos_css, parent_cs) \ argument
284 css_for_each_child((pos_css), &(parent_cs)->css) \
285 if (is_cpuset_online(((child_cs) = css_cs((pos_css)))))
298 #define cpuset_for_each_descendant_pre(des_cs, pos_css, root_cs) \ argument
299 css_for_each_descendant_pre((pos_css), &(root_cs)->css) \
300 if (is_cpuset_online(((des_cs) = css_cs((pos_css)))))
H A Dcpuset-v1.c539 struct cgroup_subsys_state *pos_css; in cpuset1_online_css() local
568 cpuset_for_each_child(tmp_cs, pos_css, parent) { in cpuset1_online_css()
595 struct cgroup_subsys_state *pos_css; in update_domain_attr_tree() local
598 cpuset_for_each_descendant_pre(cp, pos_css, root_cs) { in update_domain_attr_tree()
601 pos_css = css_rightmost_descendant(pos_css); in update_domain_attr_tree()
635 struct cgroup_subsys_state *pos_css; in cpuset1_generate_sched_domains() local
668 cpuset_for_each_descendant_pre(cp, pos_css, &top_cpuset) { in cpuset1_generate_sched_domains()
691 pos_css = css_rightmost_descendant(pos_css); in cpuset1_generate_sched_domains()
/linux/block/
H A Dblk-cgroup.h358 #define blkg_for_each_descendant_pre(d_blkg, pos_css, p_blkg) \ argument
359 css_for_each_descendant_pre((pos_css), &(p_blkg)->blkcg->css) \
360 if (((d_blkg) = blkg_lookup(css_to_blkcg(pos_css), \
373 #define blkg_for_each_descendant_post(d_blkg, pos_css, p_blkg) \ argument
374 css_for_each_descendant_post((pos_css), &(p_blkg)->blkcg->css) \
375 if (((d_blkg) = blkg_lookup(css_to_blkcg(pos_css), \
H A Dblk-cgroup-rwstat.c100 struct cgroup_subsys_state *pos_css; in blkg_rwstat_recursive_sum() local
106 blkg_for_each_descendant_pre(pos_blkg, pos_css, blkg) { in blkg_rwstat_recursive_sum()
H A Dblk-throttle.c1273 struct cgroup_subsys_state *pos_css; in tg_conf_updated() local
1289 blkg_for_each_descendant_pre(blkg, pos_css, in tg_conf_updated()
1728 struct cgroup_subsys_state *pos_css; in blk_throtl_cancel_bios() local
1743 blkg_for_each_descendant_post(blkg, pos_css, q->root_blkg) { in blk_throtl_cancel_bios()
H A Dblk-iolatency.c656 struct cgroup_subsys_state *pos_css; in blkiolatency_timer_fn() local
660 blkg_for_each_descendant_pre(blkg, pos_css, in blkiolatency_timer_fn()
H A Dbfq-cgroup.c1163 struct cgroup_subsys_state *pos_css; in bfqg_prfill_stat_recursive() local
1167 blkg_for_each_descendant_pre(pos_blkg, pos_css, blkg) { in bfqg_prfill_stat_recursive()