Lines Matching refs:cpustat

36 	u64 *cpustat = kcpustat_this_cpu->cpustat;  in irqtime_account_delta()  local
39 cpustat[idx] += delta; in irqtime_account_delta()
107 __this_cpu_add(kernel_cpustat.cpustat[index], tmp); in task_group_account_field()
141 u64 *cpustat = kcpustat_this_cpu->cpustat; in account_guest_time() local
151 cpustat[CPUTIME_GUEST_NICE] += cputime; in account_guest_time()
154 cpustat[CPUTIME_GUEST] += cputime; in account_guest_time()
209 u64 *cpustat = kcpustat_this_cpu->cpustat; in account_steal_time() local
211 cpustat[CPUTIME_STEAL] += cputime; in account_steal_time()
220 u64 *cpustat = kcpustat_this_cpu->cpustat; in account_idle_time() local
224 cpustat[CPUTIME_IOWAIT] += cputime; in account_idle_time()
226 cpustat[CPUTIME_IDLE] += cputime; in account_idle_time()
921 static int kcpustat_field_vtime(u64 *cpustat, in kcpustat_field_vtime() argument
938 *val = cpustat[usage]; in kcpustat_field_vtime()
979 u64 *cpustat = kcpustat->cpustat; in kcpustat_field() local
980 u64 val = cpustat[usage]; in kcpustat_field()
996 return cpustat[usage]; in kcpustat_field()
999 err = kcpustat_field_vtime(cpustat, curr, usage, cpu, &val); in kcpustat_field()
1018 u64 *cpustat; in kcpustat_cpu_fetch_vtime() local
1029 cpustat = dst->cpustat; in kcpustat_cpu_fetch_vtime()
1042 cpustat[CPUTIME_SYSTEM] += vtime->stime + delta; in kcpustat_cpu_fetch_vtime()
1045 cpustat[CPUTIME_NICE] += vtime->utime + delta; in kcpustat_cpu_fetch_vtime()
1047 cpustat[CPUTIME_USER] += vtime->utime + delta; in kcpustat_cpu_fetch_vtime()
1051 cpustat[CPUTIME_GUEST_NICE] += vtime->gtime + delta; in kcpustat_cpu_fetch_vtime()
1052 cpustat[CPUTIME_NICE] += vtime->gtime + delta; in kcpustat_cpu_fetch_vtime()
1054 cpustat[CPUTIME_GUEST] += vtime->gtime + delta; in kcpustat_cpu_fetch_vtime()
1055 cpustat[CPUTIME_USER] += vtime->gtime + delta; in kcpustat_cpu_fetch_vtime()