Searched refs:hw_thread_mask (Results 1 – 1 of 1) sorted by relevance
/drivers/infiniband/hw/hfi1/ |
D | affinity.c | 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() [all …]
|