Searched refs:local_mask (Results 1 – 3 of 3) sorted by relevance
596 const struct cpumask *local_mask; in hfi1_dev_affinity_init() local600 local_mask = cpumask_of_node(dd->node); in hfi1_dev_affinity_init()601 if (cpumask_first(local_mask) >= nr_cpu_ids) in hfi1_dev_affinity_init()602 local_mask = topology_core_cpumask(0); in hfi1_dev_affinity_init()627 local_mask); in hfi1_dev_affinity_init()678 &node_affinity.real_cpu_mask, local_mask); in hfi1_dev_affinity_init()
1145 const struct cpumask *local_mask = cpumask_of_pcibus(dd->pcidev->bus); in assign_ctxt_affinity() local1153 (cpumask_weight(local_mask) <= qib_cpulist_count)) { in assign_ctxt_affinity()1154 for_each_cpu(local_cpu, local_mask) in assign_ctxt_affinity()
3360 const struct cpumask *local_mask; in qib_setup_7322_interrupt() local3405 local_mask = cpumask_of_pcibus(dd->pcidev->bus); in qib_setup_7322_interrupt()3406 firstcpu = cpumask_first(local_mask); in qib_setup_7322_interrupt()3408 cpumask_weight(local_mask) == num_online_cpus()) { in qib_setup_7322_interrupt()3409 local_mask = topology_core_cpumask(0); in qib_setup_7322_interrupt()3410 firstcpu = cpumask_first(local_mask); in qib_setup_7322_interrupt()3413 secondcpu = cpumask_next(firstcpu, local_mask); in qib_setup_7322_interrupt()3501 local_mask); in qib_setup_7322_interrupt()