Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/platforms/pseries/
Dhotplug-cpu.c724 static int find_dlpar_cpus_to_add(u32 *cpu_drcs, u32 cpus_to_add) in find_dlpar_cpus_to_add() argument
743 while (cpus_found < cpus_to_add) { in find_dlpar_cpus_to_add()
761 static int dlpar_cpu_add_by_count(u32 cpus_to_add) in dlpar_cpu_add_by_count() argument
768 pr_debug("Attempting to hot-add %d CPUs\n", cpus_to_add); in dlpar_cpu_add_by_count()
770 cpu_drcs = kcalloc(cpus_to_add, sizeof(*cpu_drcs), GFP_KERNEL); in dlpar_cpu_add_by_count()
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()
782 for (i = 0; i < cpus_to_add; i++) { in dlpar_cpu_add_by_count()
790 if (cpus_added < cpus_to_add) { in dlpar_cpu_add_by_count()