Searched refs:ret_cpu (Results 1 – 1 of 1) sorted by relevance
249 int ret_cpu; in per_cpu_affinity_get() local252 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()