Searched refs:num_present_cpus (Results 1 – 25 of 25) sorted by relevance
652 if (rings_per_vf > num_present_cpus()) { in cn23xx_setup_octeon_vf_device()656 num_present_cpus(), in cn23xx_setup_octeon_vf_device()657 num_present_cpus()); in cn23xx_setup_octeon_vf_device()659 num_present_cpus(); in cn23xx_setup_octeon_vf_device()
1278 num_pf_rings = num_present_cpus(); in cn23xx_sriov_config()
830 cpu_id_modulus = num_present_cpus(); in liquidio_setup_io_queues()
80 total_cpus = num_present_cpus(); in ledtrig_cpu()
146 s32 nr = num_present_cpus(); in mm_compute_batch()
114 ncpus = num_present_cpus() - 1; in crash_kexec_prepare_cpus()
553 vdso_data->processorCount = num_present_cpus(); in smp_setup_cpu_maps()
115 #define num_present_cpus() cpumask_weight(cpu_present_mask) macro124 #define num_present_cpus() 1U macro
324 num_online_cpus(), num_present_cpus(), in parisc_init()
108 if (num_present_cpus() <= 1) in smp_prepare_cpus()
436 int i, num_cpus = num_present_cpus(); in mpc85xx_smp_machine_kexec()
1366 max_engines = num_present_cpus(); in mv_xor_probe()1368 max_channels = num_present_cpus(); in mv_xor_probe()1372 DIV_ROUND_UP(num_present_cpus(), 2)); in mv_xor_probe()
263 BUG_ON(num_present_cpus() > 1); in mips_smp_ipi_allocate()
596 if (num_present_cpus() > 4) { in pcc_cpufreq_init()
317 (queue->capacity - (num_present_cpus() - 1))) { in cw1200_queue_put()
727 if (!noreplace_smp && (num_present_cpus() == 1 || setup_max_cpus <= 1)) { in alternative_instructions()
540 if (unlikely(cfv->vq_tx->num_free <= num_present_cpus())) { in cfv_netdev_tx()
1369 int max_cpu = num_present_cpus(); in mvneta_defaults_set()3015 cpu = txq->id % num_present_cpus(); in mvneta_txq_sw_init()3017 cpu = pp->rxq_def % num_present_cpus(); in mvneta_txq_sw_init()3675 max_cpu = num_present_cpus(); in mvneta_percpu_elect()
1840 host->nr_hw_queues = num_present_cpus(); in storvsc_probe()
2698 cpu = queue % num_present_cpus(); in mvpp2_setup_txqs()5766 priv->nthreads = min_t(unsigned int, num_present_cpus(), in mvpp2_probe()5769 shared = num_present_cpus() - priv->nthreads; in mvpp2_probe()
638 r = num_present_cpus(); in kvm_vm_ioctl_check_extension()
1376 #define NETVSC_PCPU_STATS_LEN (num_present_cpus() * ARRAY_SIZE(pcpu_stats))
2760 n_cpus = num_present_cpus(); in qed_hw_init_pf_doorbell_bar()
5288 num_present_cpus(), in lpfc_fcp_cpu_map_show()
13451 lpfc_present_cpu = num_present_cpus(); in lpfc_init()