Searched refs:cpus (Results 1 – 3 of 3) sorted by relevance
820 cpumask_set_cpu(map->cpus[i], mask); in show_rps_map()844 map->cpus[i++] = cpu; in netdev_rx_queue_set_rps_mask()
3106 cpumask_var_t cpus; in netif_get_num_default_rss_queues() local3109 if (unlikely(is_kdump_kernel() || !zalloc_cpumask_var(&cpus, GFP_KERNEL))) in netif_get_num_default_rss_queues()3112 cpumask_copy(cpus, cpu_online_mask); in netif_get_num_default_rss_queues()3113 for_each_cpu(cpu, cpus) { in netif_get_num_default_rss_queues()3115 cpumask_andnot(cpus, cpus, topology_sibling_cpumask(cpu)); in netif_get_num_default_rss_queues()3117 free_cpumask_var(cpus); in netif_get_num_default_rss_queues()4657 tcpu = map->cpus[reciprocal_scale(hash, map->len)]; in get_rps_cpu()
1055 int cpus = num_online_cpus(); in get_workspace() local1068 if (atomic_read(&wsm->total_ws) > cpus) { in get_workspace()1073 if (atomic_read(&wsm->total_ws) > cpus && !wsm->free_ws) in get_workspace()