Home
last modified time | relevance | path

Searched refs:hw_thread_mask (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/infiniband/hw/hfi1/
H A Daffinity.c963 static void find_hw_thread_mask(uint hw_thread_no, cpumask_var_t hw_thread_mask, in find_hw_thread_mask() argument
971 cpumask_copy(hw_thread_mask, &affinity->proc.mask); in find_hw_thread_mask()
974 possible = cpumask_weight(hw_thread_mask); in find_hw_thread_mask()
975 curr_cpu = cpumask_first(hw_thread_mask); in find_hw_thread_mask()
979 curr_cpu = cpumask_next(curr_cpu, hw_thread_mask); in find_hw_thread_mask()
982 cpumask_clear_cpu(curr_cpu, hw_thread_mask); in find_hw_thread_mask()
983 curr_cpu = cpumask_next(curr_cpu, hw_thread_mask); in find_hw_thread_mask()
987 cpumask_shift_left(hw_thread_mask, hw_thread_mask, in find_hw_thread_mask()
998 cpumask_var_t diff, hw_thread_mask, available_mask, intrs_mask; in hfi1_get_proc_affinity() local
1050 ret = zalloc_cpumask_var(&hw_thread_mask, GFP_KERNEL); in hfi1_get_proc_affinity()
[all …]