| /Linux-v5.4/include/trace/events/ |
| D | thermal.h | 102 __bitmask(cpumask, num_possible_cpus()) 111 num_possible_cpus()); 132 __bitmask(cpumask, num_possible_cpus()) 140 num_possible_cpus());
|
| /Linux-v5.4/drivers/irqchip/ |
| D | irq-ompic.c | 165 if (resource_size(&res) < (num_possible_cpus() * OMPIC_CPUBYTES)) { in ompic_of_init() 168 (num_possible_cpus() * OMPIC_CPUBYTES)); in ompic_of_init()
|
| /Linux-v5.4/arch/ia64/mm/ |
| D | contig.c | 87 size_t size = PERCPU_PAGE_SIZE * num_possible_cpus(); in alloc_per_cpu_data() 112 ai = pcpu_alloc_alloc_info(1, num_possible_cpus()); in setup_per_cpu_areas()
|
| D | tlb.c | 206 need_ptcg_sem = num_possible_cpus() > nptcg; in setup_ptcg_sem() 225 need_ptcg_sem = (num_possible_cpus() > nptcg); in setup_ptcg_sem() 242 need_ptcg_sem = (num_possible_cpus() > nptcg); in setup_ptcg_sem()
|
| /Linux-v5.4/drivers/nvdimm/ |
| D | region.c | 20 && nd_region->num_lanes < num_possible_cpus() in nd_region_probe() 24 num_possible_cpus()); in nd_region_probe()
|
| /Linux-v5.4/arch/x86/hyperv/ |
| D | hv_init.c | 275 hv_vp_index = kmalloc_array(num_possible_cpus(), sizeof(*hv_vp_index), in hyperv_init() 280 for (i = 0; i < num_possible_cpus(); i++) in hyperv_init() 283 hv_vp_assist_page = kcalloc(num_possible_cpus(), in hyperv_init()
|
| /Linux-v5.4/samples/trace_events/ |
| D | trace-events-sample.h | 241 __bitmask( cpus, num_possible_cpus() ) 250 __assign_bitmask(cpus, cpumask_bits(mask), num_possible_cpus());
|
| /Linux-v5.4/drivers/cpufreq/ |
| D | armada-8k-cpufreq.c | 97 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()
|
| D | qcom-cpufreq-nvmem.c | 193 drv->opp_tables = kcalloc(num_possible_cpus(), sizeof(*drv->opp_tables), in qcom_cpufreq_probe() 200 drv->genpd_opp_tables = kcalloc(num_possible_cpus(), in qcom_cpufreq_probe()
|
| /Linux-v5.4/arch/x86/kernel/ |
| D | i8253.c | 60 if (num_possible_cpus() > 1 || is_hpet_enabled() || in init_pit_clocksource()
|
| D | kvmclock.c | 231 if (HVC_BOOT_ARRAY_SIZE >= num_possible_cpus()) in kvmclock_init_mem() 234 ncpus = num_possible_cpus() - HVC_BOOT_ARRAY_SIZE; in kvmclock_init_mem()
|
| D | apb_timer.c | 321 if (num_possible_cpus() <= sfi_mtimer_num) in apbt_time_init() 322 apbt_num_timers_used = num_possible_cpus(); in apbt_time_init()
|
| /Linux-v5.4/arch/mips/kernel/ |
| D | i8253.c | 35 if (num_possible_cpus() > 1 || /* PIT does not scale! */ in init_pit_clocksource()
|
| D | rtlx-cmp.c | 57 if (num_possible_cpus() - aprp_cpu_index() < 1) { in rtlx_module_init()
|
| /Linux-v5.4/arch/microblaze/include/asm/ |
| D | fixmap.h | 53 FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_TYPE_NR * num_possible_cpus()) - 1,
|
| /Linux-v5.4/arch/sparc/kernel/ |
| D | cpumap.c | 138 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-v5.4/arch/csky/mm/ |
| D | context.c | 31 BUG_ON(((1 << CONFIG_CPU_ASID_BITS) - 1) <= num_possible_cpus()); in asids_init()
|
| /Linux-v5.4/lib/ |
| D | bucket_locks.c | 23 unsigned int nr_pcpus = num_possible_cpus(); in __alloc_bucket_spinlocks()
|
| /Linux-v5.4/arch/s390/pci/ |
| D | pci_irq.c | 381 zpci_sbv = airq_iv_create(num_possible_cpus(), 0); in zpci_directed_irq_init() 386 iib.diib.nr_cpus = num_possible_cpus(); in zpci_directed_irq_init() 390 zpci_ibv = kcalloc(num_possible_cpus(), sizeof(*zpci_ibv), in zpci_directed_irq_init()
|
| /Linux-v5.4/drivers/gpu/drm/i810/ |
| D | i810_drv.c | 82 if (num_possible_cpus() > 1) { in i810_init()
|
| /Linux-v5.4/drivers/platform/x86/intel_speed_select_if/ |
| D | isst_if_common.c | 303 cpu >= num_possible_cpus()) in isst_if_get_pci_dev() 347 isst_cpu_info = kcalloc(num_possible_cpus(), in isst_if_cpu_info_init() 378 cpu_map->logical_cpu >= num_possible_cpus()) in isst_if_proc_phyid_req()
|
| /Linux-v5.4/arch/s390/hypfs/ |
| D | hypfs_diag0c.c | 38 cpu_vec = kmalloc_array(num_possible_cpus(), sizeof(*cpu_vec), in diag0c_store()
|
| /Linux-v5.4/fs/squashfs/ |
| D | decompressor_multi_percpu.c | 94 return num_possible_cpus(); in squashfs_max_decompressors()
|
| /Linux-v5.4/drivers/thermal/intel/ |
| D | intel_powerclamp.c | 562 if (bitmap_weight(cpu_clamping_mask, num_possible_cpus())) { in end_power_clamp() 563 for_each_set_bit(i, cpu_clamping_mask, num_possible_cpus()) { in end_power_clamp() 713 bitmap_size = BITS_TO_LONGS(num_possible_cpus()) * sizeof(long); in powerclamp_init()
|
| /Linux-v5.4/arch/x86/xen/ |
| D | spinlock.c | 119 if (num_possible_cpus() == 1) in xen_init_spinlocks()
|