Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/cgroup/
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()
Dcgroup.c167 struct cgroup_root cgrp_dfl_root = { .cgrp.rstat_cpu = &cgrp_dfl_root_rstat_cpu };
/linux-6.6.21/tools/testing/selftests/bpf/progs/
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()
/linux-6.6.21/include/linux/
Dcgroup-defs.h491 struct cgroup_rstat_cpu __percpu *rstat_cpu; member