Searched refs:cpustat (Results 1 – 3 of 3) sorted by relevance
28 struct kernel_cpustat __percpu *cpustat; member49 .cpustat = &kernel_cpustat,70 ca->cpustat = alloc_percpu(struct kernel_cpustat); in cpuacct_css_alloc()71 if (!ca->cpustat) in cpuacct_css_alloc()89 free_percpu(ca->cpustat); in cpuacct_css_free()98 u64 *cpustat = per_cpu_ptr(ca->cpustat, cpu)->cpustat; in cpuacct_cpuusage_read() local117 data = cpustat[CPUTIME_USER] + cpustat[CPUTIME_NICE]; in cpuacct_cpuusage_read()120 data = cpustat[CPUTIME_SYSTEM] + cpustat[CPUTIME_IRQ] + in cpuacct_cpuusage_read()121 cpustat[CPUTIME_SOFTIRQ]; in cpuacct_cpuusage_read()138 u64 *cpustat = per_cpu_ptr(ca->cpustat, cpu)->cpustat; in cpuacct_cpuusage_write() local[all …]
39 u64 *cpustat = kcpustat_this_cpu->cpustat; in irqtime_account_delta() local42 cpustat[idx] += delta; in irqtime_account_delta()116 __this_cpu_add(kernel_cpustat.cpustat[index], tmp); in task_group_account_field()153 u64 *cpustat = kcpustat_this_cpu->cpustat; in account_guest_time() local163 cpustat[CPUTIME_GUEST_NICE] += cputime; in account_guest_time()166 cpustat[CPUTIME_GUEST] += cputime; in account_guest_time()224 u64 *cpustat = kcpustat_this_cpu->cpustat; in account_steal_time() local226 cpustat[CPUTIME_STEAL] += cputime; in account_steal_time()235 u64 *cpustat = kcpustat_this_cpu->cpustat; in account_idle_time() local239 cpustat[CPUTIME_IOWAIT] += cputime; in account_idle_time()[all …]
463 u64 *cpustat = kcpustat.cpustat; in root_cgroup_cputime() local469 user += cpustat[CPUTIME_USER]; in root_cgroup_cputime()470 user += cpustat[CPUTIME_NICE]; in root_cgroup_cputime()473 sys += cpustat[CPUTIME_SYSTEM]; in root_cgroup_cputime()474 sys += cpustat[CPUTIME_IRQ]; in root_cgroup_cputime()475 sys += cpustat[CPUTIME_SOFTIRQ]; in root_cgroup_cputime()480 cputime->sum_exec_runtime += cpustat[CPUTIME_STEAL]; in root_cgroup_cputime()483 bstat->forceidle_sum += cpustat[CPUTIME_FORCEIDLE]; in root_cgroup_cputime()