Lines Matching refs:available_mask
998 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()
1147 cpumask_pr_args(available_mask)); in hfi1_get_proc_affinity()
1153 cpumask_andnot(diff, available_mask, intrs_mask); in hfi1_get_proc_affinity()
1155 cpumask_copy(available_mask, diff); in hfi1_get_proc_affinity()
1158 cpumask_pr_args(available_mask)); in hfi1_get_proc_affinity()
1160 cpu = cpumask_first(available_mask); in hfi1_get_proc_affinity()
1171 free_cpumask_var(available_mask); in hfi1_get_proc_affinity()