/arch/x86/kernel/ |
D | irq.c | 61 int j; in arch_show_interrupts() local 64 for_each_online_cpu(j) in arch_show_interrupts() 65 seq_printf(p, "%10u ", irq_stats(j)->__nmi_count); in arch_show_interrupts() 69 for_each_online_cpu(j) in arch_show_interrupts() 70 seq_printf(p, "%10u ", irq_stats(j)->apic_timer_irqs); in arch_show_interrupts() 74 for_each_online_cpu(j) in arch_show_interrupts() 75 seq_printf(p, "%10u ", irq_stats(j)->irq_spurious_count); in arch_show_interrupts() 78 for_each_online_cpu(j) in arch_show_interrupts() 79 seq_printf(p, "%10u ", irq_stats(j)->apic_perf_irqs); in arch_show_interrupts() 82 for_each_online_cpu(j) in arch_show_interrupts() [all …]
|
/arch/x86/boot/ |
D | mkcpustr.c | 22 int i, j; in main() local 28 for (j = 0; j < 32; j++) { in main() 29 str = x86_cap_flags[i*32+j]; in main() 31 if (i == NCAPINTS-1 && j == 31) { in main() 38 i, j, str); in main() 43 i, j, i, j, str); in main()
|
D | cpu.c | 37 int i, j; in show_cap_strs() local 42 for (j = 0; j < 32; j++) { in show_cap_strs() 44 (msg_strs[0] == i && msg_strs[1] < j)) { in show_cap_strs() 52 msg_strs[1] == j && in show_cap_strs() 56 printf("%d:%d ", i, j); in show_cap_strs() 64 for (j = 0; j < 32; j++) { in show_cap_strs() 66 printf("%d:%d ", i, j); in show_cap_strs()
|
/arch/mips/kvm/ |
D | stats.c | 52 int i, j; in kvm_mips_dump_stats() local 56 for (j = 0; j < N_MIPS_COPROC_SEL; j++) { in kvm_mips_dump_stats() 57 if (vcpu->arch.cop0->stat[i][j]) in kvm_mips_dump_stats() 58 kvm_info("%s[%d]: %lu\n", kvm_cop0_str[i], j, in kvm_mips_dump_stats() 59 vcpu->arch.cop0->stat[i][j]); in kvm_mips_dump_stats()
|
/arch/powerpc/platforms/powernv/ |
D | opal-powercap.c | 167 int j = 0; in opal_powercap_init() local 171 j++; in opal_powercap_init() 176 j++; in opal_powercap_init() 181 j++; in opal_powercap_init() 185 pcaps[i].pattrs = kcalloc(j, sizeof(struct powercap_attr), in opal_powercap_init() 190 pcaps[i].pg.attrs = kcalloc(j + 1, sizeof(struct attribute *), in opal_powercap_init() 197 j = 0; in opal_powercap_init() 201 &pcaps[i].pattrs[j]); in opal_powercap_init() 202 pcaps[i].pg.attrs[j] = &pcaps[i].pattrs[j].attr.attr; in opal_powercap_init() 203 j++; in opal_powercap_init() [all …]
|
/arch/powerpc/perf/ |
D | power6-pmu.c | 341 int i, j; in find_alternatives_list() local 347 for (j = 0; j < MAX_ALT; ++j) { in find_alternatives_list() 348 alt = event_alternatives[i][j]; in find_alternatives_list() 360 int i, j, nlim; in p6_get_alternatives() local 372 for (j = 0; j < MAX_ALT; ++j) { in p6_get_alternatives() 373 aevent = event_alternatives[i][j]; in p6_get_alternatives() 407 j = nalt; in p6_get_alternatives() 411 alt[j++] = 0x600005; /* PM_RUN_CYC */ in p6_get_alternatives() 415 alt[j++] = 0x1e; /* PM_CYC */ in p6_get_alternatives() 418 alt[j++] = 0x500009; /* PM_RUN_INST_CMPL */ in p6_get_alternatives() [all …]
|
D | power5+-pmu.c | 216 int i, j; in find_alternative() local 221 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) in find_alternative() 222 if (event == event_alternatives[i][j]) in find_alternative() 243 int pmc, altpmc, pp, j; in find_alternative_bdecode() local 250 for (j = 0; j < 4; ++j) { in find_alternative_bdecode() 251 if (bytedecode_alternatives[pmc - 1][j] == pp) { in find_alternative_bdecode() 254 bytedecode_alternatives[altpmc - 1][j]; in find_alternative_bdecode() 274 int i, j, nalt = 1; in power5p_get_alternatives() local 283 for (j = 0; j < MAX_ALT; ++j) { in power5p_get_alternatives() 284 ae = event_alternatives[i][j]; in power5p_get_alternatives() [all …]
|
D | mpc7450-pmu.c | 210 int i, j; in find_alternative() local 215 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) in find_alternative() 216 if (event == event_alternatives[i][j]) in find_alternative() 224 int i, j, nalt = 1; in mpc7450_get_alternatives() local 231 for (j = 0; j < MAX_ALT; ++j) { in mpc7450_get_alternatives() 232 ae = event_alternatives[i][j]; in mpc7450_get_alternatives() 265 int i, j, class, tuse; in mpc7450_compute_mmcr() local 280 j = n_classevent[class]++; in mpc7450_compute_mmcr() 281 event_index[class][j] = i; in mpc7450_compute_mmcr()
|
D | power7-pmu.c | 130 int i, j; in find_alternative() local 135 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) in find_alternative() 136 if (event == event_alternatives[i][j]) in find_alternative() 158 int i, j, nalt = 1; in power7_get_alternatives() local 165 for (j = 0; j < MAX_ALT; ++j) { in power7_get_alternatives() 166 ae = event_alternatives[i][j]; in power7_get_alternatives() 184 j = nalt; in power7_get_alternatives() 188 alt[j++] = 0x600f4; /* PM_RUN_CYC */ in power7_get_alternatives() 191 alt[j++] = 0x1e; in power7_get_alternatives() 194 alt[j++] = 0x500fa; /* PM_RUN_INST_CMPL */ in power7_get_alternatives() [all …]
|
/arch/x86/tools/ |
D | gen-insn-attr-x86.awk | 239 function convert_operands(count,opnd, i,j,imm,mod) 243 for (j = 1; j <= count; j++) { 244 i = opnd[j] 370 for (j = 0; j < max_lprefix; j++) 371 if (etable[i,j]) 372 print " ["i"]["j"] = "etable[i,j]"," 379 for (j = 0; j < max_lprefix; j++) 380 if (gtable[i,j]) 381 print " ["i"]["j"] = "gtable[i,j]"," 388 for (j = 0; j < max_lprefix; j++) [all …]
|
/arch/powerpc/kernel/ |
D | irq.c | 502 int j; in arch_show_interrupts() local 507 for_each_online_cpu(j) in arch_show_interrupts() 508 seq_printf(p, "%10u ", tau_interrupts(j)); in arch_show_interrupts() 514 for_each_online_cpu(j) in arch_show_interrupts() 515 seq_printf(p, "%10u ", per_cpu(irq_stat, j).timer_irqs_event); in arch_show_interrupts() 519 for_each_online_cpu(j) in arch_show_interrupts() 520 seq_printf(p, "%10u ", per_cpu(irq_stat, j).broadcast_irqs_event); in arch_show_interrupts() 524 for_each_online_cpu(j) in arch_show_interrupts() 525 seq_printf(p, "%10u ", per_cpu(irq_stat, j).timer_irqs_others); in arch_show_interrupts() 529 for_each_online_cpu(j) in arch_show_interrupts() [all …]
|
D | btext.c | 307 int i,j; in btext_clearscreen() local 313 for(j=width; j; --j) in btext_clearscreen() 325 int i,j; in btext_flushscreen() local 330 for(j = width; j > 0; j -= 8) { in btext_flushscreen() 344 int i,j; in btext_flushline() local 349 for(j = width; j > 0; j -= 8) { in btext_flushline() 366 int i,j; in scrollscreen() local 374 for(j=width; j; --j) in scrollscreen() 382 for(j=width; j; --j) in scrollscreen()
|
/arch/mips/netlogic/xlr/ |
D | fmn-config.c | 122 int i, j, num_core, n, credits_per_cpu; in setup_fmn_cc() local 139 for (j = 0; j < num_core; j++) in setup_fmn_cc() 140 cpu[j].credit_config[i] = credits_per_cpu; in setup_fmn_cc() 146 for (j = 0; (j < num_core) && (credits_per_cpu >= 4); j++) { in setup_fmn_cc() 147 cpu[j].credit_config[i] += 4; in setup_fmn_cc() 154 for (j = 0; j < FMN_CORE_NBUCKETS; j++) in setup_fmn_cc() 155 dev_info->credit_config[(i * 8) + j] = cpu_credits; in setup_fmn_cc() 165 int i, j; in setup_cpu_fmninfo() local 171 for (j = cpu[i].start_stn_id; j < cpu[i].end_stn_id; j++) in setup_cpu_fmninfo() 172 xlr_board_fmn_config.bucket_size[j] = 32; in setup_cpu_fmninfo()
|
D | wakeup.c | 54 unsigned int i, j, boot_cpu; in xlr_wakeup_secondary_cpus() local 73 for (j = 1000000; j > 0; j--) { in xlr_wakeup_secondary_cpus() 78 if (j != 0) in xlr_wakeup_secondary_cpus()
|
/arch/alpha/kernel/ |
D | perf_event.c | 393 int j; in maybe_change_configuration() local 399 for (j = 0; j < cpuc->n_events; j++) { in maybe_change_configuration() 400 struct perf_event *pe = cpuc->event[j]; in maybe_change_configuration() 402 if (cpuc->current_idx[j] != PMC_NO_INDEX && in maybe_change_configuration() 403 cpuc->current_idx[j] != pe->hw.idx) { in maybe_change_configuration() 404 alpha_perf_event_update(pe, &pe->hw, cpuc->current_idx[j], 0); in maybe_change_configuration() 405 cpuc->current_idx[j] = PMC_NO_INDEX; in maybe_change_configuration() 411 for (j = 0; j < cpuc->n_events; j++) { in maybe_change_configuration() 412 struct perf_event *pe = cpuc->event[j]; in maybe_change_configuration() 416 if (cpuc->current_idx[j] == PMC_NO_INDEX) { in maybe_change_configuration() [all …]
|
/arch/s390/appldata/ |
D | appldata_os.c | 98 int i, j, rc; in appldata_get_os_data() local 112 j = 0; in appldata_get_os_data() 114 os_data->os_cpu[j].per_cpu_user = in appldata_get_os_data() 116 os_data->os_cpu[j].per_cpu_nice = in appldata_get_os_data() 118 os_data->os_cpu[j].per_cpu_system = in appldata_get_os_data() 120 os_data->os_cpu[j].per_cpu_idle = in appldata_get_os_data() 122 os_data->os_cpu[j].per_cpu_irq = in appldata_get_os_data() 124 os_data->os_cpu[j].per_cpu_softirq = in appldata_get_os_data() 126 os_data->os_cpu[j].per_cpu_iowait = in appldata_get_os_data() 128 os_data->os_cpu[j].per_cpu_steal = in appldata_get_os_data() [all …]
|
/arch/arm64/kernel/ |
D | cpuinfo.c | 129 int i, j; in c_show() local 159 for (j = 0; compat_hwcap_str[j]; j++) in c_show() 160 if (compat_elf_hwcap & (1 << j)) in c_show() 161 seq_printf(m, " %s", compat_hwcap_str[j]); in c_show() 163 for (j = 0; compat_hwcap2_str[j]; j++) in c_show() 164 if (compat_elf_hwcap2 & (1 << j)) in c_show() 165 seq_printf(m, " %s", compat_hwcap2_str[j]); in c_show() 168 for (j = 0; hwcap_str[j]; j++) in c_show() 169 if (cpu_have_feature(j)) in c_show() 170 seq_printf(m, " %s", hwcap_str[j]); in c_show()
|
/arch/x86/crypto/ |
D | serpent_sse2_glue.c | 37 unsigned int j; in serpent_decrypt_cbc_xway() local 39 for (j = 0; j < SERPENT_PARALLEL_BLOCKS - 1; j++) in serpent_decrypt_cbc_xway() 40 ivs[j] = src[j]; in serpent_decrypt_cbc_xway() 44 for (j = 0; j < SERPENT_PARALLEL_BLOCKS - 1; j++) in serpent_decrypt_cbc_xway() 45 u128_xor(dst + (j + 1), dst + (j + 1), ivs + j); in serpent_decrypt_cbc_xway()
|
/arch/x86/platform/intel-mid/ |
D | pwr.c | 187 unsigned int j; in __find_weakest_power_state() local 190 for (j = 0; j < LSS_MAX_SHARED_DEVS; j++) { in __find_weakest_power_state() 191 if (lss[j].pdev == pdev || !lss[j].pdev) in __find_weakest_power_state() 196 if (j < LSS_MAX_SHARED_DEVS) { in __find_weakest_power_state() 197 lss[j].pdev = pdev; in __find_weakest_power_state() 198 lss[j].state = state; in __find_weakest_power_state() 205 for (j = 0; j < LSS_MAX_SHARED_DEVS; j++) { in __find_weakest_power_state() 206 if (lss[j].state < weakest) in __find_weakest_power_state() 207 weakest = lss[j].state; in __find_weakest_power_state() 400 unsigned int i, j; in mid_set_initial_state() local [all …]
|
/arch/sparc/include/asm/ |
D | syscall.h | 102 unsigned int j; in syscall_get_arguments() local 110 for (j = 0; j < n; j++) { in syscall_get_arguments() 111 unsigned long val = regs->u_regs[UREG_I0 + j]; in syscall_get_arguments() 114 args[j] = (u32) val; in syscall_get_arguments() 116 args[j] = val; in syscall_get_arguments()
|
/arch/parisc/kernel/ |
D | irq.c | 153 int j; in arch_show_interrupts() local 157 for_each_online_cpu(j) in arch_show_interrupts() 158 seq_printf(p, "%10u ", irq_stats(j)->kernel_stack_usage); in arch_show_interrupts() 162 for_each_online_cpu(j) in arch_show_interrupts() 163 seq_printf(p, "%10u ", irq_stats(j)->irq_stack_usage); in arch_show_interrupts() 170 for_each_online_cpu(j) in arch_show_interrupts() 171 seq_printf(p, "%10u ", irq_stats(j)->irq_resched_count); in arch_show_interrupts() 174 for_each_online_cpu(j) in arch_show_interrupts() 175 seq_printf(p, "%10u ", irq_stats(j)->irq_call_count); in arch_show_interrupts() 180 for_each_online_cpu(j) in arch_show_interrupts() [all …]
|
/arch/arm/mach-omap2/ |
D | sr_device.c | 36 int i, j, count = 0; in sr_set_nvalues() local 48 for (i = 0, j = 0; i < count; i++) { in sr_set_nvalues() 77 nvalue_table[j].nvalue = v; in sr_set_nvalues() 78 nvalue_table[j].efuse_offs = volt_data[i].sr_efuse_offs; in sr_set_nvalues() 79 nvalue_table[j].errminlimit = volt_data[i].sr_errminlimit; in sr_set_nvalues() 80 nvalue_table[j].volt_nominal = volt_data[i].volt_nominal; in sr_set_nvalues() 82 j++; in sr_set_nvalues() 86 sr_data->nvalue_count = j; in sr_set_nvalues()
|
/arch/s390/boot/ |
D | als.c | 67 int i, j, first; in print_missing_facilities() local 72 for (j = 0; j < BITS_PER_LONG; j++) { in print_missing_facilities() 73 if (!(val & (1UL << (BITS_PER_LONG - 1 - j)))) in print_missing_facilities() 87 u16_to_decimal(val_str, i * BITS_PER_LONG + j); in print_missing_facilities()
|
/arch/ia64/kernel/ |
D | palinfo.c | 129 int i,j; in bitvector_process() local 132 for (i=0, j=0; i < 64; i++ , j=i/10) { in bitvector_process() 134 seq_printf(m, "%d%s ", 1 << (i-j*10), units[j]); in bitvector_process() 216 int j, k; in cache_info() local 228 for (j=2; j >0 ; j--) { in cache_info() 230 if ((status=ia64_pal_cache_config_info(i,j, &cci)) != 0) in cache_info() 237 cache_types[j+cci.pcci_unified], i+1, in cache_info() 252 if (j == 1) in cache_info() 299 int i, j; in vm_info() local 379 for (j=2; j>0 ; j--) { in vm_info() [all …]
|
D | topology.c | 143 unsigned int j; in cache_shared_cpu_map_setup() local 159 for_each_possible_cpu(j) in cache_shared_cpu_map_setup() 160 if (cpu_data(cpu)->socket_id == cpu_data(j)->socket_id in cache_shared_cpu_map_setup() 161 && cpu_data(j)->core_id == csi.log1_cid in cache_shared_cpu_map_setup() 162 && cpu_data(j)->thread_id == csi.log1_tid) in cache_shared_cpu_map_setup() 163 cpumask_set_cpu(j, &this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup() 308 int j; in cpu_cache_sysfs_init() local 324 for (j=2; j >0 ; j--) { in cpu_cache_sysfs_init() 325 if ((status=ia64_pal_cache_config_info(i,j, &cci)) != in cpu_cache_sysfs_init() 331 this_cache[num_cache_leaves].type = j; in cpu_cache_sysfs_init() [all …]
|