Lines Matching refs:hw_thread_mask
1004 static void find_hw_thread_mask(uint hw_thread_no, cpumask_var_t hw_thread_mask, in find_hw_thread_mask() argument
1012 cpumask_copy(hw_thread_mask, &affinity->proc.mask); in find_hw_thread_mask()
1015 possible = cpumask_weight(hw_thread_mask); in find_hw_thread_mask()
1016 curr_cpu = cpumask_first(hw_thread_mask); in find_hw_thread_mask()
1020 curr_cpu = cpumask_next(curr_cpu, hw_thread_mask); in find_hw_thread_mask()
1023 cpumask_clear_cpu(curr_cpu, hw_thread_mask); in find_hw_thread_mask()
1024 curr_cpu = cpumask_next(curr_cpu, hw_thread_mask); in find_hw_thread_mask()
1028 cpumask_shift_left(hw_thread_mask, hw_thread_mask, in find_hw_thread_mask()
1039 cpumask_var_t diff, hw_thread_mask, available_mask, intrs_mask; in hfi1_get_proc_affinity() local
1091 ret = zalloc_cpumask_var(&hw_thread_mask, GFP_KERNEL); in hfi1_get_proc_affinity()
1125 cpumask_copy(hw_thread_mask, &set->mask); in hfi1_get_proc_affinity()
1133 find_hw_thread_mask(i, hw_thread_mask, affinity); in hfi1_get_proc_affinity()
1143 cpumask_andnot(diff, hw_thread_mask, &set->used); in hfi1_get_proc_affinity()
1149 cpumask_pr_args(hw_thread_mask)); in hfi1_get_proc_affinity()
1156 cpumask_and(available_mask, hw_thread_mask, node_mask); in hfi1_get_proc_affinity()
1183 cpumask_andnot(available_mask, hw_thread_mask, &set->used); in hfi1_get_proc_affinity()
1214 free_cpumask_var(hw_thread_mask); in hfi1_get_proc_affinity()