/linux-6.1.9/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-6.1.9/arch/ia64/mm/ ! |
D | contig.c | 83 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()
|
D | tlb.c | 205 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-6.1.9/drivers/clocksource/ ! |
D | ingenic-timer.c | 290 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-6.1.9/drivers/nvdimm/ ! |
D | region.c | 24 && nd_region->num_lanes < num_possible_cpus() in nd_region_probe() 28 num_possible_cpus()); in nd_region_probe()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/hv/ ! |
D | hv_common.c | 103 hv_vp_index = kmalloc_array(num_possible_cpus(), sizeof(*hv_vp_index), in hv_common_init() 110 for (i = 0; i < num_possible_cpus(); i++) in hv_common_init()
|
/linux-6.1.9/arch/x86/kernel/ ! |
D | i8253.c | 60 if (num_possible_cpus() > 1 || is_hpet_enabled() || in init_pit_clocksource()
|
D | kvmclock.c | 208 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()
|
D | kvm.c | 480 (num_possible_cpus() != 1)); in pv_tlb_flush_supported() 486 (num_possible_cpus() != 1)); in pv_ipi_supported() 495 (num_possible_cpus() != 1)); in pv_sched_yield_supported() 1096 if (num_possible_cpus() == 1) { in kvm_spinlock_init()
|
/linux-6.1.9/arch/mips/kernel/ ! |
D | i8253.c | 32 if (num_possible_cpus() > 1 || /* PIT does not scale! */ in init_pit_clocksource()
|
/linux-6.1.9/samples/trace_events/ ! |
D | trace-events-sample.h | 290 __bitmask( cpus, num_possible_cpus() ) 301 __assign_bitmask(cpus, cpumask_bits(mask), num_possible_cpus());
|
/linux-6.1.9/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-6.1.9/arch/microblaze/include/asm/ ! |
D | fixmap.h | 50 FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_MAX_IDX * num_possible_cpus()) - 1,
|
/linux-6.1.9/arch/csky/mm/ ! |
D | context.c | 31 BUG_ON(((1 << CONFIG_CPU_ASID_BITS) - 1) <= num_possible_cpus()); in asids_init()
|
/linux-6.1.9/kernel/bpf/ ! |
D | percpu_freelist.c | 105 n = nr_elems / num_possible_cpus(); in pcpu_freelist_populate() 106 m = nr_elems % num_possible_cpus(); in pcpu_freelist_populate()
|
/linux-6.1.9/include/trace/events/ ! |
D | thermal.h | 120 __bitmask(cpumask, num_possible_cpus()) 128 num_possible_cpus());
|
/linux-6.1.9/drivers/platform/x86/intel/speed_select_if/ ! |
D | isst_if_common.c | 307 cpu >= nr_cpu_ids || cpu >= num_possible_cpus()) in _isst_if_get_pci_dev() 380 cpu >= nr_cpu_ids || cpu >= num_possible_cpus()) in isst_if_get_pci_dev() 429 isst_cpu_info = kcalloc(num_possible_cpus(), in isst_if_cpu_info_init() 470 cpu_map->logical_cpu >= num_possible_cpus()) in isst_if_proc_phyid_req()
|
/linux-6.1.9/lib/ ! |
D | bucket_locks.c | 23 unsigned int nr_pcpus = num_possible_cpus(); in __alloc_bucket_spinlocks()
|
/linux-6.1.9/drivers/gpu/drm/i810/ ! |
D | i810_drv.c | 83 if (num_possible_cpus() > 1) { in i810_init()
|
/linux-6.1.9/arch/arm64/mm/ ! |
D | context.c | 387 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-6.1.9/arch/s390/pci/ ! |
D | pci_irq.c | 424 zpci_sbv = airq_iv_create(num_possible_cpus(), 0, NULL); in zpci_directed_irq_init() 429 iib.diib.nr_cpus = num_possible_cpus(); in zpci_directed_irq_init() 433 zpci_ibv = kcalloc(num_possible_cpus(), sizeof(*zpci_ibv), in zpci_directed_irq_init()
|
/linux-6.1.9/arch/riscv/kvm/ ! |
D | vmid.c | 39 if ((1UL << vmid_bits) < num_possible_cpus()) in kvm_riscv_gstage_vmid_detect()
|
/linux-6.1.9/drivers/hwtracing/stm/ ! |
D | ftrace.c | 68 stm_ftrace.data.nr_chans = roundup_pow_of_two(num_possible_cpus()); in stm_ftrace_init()
|
/linux-6.1.9/arch/s390/hypfs/ ! |
D | hypfs_diag0c.c | 38 cpu_vec = kmalloc_array(num_possible_cpus(), sizeof(*cpu_vec), in diag0c_store()
|