Home
last modified time | relevance | path

Searched refs:num_possible_cpus (Results 1 – 25 of 157) sorted by relevance

1234567

/linux/include/trace/events/
A Dthermal.h102 __bitmask(cpumask, num_possible_cpus())
111 num_possible_cpus());
132 __bitmask(cpumask, num_possible_cpus())
140 num_possible_cpus());
/linux/drivers/irqchip/
A Dirq-ompic.c165 if (resource_size(&res) < (num_possible_cpus() * OMPIC_CPUBYTES)) { in ompic_of_init()
168 (num_possible_cpus() * OMPIC_CPUBYTES)); in ompic_of_init()
/linux/drivers/clocksource/
A Dingenic-timer.c290 tcu = kzalloc(struct_size(tcu, timers, num_possible_cpus()), in ingenic_tcu_init()
300 num_possible_cpus() + 1); in ingenic_tcu_init()
306 soc_info->num_channels - num_possible_cpus() + 1) { in ingenic_tcu_init()
317 for (cpu = 0; cpu < num_possible_cpus(); cpu++) { in ingenic_tcu_init()
/linux/arch/ia64/mm/
A Dcontig.c83 size_t size = PERCPU_PAGE_SIZE * num_possible_cpus(); in alloc_per_cpu_data()
108 ai = pcpu_alloc_alloc_info(1, num_possible_cpus()); in setup_per_cpu_areas()
A Dtlb.c205 need_ptcg_sem = num_possible_cpus() > nptcg; in setup_ptcg_sem()
224 need_ptcg_sem = (num_possible_cpus() > nptcg); in setup_ptcg_sem()
241 need_ptcg_sem = (num_possible_cpus() > nptcg); in setup_ptcg_sem()
/linux/drivers/nvdimm/
A Dregion.c20 && nd_region->num_lanes < num_possible_cpus() in nd_region_probe()
24 num_possible_cpus()); in nd_region_probe()
/linux/samples/trace_events/
A Dtrace-events-sample.h268 __bitmask( cpus, num_possible_cpus() )
277 __assign_bitmask(cpus, cpumask_bits(mask), num_possible_cpus());
/linux/drivers/hv/
A Dhv_common.c100 hv_vp_index = kmalloc_array(num_possible_cpus(), sizeof(*hv_vp_index), in hv_common_init()
107 for (i = 0; i < num_possible_cpus(); i++) in hv_common_init()
/linux/drivers/cpufreq/
A Darmada-8k-cpufreq.c97 int opps_index, nb_cpus = num_possible_cpus(); in armada_8k_cpufreq_free_table()
137 nb_cpus = num_possible_cpus(); in armada_8k_cpufreq_init()
A Dqcom-cpufreq-nvmem.c318 drv->names_opp_tables = kcalloc(num_possible_cpus(), in qcom_cpufreq_probe()
325 drv->hw_opp_tables = kcalloc(num_possible_cpus(), in qcom_cpufreq_probe()
333 drv->genpd_opp_tables = kcalloc(num_possible_cpus(), in qcom_cpufreq_probe()
/linux/arch/sparc/kernel/
A Dcpumap.c138 for (i = 0; i < num_possible_cpus(); i++) { in enumerate_cpuinfo_nodes()
233 for (last_cpu = (num_possible_cpus() - 1); last_cpu >= 0; last_cpu--) { in build_cpuinfo_tree()
381 for (i = 0; i < num_possible_cpus(); i++) { in simple_map_to_cpu()
/linux/drivers/platform/x86/intel/speed_select_if/
A Disst_if_common.c300 cpu >= num_possible_cpus()) in _isst_if_get_pci_dev()
365 cpu >= num_possible_cpus()) in isst_if_get_pci_dev()
414 isst_cpu_info = kcalloc(num_possible_cpus(), in isst_if_cpu_info_init()
445 cpu_map->logical_cpu >= num_possible_cpus()) in isst_if_proc_phyid_req()
/linux/arch/x86/kernel/
A Di8253.c60 if (num_possible_cpus() > 1 || is_hpet_enabled() || in init_pit_clocksource()
A Dkvmclock.c208 if (HVC_BOOT_ARRAY_SIZE >= num_possible_cpus()) in kvmclock_init_mem()
211 ncpus = num_possible_cpus() - HVC_BOOT_ARRAY_SIZE; in kvmclock_init_mem()
/linux/arch/mips/kernel/
A Di8253.c32 if (num_possible_cpus() > 1 || /* PIT does not scale! */ in init_pit_clocksource()
/linux/arch/microblaze/include/asm/
A Dfixmap.h50 FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_MAX_IDX * num_possible_cpus()) - 1,
/linux/arch/csky/mm/
A Dcontext.c31 BUG_ON(((1 << CONFIG_CPU_ASID_BITS) - 1) <= num_possible_cpus()); in asids_init()
/linux/arch/s390/pci/
A Dpci_irq.c419 zpci_sbv = airq_iv_create(num_possible_cpus(), 0); in zpci_directed_irq_init()
424 iib.diib.nr_cpus = num_possible_cpus(); in zpci_directed_irq_init()
428 zpci_ibv = kcalloc(num_possible_cpus(), sizeof(*zpci_ibv), in zpci_directed_irq_init()
/linux/kernel/
A Dreboot.c642 if (cpu >= num_possible_cpus()) { in reboot_setup()
645 cpu, num_possible_cpus()); in reboot_setup()
847 if (cpunum >= num_possible_cpus()) in cpu_store()
/linux/mm/
A Dpercpu.c1659 size * num_possible_cpus()); in pcpu_memcg_post_alloc_hook()
1662 obj_cgroup_uncharge(objcg, size * num_possible_cpus()); in pcpu_memcg_post_alloc_hook()
1679 obj_cgroup_uncharge(objcg, size * num_possible_cpus()); in pcpu_memcg_free_hook()
1683 -(size * num_possible_cpus())); in pcpu_memcg_free_hook()
2498 v = num_possible_cpus(); in pcpu_dump_alloc_info()
2942 if (wasted > num_possible_cpus() / 3) in pcpu_build_alloc_info()
3181 nr_g0_units = roundup(num_possible_cpus(), upa); in pcpu_page_first_chunk()
3190 pages_size = PFN_ALIGN(unit_pages * num_possible_cpus() * in pcpu_page_first_chunk()
3199 for (unit = 0; unit < num_possible_cpus(); unit++) { in pcpu_page_first_chunk()
3218 vm.size = num_possible_cpus() * ai->unit_size; in pcpu_page_first_chunk()
[all …]
/linux/arch/arm64/mm/
A Dcontext.c387 WARN_ON(num_available_asids - 1 <= num_possible_cpus()); in asids_update_limit()
396 max_pinned_asids = num_available_asids - num_possible_cpus() - 2; in asids_update_limit()
/linux/lib/
A Dbucket_locks.c23 unsigned int nr_pcpus = num_possible_cpus(); in __alloc_bucket_spinlocks()
/linux/drivers/thermal/intel/
A Dintel_powerclamp.c559 if (bitmap_weight(cpu_clamping_mask, num_possible_cpus())) { in end_power_clamp()
560 for_each_set_bit(i, cpu_clamping_mask, num_possible_cpus()) { in end_power_clamp()
709 cpu_clamping_mask = bitmap_zalloc(num_possible_cpus(), GFP_KERNEL); in powerclamp_init()
/linux/drivers/gpu/drm/i810/
A Di810_drv.c83 if (num_possible_cpus() > 1) { in i810_init()
/linux/drivers/hwtracing/stm/
A Dftrace.c68 stm_ftrace.data.nr_chans = roundup_pow_of_two(num_possible_cpus()); in stm_ftrace_init()

Completed in 36 milliseconds

1234567