Lines Matching refs:cpuusage
28 u64 __percpu *cpuusage; member
51 .cpuusage = &root_cpuacct_cpuusage,
67 ca->cpuusage = alloc_percpu(u64); in cpuacct_css_alloc()
68 if (!ca->cpuusage) in cpuacct_css_alloc()
78 free_percpu(ca->cpuusage); in cpuacct_css_alloc()
91 free_percpu(ca->cpuusage); in cpuacct_css_free()
98 u64 *cpuusage = per_cpu_ptr(ca->cpuusage, cpu); in cpuacct_cpuusage_read() local
124 data = *cpuusage; in cpuacct_cpuusage_read()
137 u64 *cpuusage = per_cpu_ptr(ca->cpuusage, cpu); in cpuacct_cpuusage_write() local
150 *cpuusage = 0; in cpuacct_cpuusage_write()
337 *per_cpu_ptr(ca->cpuusage, cpu) += cputime; in cpuacct_charge()