Home
last modified time | relevance | path

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

/drivers/infiniband/hw/hfi1/
Daffinity.c1042 cpumask_var_t diff, hw_thread_mask, available_mask, intrs_mask; in hfi1_get_proc_affinity() local
1097 ret = zalloc_cpumask_var(&available_mask, GFP_KERNEL); in hfi1_get_proc_affinity()
1159 cpumask_and(available_mask, hw_thread_mask, node_mask); in hfi1_get_proc_affinity()
1160 cpumask_andnot(available_mask, available_mask, &set->used); in hfi1_get_proc_affinity()
1162 cpumask_pr_args(available_mask)); in hfi1_get_proc_affinity()
1180 cpumask_andnot(diff, available_mask, intrs_mask); in hfi1_get_proc_affinity()
1182 cpumask_copy(available_mask, diff); in hfi1_get_proc_affinity()
1185 if (cpumask_empty(available_mask)) { in hfi1_get_proc_affinity()
1186 cpumask_andnot(available_mask, hw_thread_mask, &set->used); in hfi1_get_proc_affinity()
1188 cpumask_andnot(available_mask, available_mask, node_mask); in hfi1_get_proc_affinity()
[all …]
/drivers/hv/
Dchannel_mgmt.c680 cpumask_var_t available_mask; in init_vp_index() local
687 !alloc_cpumask_var(&available_mask, GFP_KERNEL)) { in init_vp_index()
723 cpumask_xor(available_mask, alloced_mask, cpumask_of_node(numa_node)); in init_vp_index()
725 target_cpu = cpumask_first(available_mask); in init_vp_index()
730 free_cpumask_var(available_mask); in init_vp_index()