Home
last modified time | relevance | path

Searched refs:available_mask (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/infiniband/hw/hfi1/
H A Daffinity.c998 cpumask_var_t diff, hw_thread_mask, available_mask, intrs_mask; in hfi1_get_proc_affinity() local
1053 ret = zalloc_cpumask_var(&available_mask, GFP_KERNEL); in hfi1_get_proc_affinity()
1115 cpumask_and(available_mask, hw_thread_mask, node_mask); in hfi1_get_proc_affinity()
1116 cpumask_andnot(available_mask, available_mask, &set->used); in hfi1_get_proc_affinity()
1118 cpumask_pr_args(available_mask)); in hfi1_get_proc_affinity()
1136 cpumask_andnot(diff, available_mask, intrs_mask); in hfi1_get_proc_affinity()
1138 cpumask_copy(available_mask, diff); in hfi1_get_proc_affinity()
1141 if (cpumask_empty(available_mask)) { in hfi1_get_proc_affinity()
1142 cpumask_andnot(available_mask, hw_thread_mask, &set->used); in hfi1_get_proc_affinity()
1144 cpumask_andnot(available_mask, available_mask, node_mask); in hfi1_get_proc_affinity()
[all …]
/linux/drivers/accel/habanalabs/common/
H A Ddevice.c2884 struct cpumask *available_mask = &hdev->irq_affinity_mask; in hl_init_cpu_for_irq() local
2898 cpumask_set_cpu(cpumask_first(topology_sibling_cpumask(i)), available_mask); in hl_init_cpu_for_irq()