Lines Matching refs:eps_acpi_cpu_perf
53 static struct acpi_processor_performance *eps_acpi_cpu_perf; variable
58 eps_acpi_cpu_perf = kzalloc(sizeof(*eps_acpi_cpu_perf), in eps_acpi_init()
60 if (!eps_acpi_cpu_perf) in eps_acpi_init()
63 if (!zalloc_cpumask_var(&eps_acpi_cpu_perf->shared_cpu_map, in eps_acpi_init()
65 kfree(eps_acpi_cpu_perf); in eps_acpi_init()
66 eps_acpi_cpu_perf = NULL; in eps_acpi_init()
70 if (acpi_processor_register_performance(eps_acpi_cpu_perf, 0)) { in eps_acpi_init()
71 free_cpumask_var(eps_acpi_cpu_perf->shared_cpu_map); in eps_acpi_init()
72 kfree(eps_acpi_cpu_perf); in eps_acpi_init()
73 eps_acpi_cpu_perf = NULL; in eps_acpi_init()
81 if (eps_acpi_cpu_perf) { in eps_acpi_exit()
83 free_cpumask_var(eps_acpi_cpu_perf->shared_cpu_map); in eps_acpi_exit()
84 kfree(eps_acpi_cpu_perf); in eps_acpi_exit()
85 eps_acpi_cpu_perf = NULL; in eps_acpi_exit()