Home
last modified time | relevance | path

Searched refs:acpi_payload_size (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/acpi/
H A Dcore.c115 size_t body_size, acpi_payload_size; in acpi_table_install() local
153 acpi_payload_size = sizeof dfl_hdr + body_size; in acpi_table_install()
155 if (acpi_payload_size > UINT16_MAX) { in acpi_table_install()
157 acpi_payload_size, (unsigned)UINT16_MAX); in acpi_table_install()
187 ext_hdr->_length = cpu_to_le16(acpi_payload_size); in acpi_table_install()
194 if (has_header && le32_to_cpu(ext_hdr->length) != acpi_payload_size) { in acpi_table_install()
197 le32_to_cpu(ext_hdr->length), acpi_payload_size); in acpi_table_install()
199 ext_hdr->length = cpu_to_le32(acpi_payload_size); in acpi_table_install()
237 ACPI_TABLE_PFX_SIZE, acpi_payload_size); in acpi_table_install()