Lines Matching defs:length
83 /* Compare original length and checksum to current values */
85 if (acpi_gbl_original_dsdt_header.length != acpi_gbl_DSDT->length ||
100 acpi_gbl_original_dsdt_header.length = acpi_gbl_DSDT->length;
127 new_table = ACPI_ALLOCATE(table_desc->length);
129 ACPI_ERROR((AE_INFO, "Could not copy DSDT of length 0x%X",
130 table_desc->length));
134 memcpy(new_table, table_desc->pointer, table_desc->length);
143 ACPI_INFO(("Forced DSDT copy: length 0x%05X copied locally, original unmapped", new_table->length));
231 u32 length;
273 /* Map the RSDT/XSDT table header to get the full table length */
283 * Validate length of the table, and map entire table.
284 * Minimum length table must contain at least one entry.
286 length = table->length;
289 if (length < (sizeof(struct acpi_table_header) + table_entry_size)) {
291 "Invalid table length 0x%X in RSDT/XSDT",
292 length));
296 table = acpi_os_map_memory(address, length);
303 status = acpi_ut_verify_checksum(table, length);
305 acpi_os_unmap_memory(table, length);
311 table_count = (u32)((table->length - sizeof(struct acpi_table_header)) /
348 acpi_os_unmap_memory(table, length);