Home
last modified time | relevance | path

Searched refs:pos_css (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/kernel/cgroup/
H A Dcpuset.c300 * @pos_css: used for iteration
306 #define cpuset_for_each_child(child_cs, pos_css, parent_cs) \
307 css_for_each_child((pos_css), &(parent_cs)->css) \
308 if (is_cpuset_online(((child_cs) = css_cs((pos_css)))))
313 * @pos_css: used for iteration
317 * with RCU read locked. The caller may modify @pos_css by calling
321 #define cpuset_for_each_descendant_pre(des_cs, pos_css, root_cs) \
322 css_for_each_descendant_pre((pos_css), &(root_cs)->css) \
323 if (is_cpuset_online(((des_cs) = css_cs((pos_css)))))
695 struct cgroup_subsys_state *pos_css; in update_domain_attr_tree() local
782 struct cgroup_subsys_state *pos_css; generate_sched_domains() local
967 struct cgroup_subsys_state *pos_css; dl_rebuild_rd_accounting() local
1023 struct cgroup_subsys_state *pos_css; rebuild_sched_domains_locked() local
1373 struct cgroup_subsys_state *pos_css; update_cpumasks_hier() local
1528 struct cgroup_subsys_state *pos_css; update_sibling_cpumasks() local
1800 struct cgroup_subsys_state *pos_css; update_nodemasks_hier() local
2864 struct cgroup_subsys_state *pos_css; cpuset_css_online() local
3334 struct cgroup_subsys_state *pos_css; cpuset_hotplug_workfn() local
[all...]
/kernel/linux/linux-6.6/block/
H A Dblk-cgroup.h349 * @pos_css: used for iteration
355 * update @pos_css by calling css_rightmost_descendant() to skip subtree.
358 #define blkg_for_each_descendant_pre(d_blkg, pos_css, p_blkg) \
359 css_for_each_descendant_pre((pos_css), &(p_blkg)->blkcg->css) \
360 if (((d_blkg) = blkg_lookup(css_to_blkcg(pos_css), \
366 * @pos_css: used for iteration
373 #define blkg_for_each_descendant_post(d_blkg, pos_css, p_blkg) \
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.c107 struct cgroup_subsys_state *pos_css; in blkg_rwstat_recursive_sum() local
114 blkg_for_each_descendant_pre(pos_blkg, pos_css, blkg) { in blkg_rwstat_recursive_sum()
H A Dblk-throttle.c449 struct cgroup_subsys_state *pos_css; in blk_throtl_update_limit_valid() local
454 blkg_for_each_descendant_post(blkg, pos_css, td->queue->root_blkg) { in blk_throtl_update_limit_valid()
1315 struct cgroup_subsys_state *pos_css; in tg_conf_updated() local
1331 blkg_for_each_descendant_pre(blkg, pos_css, in tg_conf_updated()
1722 struct cgroup_subsys_state *pos_css; in blk_throtl_cancel_bios() local
1732 blkg_for_each_descendant_post(blkg, pos_css, q->root_blkg) { in blk_throtl_cancel_bios()
1876 struct cgroup_subsys_state *pos_css; in throtl_can_upgrade() local
1886 blkg_for_each_descendant_post(blkg, pos_css, td->queue->root_blkg) { in throtl_can_upgrade()
1924 struct cgroup_subsys_state *pos_css; in throtl_upgrade_state() local
1932 blkg_for_each_descendant_post(blkg, pos_css, t in throtl_upgrade_state()
[all...]
H A Dblk-iolatency.c663 struct cgroup_subsys_state *pos_css; in blkiolatency_timer_fn() local
667 blkg_for_each_descendant_pre(blkg, pos_css, in blkiolatency_timer_fn()
H A Dbfq-cgroup.c1195 struct cgroup_subsys_state *pos_css; in bfqg_prfill_stat_recursive() local
1201 blkg_for_each_descendant_pre(pos_blkg, pos_css, blkg) { in bfqg_prfill_stat_recursive()
/kernel/linux/linux-6.6/kernel/cgroup/
H A Dcpuset.c342 * @pos_css: used for iteration
348 #define cpuset_for_each_child(child_cs, pos_css, parent_cs) \
349 css_for_each_child((pos_css), &(parent_cs)->css) \
350 if (is_cpuset_online(((child_cs) = css_cs((pos_css)))))
355 * @pos_css: used for iteration
359 * with RCU read locked. The caller may modify @pos_css by calling
363 #define cpuset_for_each_descendant_pre(des_cs, pos_css, root_cs) \
364 css_for_each_descendant_pre((pos_css), &(root_cs)->css) \
365 if (is_cpuset_online(((des_cs) = css_cs((pos_css)))))
816 struct cgroup_subsys_state *pos_css; in update_domain_attr_tree() local
903 struct cgroup_subsys_state *pos_css; generate_sched_domains() local
1088 struct cgroup_subsys_state *pos_css; dl_rebuild_rd_accounting() local
1144 struct cgroup_subsys_state *pos_css; rebuild_sched_domains_locked() local
1626 struct cgroup_subsys_state *pos_css; update_cpumasks_hier() local
1797 struct cgroup_subsys_state *pos_css; update_sibling_cpumasks() local
2111 struct cgroup_subsys_state *pos_css; update_nodemasks_hier() local
3267 struct cgroup_subsys_state *pos_css; cpuset_css_online() local
3854 struct cgroup_subsys_state *pos_css; cpuset_hotplug_workfn() local
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dblk-cgroup.h486 * @pos_css: used for iteration
492 * update @pos_css by calling css_rightmost_descendant() to skip subtree.
495 #define blkg_for_each_descendant_pre(d_blkg, pos_css, p_blkg) \
496 css_for_each_descendant_pre((pos_css), &(p_blkg)->blkcg->css) \
497 if (((d_blkg) = __blkg_lookup(css_to_blkcg(pos_css), \
503 * @pos_css: used for iteration
510 #define blkg_for_each_descendant_post(d_blkg, pos_css, p_blkg) \
511 css_for_each_descendant_post((pos_css), &(p_blkg)->blkcg->css) \
512 if (((d_blkg) = __blkg_lookup(css_to_blkcg(pos_css), \
/kernel/linux/linux-5.10/block/
H A Dblk-cgroup-rwstat.c107 struct cgroup_subsys_state *pos_css; in blkg_rwstat_recursive_sum() local
114 blkg_for_each_descendant_pre(pos_blkg, pos_css, blkg) { in blkg_rwstat_recursive_sum()
H A Dblk-throttle.c596 struct cgroup_subsys_state *pos_css; in blk_throtl_update_limit_valid() local
601 blkg_for_each_descendant_post(blkg, pos_css, td->queue->root_blkg) { in blk_throtl_update_limit_valid()
1405 struct cgroup_subsys_state *pos_css; in tg_conf_updated() local
1421 blkg_for_each_descendant_pre(blkg, pos_css, in tg_conf_updated()
1944 struct cgroup_subsys_state *pos_css; in throtl_can_upgrade() local
1954 blkg_for_each_descendant_post(blkg, pos_css, td->queue->root_blkg) { in throtl_can_upgrade()
1992 struct cgroup_subsys_state *pos_css; in throtl_upgrade_state() local
2000 blkg_for_each_descendant_post(blkg, pos_css, td->queue->root_blkg) { in throtl_upgrade_state()
H A Dblk-iolatency.c665 struct cgroup_subsys_state *pos_css; in blkiolatency_timer_fn() local
669 blkg_for_each_descendant_pre(blkg, pos_css, in blkiolatency_timer_fn()
H A Dbfq-cgroup.c1175 struct cgroup_subsys_state *pos_css; in bfqg_prfill_stat_recursive() local
1181 blkg_for_each_descendant_pre(pos_blkg, pos_css, blkg) { in bfqg_prfill_stat_recursive()

Completed in 21 milliseconds