Lines Matching refs:cpus_found
645 int cpus_found = 0; in find_dlpar_cpus_to_remove() local
652 cpus_found++; in find_dlpar_cpus_to_remove()
654 if (cpus_found > cpus_to_remove) { in find_dlpar_cpus_to_remove()
663 &cpu_drcs[cpus_found - 1]); in find_dlpar_cpus_to_remove()
672 if (cpus_found < cpus_to_remove) { in find_dlpar_cpus_to_remove()
674 cpus_found, cpus_to_remove); in find_dlpar_cpus_to_remove()
675 } else if (cpus_found == cpus_to_remove) { in find_dlpar_cpus_to_remove()
679 return cpus_found; in find_dlpar_cpus_to_remove()
685 int cpus_found; in dlpar_cpu_remove_by_count() local
695 cpus_found = find_dlpar_cpus_to_remove(cpu_drcs, cpus_to_remove); in dlpar_cpu_remove_by_count()
696 if (cpus_found <= cpus_to_remove) { in dlpar_cpu_remove_by_count()
727 int cpus_found = 0; in find_dlpar_cpus_to_add() local
743 while (cpus_found < cpus_to_add) { in find_dlpar_cpus_to_add()
754 cpu_drcs[cpus_found++] = drc; in find_dlpar_cpus_to_add()
758 return cpus_found; in find_dlpar_cpus_to_add()
765 int cpus_found; in dlpar_cpu_add_by_count() local
774 cpus_found = find_dlpar_cpus_to_add(cpu_drcs, cpus_to_add); in dlpar_cpu_add_by_count()
775 if (cpus_found < cpus_to_add) { in dlpar_cpu_add_by_count()
777 cpus_found, cpus_to_add); in dlpar_cpu_add_by_count()