Home
last modified time | relevance | path

Searched refs:nr_cores (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/macintosh/
H A Dwindfarm_pm112.c104 static int nr_cores; variable
164 fmin = (nr_cores > 2) ? 750 : 515; in create_cpu_loop()
279 for (cpu = 0; cpu < nr_cores; ++cpu) { in cpu_fans_tick()
324 for (cpu = 0; cpu < nr_cores; ++cpu) in cpu_fans_tick()
517 for (i = 0; i < nr_cores; ++i) { in pm112_tick()
631 for (i = 0; i < nr_cores; ++i) in pm112_new_sensor()
686 nr_cores = 0; in wf_pm112_init()
688 ++nr_cores; in wf_pm112_init()
/linux/arch/powerpc/perf/
H A Dimc-pmu.c1566 int i, nr_cores = DIV_ROUND_UP(num_possible_cpus(), threads_per_core); in cleanup_all_core_imc_memory()
1571 for (i = 0; i < nr_cores; i++) { in cleanup_all_core_imc_memory()
1683 int nr_cores, cpu, res = -ENOMEM; in imc_mem_init()
1710 nr_cores = DIV_ROUND_UP(num_possible_cpus(), threads_per_core); in imc_mem_init()
1711 pmu_ptr->mem_info = kzalloc_objs(struct imc_mem_info, nr_cores); in imc_mem_init()
1716 core_imc_refc = kzalloc_objs(struct imc_pmu_ref, nr_cores); in imc_mem_init()
1748 nr_cores = DIV_ROUND_UP(num_possible_cpus(), threads_per_core); in imc_mem_init()
1749 trace_imc_refc = kzalloc_objs(struct imc_pmu_ref, nr_cores); in imc_mem_init()
1565 int i, nr_cores = DIV_ROUND_UP(num_possible_cpus(), threads_per_core); cleanup_all_core_imc_memory() local
1682 int nr_cores, cpu, res = -ENOMEM; imc_mem_init() local
/linux/kernel/sched/ext/
H A Dcid.c61 u32 nr_cores = 0, nr_cpus = 0, nr_shards; in calc_shard_layout() local
67 nr_cores++; in calc_shard_layout()
74 *cores_per_shard_p = nr_cores / nr_shards; in calc_shard_layout()
75 *nr_large_p = nr_cores % nr_shards; in calc_shard_layout()
/linux/drivers/bcma/
H A Dscan.c464 if (bus->nr_cores) in bcma_bus_scan()
505 bus->nr_cores++; in bcma_bus_scan()
H A Dmain.c273 bus->nr_cores = 0; in bcma_init_bus()
/linux/kernel/
H A Dworkqueue.c8422 int nr_cores = 0, c; in llc_count_cores() local
8431 nr_cores++; in llc_count_cores()
8434 return nr_cores; in llc_count_cores()
8456 * @nr_cores: number of distinct cores in the LLC pod
8462 static struct llc_shard_layout __init llc_calc_shard_layout(int nr_cores) in llc_calc_shard_layout() argument
8467 layout.nr_shards = max(1, DIV_ROUND_CLOSEST(nr_cores, wq_cache_shard_size)); in llc_calc_shard_layout()
8468 layout.cores_per_shard = nr_cores / layout.nr_shards; in llc_calc_shard_layout()
8469 layout.nr_large_shards = nr_cores % layout.nr_shards; in llc_calc_shard_layout()
8493 * @nr_cores: number of distinct cores in @pod_cpus (from llc_count_cores())
8500 int nr_cores) in llc_populate_cpu_shard_id() argument
8556 int nr_cores; precompute_cache_shard_ids() local
[all...]
/linux/include/linux/bcma/
H A Dbcma.h352 u8 nr_cores; member
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Daiutils.c447 if (cc->bus->nr_cores == 0) in ai_buscore_setup()
/linux/arch/powerpc/kvm/
H A Dbook3s_hv.c6643 int nr_cores = cpu_nr_cores(); in kvm_init_subcore_bitmap()
6646 for (i = 0; i < nr_cores; i++) { in kvm_init_subcore_bitmap()
6645 int nr_cores = cpu_nr_cores(); kvm_init_subcore_bitmap() local