Lines Matching refs:affinity
965 struct hfi1_affinity_node_list *affinity) in find_hw_thread_mask() argument
969 affinity->num_core_siblings / in find_hw_thread_mask()
972 cpumask_copy(hw_thread_mask, &affinity->proc.mask); in find_hw_thread_mask()
973 if (affinity->num_core_siblings > 0) { in find_hw_thread_mask()
1002 struct hfi1_affinity_node_list *affinity = &node_affinity; in hfi1_get_proc_affinity() local
1003 struct cpu_mask_set *set = &affinity->proc; in hfi1_get_proc_affinity()
1061 mutex_lock(&affinity->lock); in hfi1_get_proc_affinity()
1091 if (affinity->num_core_siblings > 0) { in hfi1_get_proc_affinity()
1092 for (i = 0; i < affinity->num_core_siblings; i++) { in hfi1_get_proc_affinity()
1093 find_hw_thread_mask(i, hw_thread_mask, affinity); in hfi1_get_proc_affinity()
1167 mutex_unlock(&affinity->lock); in hfi1_get_proc_affinity()
1183 struct hfi1_affinity_node_list *affinity = &node_affinity; in hfi1_put_proc_affinity() local
1184 struct cpu_mask_set *set = &affinity->proc; in hfi1_put_proc_affinity()
1189 mutex_lock(&affinity->lock); in hfi1_put_proc_affinity()
1192 mutex_unlock(&affinity->lock); in hfi1_put_proc_affinity()