Lines Matching refs:cpuusage
27 u64 __percpu *cpuusage; member
50 .cpuusage = &root_cpuacct_cpuusage,
66 ca->cpuusage = alloc_percpu(u64); in cpuacct_css_alloc()
67 if (!ca->cpuusage) in cpuacct_css_alloc()
77 free_percpu(ca->cpuusage); in cpuacct_css_alloc()
90 free_percpu(ca->cpuusage); in cpuacct_css_free()
97 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()
278 cputime.sum_exec_runtime += *per_cpu_ptr(ca->cpuusage, cpu); in cpuacct_stats_show()
342 *per_cpu_ptr(ca->cpuusage, cpu) += cputime; in cpuacct_charge()