Searched refs:cpu_count (Results 1 - 27 of 27) sorted by relevance

/linux-4.1.27/tools/power/cpupower/utils/idle_monitor/
H A Dcpuidle_sysfs.c50 for (cpu = 0; cpu < cpu_count; cpu++) { cpuidle_start()
69 for (cpu = 0; cpu < cpu_count; cpu++) { cpuidle_stop()
162 previous_count = malloc(sizeof(long long *) * cpu_count); cpuidle_register()
163 current_count = malloc(sizeof(long long *) * cpu_count); cpuidle_register()
164 for (num = 0; num < cpu_count; num++) { cpuidle_register()
179 for (num = 0; num < cpu_count; num++) { cpuidle_unregister()
H A Dhsw_ext_idle.c121 for (cpu = 0; cpu < cpu_count; cpu++) { hsw_ext_start()
138 for (cpu = 0; cpu < cpu_count; cpu++) { hsw_ext_stop()
163 is_valid = calloc(cpu_count, sizeof(int)); hsw_ext_register()
165 previous_count[num] = calloc(cpu_count, hsw_ext_register()
167 current_count[num] = calloc(cpu_count, hsw_ext_register()
H A Dnhm_idle.c135 for (cpu = 0; cpu < cpu_count; cpu++) { nhm_start()
154 for (cpu = 0; cpu < cpu_count; cpu++) { nhm_stop()
181 is_valid = calloc(cpu_count, sizeof(int)); intel_nhm_register()
183 previous_count[num] = calloc(cpu_count, intel_nhm_register()
185 current_count[num] = calloc(cpu_count, intel_nhm_register()
H A Dsnb_idle.c118 for (cpu = 0; cpu < cpu_count; cpu++) { snb_start()
135 for (cpu = 0; cpu < cpu_count; cpu++) { snb_stop()
167 is_valid = calloc(cpu_count, sizeof(int)); snb_register()
169 previous_count[num] = calloc(cpu_count, snb_register()
171 current_count[num] = calloc(cpu_count, snb_register()
H A Dmperf_monitor.c194 for (cpu = 0; cpu < cpu_count; cpu++) mperf_start()
207 for (cpu = 0; cpu < cpu_count; cpu++) mperf_stop()
307 is_valid = calloc(cpu_count, sizeof(int)); mperf_register()
308 mperf_previous_count = calloc(cpu_count, sizeof(unsigned long long)); mperf_register()
309 aperf_previous_count = calloc(cpu_count, sizeof(unsigned long long)); mperf_register()
310 mperf_current_count = calloc(cpu_count, sizeof(unsigned long long)); mperf_register()
311 aperf_current_count = calloc(cpu_count, sizeof(unsigned long long)); mperf_register()
H A Dcpupower-monitor.c321 for (cpu = 0; cpu < cpu_count; cpu++) do_interval_measure()
333 for (cpu = 0; cpu < cpu_count; cpu++) do_interval_measure()
385 cpu_count = get_cpu_topology(&cpu_top); cmd_monitor()
386 if (cpu_count < 0) { cmd_monitor()
395 dprint("System has up to %d CPU cores\n", cpu_count); cmd_monitor()
426 cpu_top.pkgs, cpu_top.cores, cpu_count); cmd_monitor()
443 for (cpu = 0; cpu < cpu_count; cpu++) { cmd_monitor()
H A Damd_fam14h_idle.c234 for (cpu = 0; cpu < cpu_count; cpu++) amd_fam14h_start()
254 for (cpu = 0; cpu < cpu_count; cpu++) amd_fam14h_stop()
295 previous_count[num] = calloc(cpu_count, amd_fam14h_register()
297 current_count[num] = calloc(cpu_count, amd_fam14h_register()
H A Dcpupower-monitor.h21 int cpu_count; variable
/linux-4.1.27/arch/s390/hypfs/
H A Dhypfs_diag0c.c44 unsigned int cpu_count, cpu, i; diag0c_store() local
48 cpu_count = num_online_cpus(); diag0c_store()
54 cpu_count * sizeof(struct hypfs_diag0c_entry), diag0c_store()
66 *count = cpu_count;
/linux-4.1.27/arch/arm/mach-axxia/
H A Dplatsmp.c58 int cpu_count = 0; axxia_smp_prepare_cpus() local
75 if (cpu_count < max_cpus) { for_each_possible_cpu()
77 cpu_count++; for_each_possible_cpu()
/linux-4.1.27/arch/tile/kernel/
H A Dsmpboot.c59 int cpu, cpu_count; smp_prepare_cpus() local
84 cpu_count = 1; smp_prepare_cpus()
112 ++cpu_count; smp_prepare_cpus()
114 BUG_ON(cpu_count > (max_cpus ? max_cpus : 1)); smp_prepare_cpus()
/linux-4.1.27/tools/testing/selftests/rcutorture/bin/
H A Dkvm.sh183 cpu_count=`configNR_CPUS.sh $CONFIGFRAG/$CF`
184 cpu_count=`configfrag_boot_cpus "$TORTURE_BOOTARGS" "$CONFIGFRAG/$CF" "$cpu_count"`
185 echo $CF $cpu_count >> $T/cfgcpu
/linux-4.1.27/arch/parisc/kernel/
H A Dprocessor.c107 if (boot_cpu_data.cpu_count > 0) { processor_probe()
116 cpuid = boot_cpu_data.cpu_count; processor_probe()
163 boot_cpu_data.cpu_count--; processor_probe()
173 boot_cpu_data.cpu_count++; processor_probe()
/linux-4.1.27/arch/ia64/include/asm/
H A Dsmp.h54 int cpu_count; member in struct:smp_boot_data
/linux-4.1.27/arch/arm64/kernel/
H A Dinsn.c195 atomic_t cpu_count; member in struct:aarch64_insn_patch
204 if (atomic_inc_return(&pp->cpu_count) == 1) { aarch64_insn_patch_text_cb()
214 atomic_inc(&pp->cpu_count); aarch64_insn_patch_text_cb()
216 while (atomic_read(&pp->cpu_count) <= num_online_cpus()) aarch64_insn_patch_text_cb()
230 .cpu_count = ATOMIC_INIT(0), aarch64_insn_patch_text_sync()
/linux-4.1.27/kernel/
H A Ddelayacct.c109 d->cpu_count += t1; __delayacct_add_tsk()
/linux-4.1.27/Documentation/accounting/
H A Dgetdelays.c208 (unsigned long long)t->cpu_count, print_delayacct()
212 average_ms((double)t->cpu_delay_total, t->cpu_count), print_delayacct()
/linux-4.1.27/include/uapi/linux/
H A Dtaskstats.h71 __u64 cpu_count __attribute__((aligned(8))); member in struct:taskstats
/linux-4.1.27/arch/ia64/kernel/
H A Dacpi.c685 smp_boot_data.cpu_count = available_cpus; early_acpi_boot_init()
760 for (cpu = 0; cpu < smp_boot_data.cpu_count; cpu++) acpi_boot_init()
H A Dsmpboot.c520 for (cpu = 1, i = 0; i < smp_boot_data.cpu_count; i++) { smp_build_cpu_map()
/linux-4.1.27/arch/parisc/include/asm/
H A Dprocessor.h74 unsigned int cpu_count; member in struct:system_cpuinfo_parisc
/linux-4.1.27/drivers/scsi/mpt2sas/
H A Dmpt2sas_base.h662 * @cpu_count: number online cpus
807 int cpu_count; member in struct:MPT2SAS_ADAPTER
H A Dmpt2sas_base.c1450 ioc->reply_queue_count = min_t(int, ioc->cpu_count, _base_enable_msix()
1465 ioc->name, ioc->msix_vector_count, ioc->cpu_count, max_msix_vectors); _base_enable_msix()
4476 ioc->cpu_count = num_online_cpus(); mpt2sas_base_attach()
/linux-4.1.27/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.h595 * @cpu_count: number online cpus
740 int cpu_count; member in struct:MPT3SAS_ADAPTER
H A Dmpt3sas_base.c1734 ioc->reply_queue_count = min_t(int, ioc->cpu_count, _base_enable_msix()
1739 ioc->cpu_count, max_msix_vectors); _base_enable_msix()
4608 ioc->cpu_count = num_online_cpus(); mpt3sas_base_attach()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/
H A Dqlge_main.c4113 * Essentially, we are doing min(cpu_count, msix_vector_count). ql_configure_rings()
/linux-4.1.27/arch/sparc/include/asm/
H A Dhypervisor.h397 unsigned long sun4v_cpu_mondo_send(unsigned long cpu_count,

Completed in 1897 milliseconds