Lines Matching refs:i
82 int i, j; in show_stat() local
95 for_each_possible_cpu(i) { in show_stat()
96 user += kcpustat_cpu(i).cpustat[CPUTIME_USER]; in show_stat()
97 nice += kcpustat_cpu(i).cpustat[CPUTIME_NICE]; in show_stat()
98 system += kcpustat_cpu(i).cpustat[CPUTIME_SYSTEM]; in show_stat()
99 idle += get_idle_time(i); in show_stat()
100 iowait += get_iowait_time(i); in show_stat()
101 irq += kcpustat_cpu(i).cpustat[CPUTIME_IRQ]; in show_stat()
102 softirq += kcpustat_cpu(i).cpustat[CPUTIME_SOFTIRQ]; in show_stat()
103 steal += kcpustat_cpu(i).cpustat[CPUTIME_STEAL]; in show_stat()
104 guest += kcpustat_cpu(i).cpustat[CPUTIME_GUEST]; in show_stat()
105 guest_nice += kcpustat_cpu(i).cpustat[CPUTIME_GUEST_NICE]; in show_stat()
106 sum += kstat_cpu_irqs_sum(i); in show_stat()
107 sum += arch_irq_stat_cpu(i); in show_stat()
110 unsigned int softirq_stat = kstat_softirqs_cpu(j, i); in show_stat()
130 for_each_online_cpu(i) { in show_stat()
132 user = kcpustat_cpu(i).cpustat[CPUTIME_USER]; in show_stat()
133 nice = kcpustat_cpu(i).cpustat[CPUTIME_NICE]; in show_stat()
134 system = kcpustat_cpu(i).cpustat[CPUTIME_SYSTEM]; in show_stat()
135 idle = get_idle_time(i); in show_stat()
136 iowait = get_iowait_time(i); in show_stat()
137 irq = kcpustat_cpu(i).cpustat[CPUTIME_IRQ]; in show_stat()
138 softirq = kcpustat_cpu(i).cpustat[CPUTIME_SOFTIRQ]; in show_stat()
139 steal = kcpustat_cpu(i).cpustat[CPUTIME_STEAL]; in show_stat()
140 guest = kcpustat_cpu(i).cpustat[CPUTIME_GUEST]; in show_stat()
141 guest_nice = kcpustat_cpu(i).cpustat[CPUTIME_GUEST_NICE]; in show_stat()
142 seq_printf(p, "cpu%d", i); in show_stat()
175 for (i = 0; i < NR_SOFTIRQS; i++) in show_stat()
176 seq_put_decimal_ull(p, " ", per_softirq_sums[i]); in show_stat()