Lines Matching refs:buffer
48 struct acpi_buffer buffer = { sizeof(union acpi_object), &object }; in xen_acpi_processor_enable() local
53 status = acpi_evaluate_object(pr->handle, NULL, NULL, &buffer); in xen_acpi_processor_enable()
151 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in xen_apic_id() local
156 if (ACPI_FAILURE(acpi_evaluate_object(handle, "_MAT", NULL, &buffer))) in xen_apic_id()
159 if (!buffer.length || !buffer.pointer) in xen_apic_id()
162 obj = buffer.pointer; in xen_apic_id()
164 obj->buffer.length < sizeof(*lapic)) { in xen_apic_id()
165 kfree(buffer.pointer); in xen_apic_id()
169 lapic = (struct acpi_madt_local_apic *)obj->buffer.pointer; in xen_apic_id()
173 kfree(buffer.pointer); in xen_apic_id()
178 kfree(buffer.pointer); in xen_apic_id()
179 buffer.length = ACPI_ALLOCATE_BUFFER; in xen_apic_id()
180 buffer.pointer = NULL; in xen_apic_id()