Lines Matching refs:p
57 static void show_irq_gap(struct seq_file *p, unsigned int gap) in show_irq_gap() argument
65 seq_write(p, zeros, 2 * inc); in show_irq_gap()
70 static void show_all_irqs(struct seq_file *p) in show_all_irqs() argument
75 show_irq_gap(p, i - next); in show_all_irqs()
76 seq_put_decimal_ull(p, " ", kstat_irqs_usr(i)); in show_all_irqs()
79 show_irq_gap(p, nr_irqs - next); in show_all_irqs()
82 static int show_stat(struct seq_file *p, void *v) in show_stat() argument
127 seq_put_decimal_ull(p, "cpu ", nsec_to_clock_t(user)); in show_stat()
128 seq_put_decimal_ull(p, " ", nsec_to_clock_t(nice)); in show_stat()
129 seq_put_decimal_ull(p, " ", nsec_to_clock_t(system)); in show_stat()
130 seq_put_decimal_ull(p, " ", nsec_to_clock_t(idle)); in show_stat()
131 seq_put_decimal_ull(p, " ", nsec_to_clock_t(iowait)); in show_stat()
132 seq_put_decimal_ull(p, " ", nsec_to_clock_t(irq)); in show_stat()
133 seq_put_decimal_ull(p, " ", nsec_to_clock_t(softirq)); in show_stat()
134 seq_put_decimal_ull(p, " ", nsec_to_clock_t(steal)); in show_stat()
135 seq_put_decimal_ull(p, " ", nsec_to_clock_t(guest)); in show_stat()
136 seq_put_decimal_ull(p, " ", nsec_to_clock_t(guest_nice)); in show_stat()
137 seq_putc(p, '\n'); in show_stat()
156 seq_printf(p, "cpu%d", i); in show_stat()
157 seq_put_decimal_ull(p, " ", nsec_to_clock_t(user)); in show_stat()
158 seq_put_decimal_ull(p, " ", nsec_to_clock_t(nice)); in show_stat()
159 seq_put_decimal_ull(p, " ", nsec_to_clock_t(system)); in show_stat()
160 seq_put_decimal_ull(p, " ", nsec_to_clock_t(idle)); in show_stat()
161 seq_put_decimal_ull(p, " ", nsec_to_clock_t(iowait)); in show_stat()
162 seq_put_decimal_ull(p, " ", nsec_to_clock_t(irq)); in show_stat()
163 seq_put_decimal_ull(p, " ", nsec_to_clock_t(softirq)); in show_stat()
164 seq_put_decimal_ull(p, " ", nsec_to_clock_t(steal)); in show_stat()
165 seq_put_decimal_ull(p, " ", nsec_to_clock_t(guest)); in show_stat()
166 seq_put_decimal_ull(p, " ", nsec_to_clock_t(guest_nice)); in show_stat()
167 seq_putc(p, '\n'); in show_stat()
169 seq_put_decimal_ull(p, "intr ", (unsigned long long)sum); in show_stat()
171 show_all_irqs(p); in show_stat()
173 seq_printf(p, in show_stat()
185 seq_put_decimal_ull(p, "softirq ", (unsigned long long)sum_softirq); in show_stat()
188 seq_put_decimal_ull(p, " ", per_softirq_sums[i]); in show_stat()
189 seq_putc(p, '\n'); in show_stat()