Lines Matching refs:buffer
48 struct acpi_buffer buffer = { sizeof(union acpi_object), &object }; in xen_acpi_processor_enable() local
59 status = acpi_evaluate_object(pr->handle, NULL, NULL, &buffer); in xen_acpi_processor_enable()
157 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in xen_apic_id() local
162 if (ACPI_FAILURE(acpi_evaluate_object(handle, "_MAT", NULL, &buffer))) in xen_apic_id()
165 if (!buffer.length || !buffer.pointer) in xen_apic_id()
168 obj = buffer.pointer; in xen_apic_id()
170 obj->buffer.length < sizeof(*lapic)) { in xen_apic_id()
171 kfree(buffer.pointer); in xen_apic_id()
175 lapic = (struct acpi_madt_local_apic *)obj->buffer.pointer; in xen_apic_id()
179 kfree(buffer.pointer); in xen_apic_id()
184 kfree(buffer.pointer); in xen_apic_id()
185 buffer.length = ACPI_ALLOCATE_BUFFER; in xen_apic_id()
186 buffer.pointer = NULL; in xen_apic_id()