Lines Matching refs:available_mask
999 cpumask_var_t diff, hw_thread_mask, available_mask, intrs_mask; in hfi1_get_proc_affinity() local
1054 ret = zalloc_cpumask_var(&available_mask, GFP_KERNEL); in hfi1_get_proc_affinity()
1116 cpumask_and(available_mask, hw_thread_mask, node_mask); in hfi1_get_proc_affinity()
1117 cpumask_andnot(available_mask, available_mask, &set->used); in hfi1_get_proc_affinity()
1119 cpumask_pr_args(available_mask)); in hfi1_get_proc_affinity()
1137 cpumask_andnot(diff, available_mask, intrs_mask); in hfi1_get_proc_affinity()
1139 cpumask_copy(available_mask, diff); in hfi1_get_proc_affinity()
1142 if (cpumask_empty(available_mask)) { in hfi1_get_proc_affinity()
1143 cpumask_andnot(available_mask, hw_thread_mask, &set->used); in hfi1_get_proc_affinity()
1145 cpumask_andnot(available_mask, available_mask, node_mask); in hfi1_get_proc_affinity()
1148 cpumask_pr_args(available_mask)); in hfi1_get_proc_affinity()
1154 cpumask_andnot(diff, available_mask, intrs_mask); in hfi1_get_proc_affinity()
1156 cpumask_copy(available_mask, diff); in hfi1_get_proc_affinity()
1159 cpumask_pr_args(available_mask)); in hfi1_get_proc_affinity()
1161 cpu = cpumask_first(available_mask); in hfi1_get_proc_affinity()
1172 free_cpumask_var(available_mask); in hfi1_get_proc_affinity()