Lines Matching refs:cpustat

37 	u64 *cpustat = kcpustat_this_cpu->cpustat;  in irqtime_account_delta()  local
40 cpustat[idx] += delta; in irqtime_account_delta()
108 __this_cpu_add(kernel_cpustat.cpustat[index], tmp); in task_group_account_field()
142 u64 *cpustat = kcpustat_this_cpu->cpustat; in account_guest_time() local
151 cpustat[CPUTIME_NICE] += cputime; in account_guest_time()
152 cpustat[CPUTIME_GUEST_NICE] += cputime; in account_guest_time()
154 cpustat[CPUTIME_USER] += cputime; in account_guest_time()
155 cpustat[CPUTIME_GUEST] += cputime; in account_guest_time()
210 u64 *cpustat = kcpustat_this_cpu->cpustat; in account_steal_time() local
212 cpustat[CPUTIME_STEAL] += cputime; in account_steal_time()
221 u64 *cpustat = kcpustat_this_cpu->cpustat; in account_idle_time() local
225 cpustat[CPUTIME_IOWAIT] += cputime; in account_idle_time()
227 cpustat[CPUTIME_IDLE] += cputime; in account_idle_time()
907 static int kcpustat_field_vtime(u64 *cpustat, in kcpustat_field_vtime() argument
924 *val = cpustat[usage]; in kcpustat_field_vtime()
965 u64 *cpustat = kcpustat->cpustat; in kcpustat_field() local
966 u64 val = cpustat[usage]; in kcpustat_field()
982 return cpustat[usage]; in kcpustat_field()
985 err = kcpustat_field_vtime(cpustat, curr, usage, cpu, &val); in kcpustat_field()
1004 u64 *cpustat; in kcpustat_cpu_fetch_vtime() local
1015 cpustat = dst->cpustat; in kcpustat_cpu_fetch_vtime()
1028 cpustat[CPUTIME_SYSTEM] += vtime->stime + delta; in kcpustat_cpu_fetch_vtime()
1031 cpustat[CPUTIME_NICE] += vtime->utime + delta; in kcpustat_cpu_fetch_vtime()
1033 cpustat[CPUTIME_USER] += vtime->utime + delta; in kcpustat_cpu_fetch_vtime()
1037 cpustat[CPUTIME_GUEST_NICE] += vtime->gtime + delta; in kcpustat_cpu_fetch_vtime()
1038 cpustat[CPUTIME_NICE] += vtime->gtime + delta; in kcpustat_cpu_fetch_vtime()
1040 cpustat[CPUTIME_GUEST] += vtime->gtime + delta; in kcpustat_cpu_fetch_vtime()
1041 cpustat[CPUTIME_USER] += vtime->gtime + delta; in kcpustat_cpu_fetch_vtime()