Lines Matching refs:rstat_cpu
17 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)
344 free_percpu(cgrp->rstat_cpu);
345 cgrp->rstat_cpu = NULL;
426 rstatc = get_cpu_ptr(cgrp->rstat_cpu);