Searched refs:available_mask (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | affinity.c | 998 cpumask_var_t diff, hw_thread_mask, available_mask, intrs_mask; in hfi1_get_proc_affinity() local 1053 ret = zalloc_cpumask_var(&available_mask, GFP_KERNEL); in hfi1_get_proc_affinity() 1115 cpumask_and(available_mask, hw_thread_mask, node_mask); in hfi1_get_proc_affinity() 1116 cpumask_andnot(available_mask, available_mask, &set->used); in hfi1_get_proc_affinity() 1118 cpumask_pr_args(available_mask)); in hfi1_get_proc_affinity() 1136 cpumask_andnot(diff, available_mask, intrs_mask); in hfi1_get_proc_affinity() 1138 cpumask_copy(available_mask, diff); in hfi1_get_proc_affinity() 1141 if (cpumask_empty(available_mask)) { in hfi1_get_proc_affinity() 1142 cpumask_andnot(available_mask, hw_thread_mask, &set->used); in hfi1_get_proc_affinity() 1144 cpumask_andnot(available_mask, available_mask, node_mask); in hfi1_get_proc_affinity() [all …]
|
/linux-6.6.21/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() 772 cpumask_xor(available_mask, allocated_mask, cpumask_of_node(numa_node)); in init_vp_index() 773 cpumask_and(available_mask, available_mask, hk_mask); in init_vp_index() 775 if (cpumask_empty(available_mask)) { in init_vp_index() 784 target_cpu = cpumask_first(available_mask); in init_vp_index() 794 free_cpumask_var(available_mask); in init_vp_index()
|