Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dbtf_type_tag_percpu.c41 * struct css_rstat_cpu __percpu *rstat_cpu;
53 g = (__u64)cgrp->self.rstat_cpu->updated_children; in BPF_PROG()
65 cgrp->self.rstat_cpu, cpu); in BPF_PROG()
/linux/kernel/cgroup/
H A Drstat.c31 return per_cpu_ptr(css->rstat_cpu, cpu); in css_rstat_cpu()
56 * css_rstat_updated - keep track of updated rstat_cpu
58 * @cpu: cpu on which rstat_cpu was updated
117 rstatc_pcpu = css->rstat_cpu; in css_rstat_updated()
266 * Walks the updated rstat_cpu tree on @cpu from @root. During traversal,
446 /* the root cgrp's self css has rstat_cpu preallocated */ in css_rstat_init()
447 if (!css->rstat_cpu) { in css_rstat_init()
448 css->rstat_cpu = alloc_percpu(struct css_rstat_cpu); in css_rstat_init()
449 if (!css->rstat_cpu) { in css_rstat_init()
500 free_percpu(css->rstat_cpu); in css_rstat_exit()
[all...]
H A Dcgroup.c172 .cgrp.self.rstat_cpu = &root_rstat_cpu,
/linux/include/linux/
H A Dcgroup-defs.h187 struct css_rstat_cpu __percpu *rstat_cpu; member