Lines Matching refs:col
94 size_t row, col, len;
139 row = col = 0;
148 irq_stats[row * nr_cpus + col] = acc;
150 col++;
156 col = 0;
167 if (acc == -1 || col != 0)
182 for (col = 0; col < nr_cpus; col++) {
186 cpu_total += irq_stats[row * nr_cpus + col];
188 irq_stats[row * nr_cpus + col] = cpu_total;
199 col = 0;
202 if (col > nr_cpus) {
225 for (bit = 0; bit < 4 && col < nr_cpus; bit++) {
226 irq_affinity[row * nr_cpus + col++] =
231 if (col < nr_cpus) {
233 tst_brk(TBROK, "Only found %zu cpus", col);
240 size_t row, col;
245 for (col = 0; col < nr_cpus; col++)
246 tst_printf("CPU%-8zu", col);
253 for (col = 0; col < nr_cpus; col++) {
254 count = irq_stats[row * nr_cpus + col];
255 aff = irq_affinity[row * nr_cpus + col];
265 for (col = 0; col < nr_cpus; col++)
266 tst_printf("%10u ", irq_stats[row * nr_cpus + col]);
273 size_t row, col, changed = 0;
276 for (col = 0; col < nr_cpus; col++) {
277 if (!irq_stats[row * nr_cpus + col])
280 if (irq_affinity[row * nr_cpus + col] == ALLOW)