Searched refs:ancestors (Results 1 - 7 of 7) sorted by relevance
/kernel/linux/linux-6.6/tools/perf/util/bpf_skel/ |
H A D | bperf_cgroup.bpf.c | 49 struct cgroup *ancestors[]; member 70 if (bpf_core_field_exists(cgrp_new->ancestors)) { in get_cgroup_v1_ancestor_id() 71 return BPF_CORE_READ(cgrp_new, ancestors[level], kn, id); in get_cgroup_v1_ancestor_id()
|
/kernel/linux/linux-5.10/block/ |
H A D | blk-iocost.c | 551 /* this iocg's depth in the hierarchy and ancestors including self */ 553 struct ioc_gq *ancestors[]; member 1055 struct ioc_gq *parent = iocg->ancestors[lvl]; in __propagate_weights() 1056 struct ioc_gq *child = iocg->ancestors[lvl + 1]; in __propagate_weights() 1135 struct ioc_gq *parent = iocg->ancestors[lvl]; in current_hweight() 1136 struct ioc_gq *child = iocg->ancestors[lvl + 1]; in current_hweight() 1177 struct ioc_gq *parent = iocg->ancestors[lvl]; in current_hweight_max() 1178 struct ioc_gq *child = iocg->ancestors[lvl + 1]; in current_hweight_max() 1240 if (!list_empty(&iocg->ancestors[i]->active_list)) in iocg_activate() 1589 * list of all the ancestors i [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | blk-iocost.c | 548 /* this iocg's depth in the hierarchy and ancestors including self */ 550 struct ioc_gq *ancestors[]; member 1112 struct ioc_gq *parent = iocg->ancestors[lvl]; in __propagate_weights() 1113 struct ioc_gq *child = iocg->ancestors[lvl + 1]; in __propagate_weights() 1192 struct ioc_gq *parent = iocg->ancestors[lvl]; in current_hweight() 1193 struct ioc_gq *child = iocg->ancestors[lvl + 1]; in current_hweight() 1234 struct ioc_gq *parent = iocg->ancestors[lvl]; in current_hweight_max() 1235 struct ioc_gq *child = iocg->ancestors[lvl + 1]; in current_hweight_max() 1297 if (!list_empty(&iocg->ancestors[i]->active_list)) in iocg_activate() 1646 * list of all the ancestors i [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | cgroup.h | 201 * state updates of its ancestors. 518 return cgrp->ancestors[ancestor->level] == ancestor; in cgroup_is_descendant() 537 return cgrp->ancestors[ancestor_level]; in cgroup_ancestor()
|
H A D | cgroup-defs.h | 315 * When a stat gets updated, the cgroup_rstat_cpu and its ancestors are 401 * ancestors[] can determine whether a given cgroup is a 528 /* All ancestors including self */ 529 struct cgroup *ancestors[]; member 548 * release. cgrp->ancestors[0] will be used overflowing into the 553 /* must follow cgrp for cgrp->ancestors[0], see above */
|
/kernel/linux/linux-6.6/kernel/cgroup/ |
H A D | cgroup.c | 309 * take masks of ancestors with non-empty cpus/mems, instead of being 313 * masks of ancestors. 425 /* but the ancestors can't be unless mixable */ in cgroup_is_valid_domain() 2076 root_cgrp->ancestors[0] = root_cgrp; in cgroup_setup_root() 5582 cgrp = kzalloc(struct_size(cgrp, ancestors, (level + 1)), GFP_KERNEL); in cgroup_create() 5634 cgrp->ancestors[tcgrp->level] = tcgrp; in cgroup_create()
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | helpers.c | 2177 /* cgrp's refcnt could be 0 here, but ancestors can still be accessed */ in bpf_cgroup_ancestor() 2178 ancestor = cgrp->ancestors[level]; in bpf_cgroup_ancestor()
|
Completed in 21 milliseconds