Searched refs:available_cpus (Results 1 – 2 of 2) sorted by relevance
323 cpumask_var_t available_cpus) in _dev_comp_vect_cpu_get() argument335 if (!available_cpus) { in _dev_comp_vect_cpu_get()342 cpumask_andnot(available_cpus, &set->mask, &set->used); in _dev_comp_vect_cpu_get()345 cpumask_andnot(non_intr_cpus, available_cpus, in _dev_comp_vect_cpu_get()352 cpu = cpumask_first(available_cpus); in _dev_comp_vect_cpu_get()405 cpumask_var_t available_cpus; in _dev_comp_vect_mappings_create() local412 if (!zalloc_cpumask_var(&available_cpus, GFP_KERNEL)) { in _dev_comp_vect_mappings_create()429 available_cpus); in _dev_comp_vect_mappings_create()441 free_cpumask_var(available_cpus); in _dev_comp_vect_mappings_create()446 free_cpumask_var(available_cpus); in _dev_comp_vect_mappings_create()
160 unsigned int available_cpus; in hfi1_num_netdev_contexts() local178 available_cpus = cpumask_weight(node_cpu_mask); in hfi1_num_netdev_contexts()182 return min3(available_cpus, available_contexts, in hfi1_num_netdev_contexts()