/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
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()
|
D | cn23xx_pf_device.c | 1278 num_pf_rings = num_present_cpus(); in cn23xx_sriov_config()
|
D | lio_core.c | 834 cpu_id_modulus = num_present_cpus(); in liquidio_setup_io_queues()
|
/kernel/linux/linux-5.10/drivers/leds/trigger/ |
D | ledtrig-cpu.c | 84 total_cpus = num_present_cpus(); in ledtrig_cpu()
|
/kernel/linux/linux-5.10/mm/ |
D | mm_init.c | 151 s32 nr = num_present_cpus(); in mm_compute_batch()
|
/kernel/linux/linux-5.10/arch/powerpc/kexec/ |
D | crash.c | 114 ncpus = num_present_cpus() - 1; in crash_kexec_prepare_cpus()
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
D | setup.c | 320 num_online_cpus(), num_present_cpus(), in parisc_init()
|
/kernel/linux/linux-5.10/include/linux/ |
D | cpumask.h | 121 #define num_present_cpus() cpumask_weight(cpu_present_mask) macro 130 #define num_present_cpus() 1U macro
|
/kernel/linux/linux-5.10/arch/arc/kernel/ |
D | smp.c | 108 if (num_present_cpus() <= 1) in smp_prepare_cpus()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/85xx/ |
D | smp.c | 445 int i, num_cpus = num_present_cpus(); in mpc85xx_smp_machine_kexec()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
D | amd_energy.c | 223 cpus = num_present_cpus() / num_siblings; in amd_create_sensor()
|
/kernel/linux/linux-5.10/drivers/dma/ |
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()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | smp.c | 251 BUG_ON(num_present_cpus() > 1); in mips_smp_ipi_allocate()
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
D | pcc-cpufreq.c | 596 if (num_present_cpus() > 4) { in pcc_cpufreq_init()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | setup-common.c | 550 vdso_data->processorCount = num_present_cpus(); in smp_setup_cpu_maps()
|
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/ |
D | queue.c | 316 (queue->capacity - (num_present_cpus() - 1))) { in cw1200_queue_put()
|
/kernel/linux/linux-5.10/drivers/net/caif/ |
D | caif_virtio.c | 540 if (unlikely(cfv->vq_tx->num_free <= num_present_cpus())) { in cfv_netdev_tx()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | alternative.c | 1035 if (!noreplace_smp && (num_present_cpus() == 1 || setup_max_cpus <= 1)) { in alternative_instructions()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/ |
D | mvneta.c | 1439 int max_cpu = num_present_cpus(); in mvneta_defaults_set() 3415 cpu = txq->id % num_present_cpus(); in mvneta_txq_sw_init() 3417 cpu = pp->rxq_def % num_present_cpus(); in mvneta_txq_sw_init() 4146 max_cpu = num_present_cpus(); in mvneta_percpu_elect()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | storvsc_drv.c | 1992 host->nr_hw_queues = num_present_cpus(); in storvsc_probe()
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
D | powerpc.c | 644 r = num_present_cpus(); in kvm_vm_ioctl_check_extension()
|
/kernel/linux/linux-5.10/drivers/net/hyperv/ |
D | netvsc_drv.c | 1491 #define NETVSC_PCPU_STATS_LEN (num_present_cpus() * ARRAY_SIZE(pcpu_stats))
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_main.c | 6916 priv->nthreads = min_t(unsigned int, num_present_cpus(), in mvpp2_probe() 6919 shared = num_present_cpus() - priv->nthreads; in mvpp2_probe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_dev.c | 2743 n_cpus = num_present_cpus(); in qed_hw_init_pf_doorbell_bar()
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
D | lpfc_attr.c | 5271 num_present_cpus(), in lpfc_fcp_cpu_map_show()
|