Searched refs:ret_cpu (Results 1 – 1 of 1) sorted by relevance
289 int ret_cpu; in per_cpu_affinity_get() local292 ret_cpu = -EINVAL; in per_cpu_affinity_get()297 ret_cpu = -EINVAL; in per_cpu_affinity_get()301 ret_cpu = cpumask_first(possible_cpumask); in per_cpu_affinity_get()302 if (ret_cpu >= nr_cpu_ids) { in per_cpu_affinity_get()303 ret_cpu = -EINVAL; in per_cpu_affinity_get()307 prev_cntr = *per_cpu_ptr(comp_vect_affinity, ret_cpu); in per_cpu_affinity_get()312 ret_cpu = curr_cpu; in per_cpu_affinity_get()317 *per_cpu_ptr(comp_vect_affinity, ret_cpu) += 1; in per_cpu_affinity_get()320 return ret_cpu; in per_cpu_affinity_get()