Searched refs:node_cpu_mask (Results 1 – 1 of 1) sorted by relevance
159 cpumask_var_t node_cpu_mask; in hfi1_num_netdev_contexts() local171 if (!zalloc_cpumask_var(&node_cpu_mask, GFP_KERNEL)) { in hfi1_num_netdev_contexts()176 cpumask_and(node_cpu_mask, cpu_mask, cpumask_of_node(dd->node)); in hfi1_num_netdev_contexts()178 available_cpus = cpumask_weight(node_cpu_mask); in hfi1_num_netdev_contexts()180 free_cpumask_var(node_cpu_mask); in hfi1_num_netdev_contexts()