Searched refs:table_hdr (Results 1 – 1 of 1) sorted by relevance
24 static struct acpi_subtable_header *fetch_pptt_subtable(struct acpi_table_header *table_hdr, in fetch_pptt_subtable() argument33 if (pptt_ref + sizeof(struct acpi_subtable_header) > table_hdr->length) in fetch_pptt_subtable()36 entry = ACPI_ADD_PTR(struct acpi_subtable_header, table_hdr, pptt_ref); in fetch_pptt_subtable()41 if (pptt_ref + entry->length > table_hdr->length) in fetch_pptt_subtable()47 static struct acpi_pptt_processor *fetch_pptt_node(struct acpi_table_header *table_hdr, in fetch_pptt_node() argument50 return (struct acpi_pptt_processor *)fetch_pptt_subtable(table_hdr, pptt_ref); in fetch_pptt_node()53 static struct acpi_pptt_cache *fetch_pptt_cache(struct acpi_table_header *table_hdr, in fetch_pptt_cache() argument56 return (struct acpi_pptt_cache *)fetch_pptt_subtable(table_hdr, pptt_ref); in fetch_pptt_cache()59 static struct acpi_subtable_header *acpi_get_pptt_resource(struct acpi_table_header *table_hdr, in acpi_get_pptt_resource() argument71 return fetch_pptt_subtable(table_hdr, *ref); in acpi_get_pptt_resource()[all …]