Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/hfi1/
Daffinity.c290 int ret_cpu; in per_cpu_affinity_get() local
293 ret_cpu = -EINVAL; in per_cpu_affinity_get()
298 ret_cpu = -EINVAL; in per_cpu_affinity_get()
302 ret_cpu = cpumask_first(possible_cpumask); in per_cpu_affinity_get()
303 if (ret_cpu >= nr_cpu_ids) { in per_cpu_affinity_get()
304 ret_cpu = -EINVAL; in per_cpu_affinity_get()
308 prev_cntr = *per_cpu_ptr(comp_vect_affinity, ret_cpu); in per_cpu_affinity_get()
313 ret_cpu = curr_cpu; in per_cpu_affinity_get()
318 *per_cpu_ptr(comp_vect_affinity, ret_cpu) += 1; in per_cpu_affinity_get()
321 return ret_cpu; in per_cpu_affinity_get()