Home
last modified time | relevance | path

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

/drivers/infiniband/hw/hfi1/
Daffinity.c326 cpumask_var_t available_cpus) in _dev_comp_vect_cpu_get() argument
338 if (!available_cpus) { in _dev_comp_vect_cpu_get()
345 cpumask_andnot(available_cpus, &set->mask, &set->used); in _dev_comp_vect_cpu_get()
348 cpumask_andnot(non_intr_cpus, available_cpus, in _dev_comp_vect_cpu_get()
355 cpu = cpumask_first(available_cpus); in _dev_comp_vect_cpu_get()
408 cpumask_var_t available_cpus; in _dev_comp_vect_mappings_create() local
415 if (!zalloc_cpumask_var(&available_cpus, GFP_KERNEL)) { in _dev_comp_vect_mappings_create()
432 available_cpus); in _dev_comp_vect_mappings_create()
444 free_cpumask_var(available_cpus); in _dev_comp_vect_mappings_create()
449 free_cpumask_var(available_cpus); in _dev_comp_vect_mappings_create()
Dnetdev_rx.c160 unsigned int available_cpus; in hfi1_num_netdev_contexts() local
178 available_cpus = cpumask_weight(node_cpu_mask); in hfi1_num_netdev_contexts()
182 return min3(available_cpus, available_contexts, in hfi1_num_netdev_contexts()