Searched refs:hw_thread_mask (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | affinity.c | 965 static void find_hw_thread_mask(uint hw_thread_no, cpumask_var_t hw_thread_mask, in find_hw_thread_mask() argument 973 cpumask_copy(hw_thread_mask, &affinity->proc.mask); in find_hw_thread_mask() 976 possible = cpumask_weight(hw_thread_mask); in find_hw_thread_mask() 977 curr_cpu = cpumask_first(hw_thread_mask); in find_hw_thread_mask() 981 curr_cpu = cpumask_next(curr_cpu, hw_thread_mask); in find_hw_thread_mask() 984 cpumask_clear_cpu(curr_cpu, hw_thread_mask); in find_hw_thread_mask() 985 curr_cpu = cpumask_next(curr_cpu, hw_thread_mask); in find_hw_thread_mask() 989 cpumask_shift_left(hw_thread_mask, hw_thread_mask, in find_hw_thread_mask() 1000 cpumask_var_t diff, hw_thread_mask, available_mask, intrs_mask; in hfi1_get_proc_affinity() local 1052 ret = zalloc_cpumask_var(&hw_thread_mask, GFP_KERNEL); in hfi1_get_proc_affinity() [all …]
|