Home
last modified time | relevance | path

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

/openbmc/linux/kernel/cgroup/
H A Drstat.c17 return per_cpu_ptr(cgrp->rstat_cpu, cpu); in cgroup_rstat_cpu()
273 if (!cgrp->rstat_cpu) { in cgroup_rstat_init()
274 cgrp->rstat_cpu = alloc_percpu(struct cgroup_rstat_cpu); in cgroup_rstat_init()
275 if (!cgrp->rstat_cpu) in cgroup_rstat_init()
305 free_percpu(cgrp->rstat_cpu); in cgroup_rstat_exit()
306 cgrp->rstat_cpu = NULL; in cgroup_rstat_exit()
387 rstatc = get_cpu_ptr(cgrp->rstat_cpu); in cgroup_base_stat_cputime_account_begin()
H A Dcgroup.c167 struct cgroup_root cgrp_dfl_root = { .cgrp.rstat_cpu = &cgrp_dfl_root_rstat_cpu };
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbtf_type_tag_percpu.c48 g = (__u64)cgrp->rstat_cpu->updated_children; in BPF_PROG()
59 rstat = (struct cgroup_rstat_cpu *)bpf_per_cpu_ptr(cgrp->rstat_cpu, cpu); in BPF_PROG()
/openbmc/linux/include/linux/
H A Dcgroup-defs.h491 struct cgroup_rstat_cpu __percpu *rstat_cpu; member