Searched refs:available_mask (Results 1 – 2 of 2) sorted by relevance
/drivers/infiniband/hw/hfi1/ |
D | affinity.c | 1001 cpumask_var_t diff, hw_thread_mask, available_mask, intrs_mask; in hfi1_get_proc_affinity() local 1056 ret = zalloc_cpumask_var(&available_mask, GFP_KERNEL); in hfi1_get_proc_affinity() 1118 cpumask_and(available_mask, hw_thread_mask, node_mask); in hfi1_get_proc_affinity() 1119 cpumask_andnot(available_mask, available_mask, &set->used); in hfi1_get_proc_affinity() 1121 cpumask_pr_args(available_mask)); in hfi1_get_proc_affinity() 1139 cpumask_andnot(diff, available_mask, intrs_mask); in hfi1_get_proc_affinity() 1141 cpumask_copy(available_mask, diff); in hfi1_get_proc_affinity() 1144 if (cpumask_empty(available_mask)) { in hfi1_get_proc_affinity() 1145 cpumask_andnot(available_mask, hw_thread_mask, &set->used); in hfi1_get_proc_affinity() 1147 cpumask_andnot(available_mask, available_mask, node_mask); in hfi1_get_proc_affinity() [all …]
|
/drivers/hv/ |
D | channel_mgmt.c | 735 cpumask_var_t available_mask; in init_vp_index() local 742 !alloc_cpumask_var(&available_mask, GFP_KERNEL)) { in init_vp_index() 779 cpumask_xor(available_mask, alloced_mask, in init_vp_index() 782 target_cpu = cpumask_first(available_mask); in init_vp_index() 792 free_cpumask_var(available_mask); in init_vp_index()
|