Searched refs:rstat_cpu (Results 1 - 4 of 4) sorted by relevance

/linux-master/tools/testing/selftests/bpf/progs/
H A Dbtf_type_tag_percpu.c41 * struct cgroup_rstat_cpu __percpu *rstat_cpu;
48 g = (__u64)cgrp->rstat_cpu->updated_children;
59 rstat = (struct cgroup_rstat_cpu *)bpf_per_cpu_ptr(cgrp->rstat_cpu, cpu);
/linux-master/kernel/cgroup/
H A Drstat.c17 return per_cpu_ptr(cgrp->rstat_cpu, cpu);
21 * cgroup_rstat_updated - keep track of updated rstat_cpu
23 * @cpu: cpu on which rstat_cpu was updated
25 * @cgrp's rstat_cpu on @cpu was updated. Put it on the parent's matching
26 * rstat_cpu->updated_children list. See the comment on top of
135 * Walks the updated rstat_cpu tree on @cpu from @root. During traversal,
311 /* the root cgrp has rstat_cpu preallocated */
312 if (!cgrp->rstat_cpu) {
313 cgrp->rstat_cpu = alloc_percpu(struct cgroup_rstat_cpu);
314 if (!cgrp->rstat_cpu)
[all...]
H A Dcgroup.c167 struct cgroup_root cgrp_dfl_root = { .cgrp.rstat_cpu = &cgrp_dfl_root_rstat_cpu };
/linux-master/include/linux/
H A Dcgroup-defs.h496 struct cgroup_rstat_cpu __percpu *rstat_cpu; member in struct:cgroup
500 * Add padding to separate the read mostly rstat_cpu and

Completed in 339 milliseconds