Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/firmware/psci/
Dpsci_checker.c143 cpumask_var_t *cpu_groups = *pcpu_groups; in free_cpu_groups() local
146 free_cpumask_var(cpu_groups[i]); in free_cpu_groups()
147 kfree(cpu_groups); in free_cpu_groups()
153 cpumask_var_t tmp, *cpu_groups; in alloc_init_cpu_groups() local
158 cpu_groups = kcalloc(nb_available_cpus, sizeof(*cpu_groups), in alloc_init_cpu_groups()
160 if (!cpu_groups) { in alloc_init_cpu_groups()
171 if (!alloc_cpumask_var(&cpu_groups[num_groups], GFP_KERNEL)) { in alloc_init_cpu_groups()
173 free_cpu_groups(num_groups, &cpu_groups); in alloc_init_cpu_groups()
176 cpumask_copy(cpu_groups[num_groups++], cpu_group); in alloc_init_cpu_groups()
181 *pcpu_groups = cpu_groups; in alloc_init_cpu_groups()
[all …]