Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/hfi1/
Daffinity.c249 int ret_cpu; in per_cpu_affinity_get() local
252 ret_cpu = -EINVAL; in per_cpu_affinity_get()
257 ret_cpu = -EINVAL; in per_cpu_affinity_get()
261 ret_cpu = cpumask_first(possible_cpumask); in per_cpu_affinity_get()
262 if (ret_cpu >= nr_cpu_ids) { in per_cpu_affinity_get()
263 ret_cpu = -EINVAL; in per_cpu_affinity_get()
267 prev_cntr = *per_cpu_ptr(comp_vect_affinity, ret_cpu); in per_cpu_affinity_get()
272 ret_cpu = curr_cpu; in per_cpu_affinity_get()
277 *per_cpu_ptr(comp_vect_affinity, ret_cpu) += 1; in per_cpu_affinity_get()
280 return ret_cpu; in per_cpu_affinity_get()