Lines Matching refs:pr_backup
392 static int check_acpi_ids(struct acpi_processor *pr_backup) in check_acpi_ids() argument
395 if (!pr_backup) in check_acpi_ids()
432 pr_backup->acpi_id = i; in check_acpi_ids()
434 pr_backup->flags.power = test_bit(i, acpi_id_cst_present); in check_acpi_ids()
437 memcpy(&pr_backup->performance->domain_info, in check_acpi_ids()
441 (void)upload_pm_data(pr_backup); in check_acpi_ids()
464 struct acpi_processor *pr_backup = NULL; in xen_upload_processor_pm_data() local
476 if (!pr_backup) { in xen_upload_processor_pm_data()
477 pr_backup = kzalloc(sizeof(struct acpi_processor), GFP_KERNEL); in xen_upload_processor_pm_data()
478 if (pr_backup) in xen_upload_processor_pm_data()
479 memcpy(pr_backup, _pr, sizeof(struct acpi_processor)); in xen_upload_processor_pm_data()
484 rc = check_acpi_ids(pr_backup); in xen_upload_processor_pm_data()
485 kfree(pr_backup); in xen_upload_processor_pm_data()