Searched refs:cpu_drcs (Results 1 – 1 of 1) sorted by relevance
578 static int find_dlpar_cpus_to_remove(u32 *cpu_drcs, int cpus_to_remove) in find_dlpar_cpus_to_remove() argument599 &cpu_drcs[cpus_found - 1]); in find_dlpar_cpus_to_remove()620 u32 *cpu_drcs; in dlpar_cpu_remove_by_count() local627 cpu_drcs = kcalloc(cpus_to_remove, sizeof(*cpu_drcs), GFP_KERNEL); in dlpar_cpu_remove_by_count()628 if (!cpu_drcs) in dlpar_cpu_remove_by_count()631 cpus_found = find_dlpar_cpus_to_remove(cpu_drcs, cpus_to_remove); in dlpar_cpu_remove_by_count()633 kfree(cpu_drcs); in dlpar_cpu_remove_by_count()638 rc = dlpar_cpu_remove_by_index(cpu_drcs[i]); in dlpar_cpu_remove_by_count()649 dlpar_cpu_add(cpu_drcs[i]); in dlpar_cpu_remove_by_count()656 kfree(cpu_drcs); in dlpar_cpu_remove_by_count()[all …]