Searched refs:nr_online_cpus (Results 1 – 1 of 1) sorted by relevance
1512 int max_irqs, num_irqs, i, ret, nr_online_cpus; in iwl_pcie_set_interrupt_capa() local1518 nr_online_cpus = num_online_cpus(); in iwl_pcie_set_interrupt_capa()1519 max_irqs = min_t(u32, nr_online_cpus + 2, IWL_MAX_RX_HW_QUEUES); in iwl_pcie_set_interrupt_capa()1545 if (num_irqs <= nr_online_cpus) { in iwl_pcie_set_interrupt_capa()1549 } else if (num_irqs == nr_online_cpus + 1) { in iwl_pcie_set_interrupt_capa()