Lines Matching refs:buffer
150 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in map_mat_entry() local
155 if (ACPI_FAILURE(acpi_evaluate_object(handle, "_MAT", NULL, &buffer))) in map_mat_entry()
158 if (!buffer.length || !buffer.pointer) in map_mat_entry()
161 obj = buffer.pointer; in map_mat_entry()
163 obj->buffer.length < sizeof(struct acpi_subtable_header)) { in map_mat_entry()
167 header = (struct acpi_subtable_header *)obj->buffer.pointer; in map_mat_entry()
178 kfree(buffer.pointer); in map_mat_entry()
294 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in parse_mat_ioapic_entry() local
299 if (ACPI_FAILURE(acpi_evaluate_object(handle, "_MAT", NULL, &buffer))) in parse_mat_ioapic_entry()
302 if (!buffer.length || !buffer.pointer) in parse_mat_ioapic_entry()
305 obj = buffer.pointer; in parse_mat_ioapic_entry()
307 obj->buffer.length < sizeof(struct acpi_subtable_header)) in parse_mat_ioapic_entry()
310 header = (struct acpi_subtable_header *)obj->buffer.pointer; in parse_mat_ioapic_entry()
315 kfree(buffer.pointer); in parse_mat_ioapic_entry()