Searched refs:num_present_cpus (Results 1 – 25 of 27) sorted by relevance
12
/linux/drivers/net/ethernet/cavium/liquidio/ |
A D | cn23xx_vf_device.c | 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()
|
A D | cn23xx_pf_device.c | 1278 num_pf_rings = num_present_cpus(); in cn23xx_sriov_config()
|
A D | lio_core.c | 828 cpu_id_modulus = num_present_cpus(); in liquidio_setup_io_queues()
|
/linux/drivers/leds/trigger/ |
A D | ledtrig-cpu.c | 84 total_cpus = num_present_cpus(); in ledtrig_cpu()
|
/linux/mm/ |
A D | mm_init.c | 147 s32 nr = num_present_cpus(); in mm_compute_batch()
|
A D | slub.c | 3841 nr_cpus = num_present_cpus(); in calculate_order()
|
/linux/arch/powerpc/kexec/ |
A D | crash.c | 115 ncpus = num_present_cpus() - 1; in crash_kexec_prepare_cpus()
|
/linux/arch/parisc/kernel/ |
A D | setup.c | 318 num_online_cpus(), num_present_cpus(), in parisc_init()
|
/linux/arch/arc/kernel/ |
A D | smp.c | 106 if (num_present_cpus() <= 1) in smp_prepare_cpus()
|
/linux/include/linux/ |
A D | cpumask.h | 890 #define num_present_cpus() cpumask_weight(cpu_present_mask) macro 922 #define num_present_cpus() 1U macro
|
/linux/drivers/scsi/ |
A D | storvsc_drv.c | 1953 int num_present_cpus = num_present_cpus(); in storvsc_probe() local 2063 if (storvsc_max_hw_queues > num_present_cpus) { in storvsc_probe() 2071 host->nr_hw_queues = num_present_cpus; in storvsc_probe()
|
/linux/arch/powerpc/platforms/85xx/ |
A D | smp.c | 445 int i, num_cpus = num_present_cpus(); in mpc85xx_smp_machine_kexec()
|
/linux/drivers/dma/ |
A D | mv_xor.c | 1365 max_engines = num_present_cpus(); in mv_xor_probe() 1367 max_channels = num_present_cpus(); in mv_xor_probe() 1371 DIV_ROUND_UP(num_present_cpus(), 2)); in mv_xor_probe()
|
/linux/arch/mips/kernel/ |
A D | smp.c | 251 BUG_ON(num_present_cpus() > 1); in mips_smp_ipi_allocate()
|
/linux/drivers/cpufreq/ |
A D | pcc-cpufreq.c | 596 if (num_present_cpus() > 4) { in pcc_cpufreq_init()
|
/linux/arch/powerpc/kernel/ |
A D | setup-common.c | 542 vdso_data->processorCount = num_present_cpus(); in smp_setup_cpu_maps()
|
/linux/drivers/net/wireless/st/cw1200/ |
A D | queue.c | 316 (queue->capacity - (num_present_cpus() - 1))) { in cw1200_queue_put()
|
/linux/drivers/net/caif/ |
A D | caif_virtio.c | 540 if (unlikely(cfv->vq_tx->num_free <= num_present_cpus())) { in cfv_netdev_tx()
|
/linux/arch/x86/kernel/ |
A D | alternative.c | 836 if (!noreplace_smp && (num_present_cpus() == 1 || setup_max_cpus <= 1)) { in alternative_instructions()
|
/linux/drivers/net/ethernet/marvell/ |
A D | mvneta.c | 1442 int max_cpu = num_present_cpus(); in mvneta_defaults_set() 3427 cpu = txq->id % num_present_cpus(); in mvneta_txq_sw_init() 3429 cpu = pp->rxq_def % num_present_cpus(); in mvneta_txq_sw_init() 4152 max_cpu = num_present_cpus(); in mvneta_percpu_elect()
|
/linux/arch/powerpc/kvm/ |
A D | powerpc.c | 644 r = min_t(unsigned int, num_present_cpus(), KVM_MAX_VCPUS); in kvm_vm_ioctl_check_extension()
|
/linux/drivers/net/hyperv/ |
A D | netvsc_drv.c | 1516 #define NETVSC_PCPU_STATS_LEN (num_present_cpus() * ARRAY_SIZE(pcpu_stats))
|
/linux/drivers/net/ethernet/marvell/mvpp2/ |
A D | mvpp2_main.c | 7456 priv->nthreads = min_t(unsigned int, num_present_cpus(), in mvpp2_probe() 7459 shared = num_present_cpus() - priv->nthreads; in mvpp2_probe()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_dev.c | 2825 n_cpus = num_present_cpus(); in qed_hw_init_pf_doorbell_bar()
|
/linux/drivers/scsi/lpfc/ |
A D | lpfc_attr.c | 5441 num_present_cpus(), in lpfc_fcp_cpu_map_show()
|
Completed in 126 milliseconds
12