Lines Matching refs:length
91 return ((RSDT->length - sizeof (struct acpi_table_header)) / pointer_size); in acpi_tb_get_table_count()
134 new_table->length = (u32) table_size; in acpi_tb_convert_to_xsdt()
156 table_info->length = table_size; in acpi_tb_convert_to_xsdt()
433 if (acpi_gbl_FADT->length < sizeof (struct fadt_descriptor_rev1)) { in acpi_tb_convert_table_fadt()
434 ACPI_REPORT_ERROR (("Invalid FADT table length: 0x%X\n", acpi_gbl_FADT->length)); in acpi_tb_convert_table_fadt()
439 if (acpi_gbl_FADT->length < sizeof (struct fadt_descriptor_rev2)) { in acpi_tb_convert_table_fadt()
443 acpi_gbl_FADT->length, acpi_gbl_FADT->revision)); in acpi_tb_convert_table_fadt()
463 acpi_gbl_FADT->length = sizeof (FADT_DESCRIPTOR); in acpi_tb_convert_table_fadt()
474 table_desc->length = sizeof (struct fadt_descriptor_rev2); in acpi_tb_convert_table_fadt()
480 acpi_gbl_FADT->length, acpi_gbl_FADT->length)); in acpi_tb_convert_table_fadt()
481 ACPI_DUMP_BUFFER ((u8 *) (acpi_gbl_FADT), acpi_gbl_FADT->length); in acpi_tb_convert_table_fadt()
510 if (acpi_gbl_FACS->length < 24) { in acpi_tb_build_common_facs()
511 ACPI_REPORT_ERROR (("Invalid FACS table length: 0x%X\n", acpi_gbl_FACS->length)); in acpi_tb_build_common_facs()
515 if (acpi_gbl_FACS->length < 64) { in acpi_tb_build_common_facs()
517 acpi_gbl_FACS->length)); in acpi_tb_build_common_facs()
525 (acpi_gbl_FACS->length < 32) || in acpi_tb_build_common_facs()