Lines Matching defs:Table

159     ACPI_TABLE_HEADER       *Table,
168 * PARAMETERS: Table - Pointer to table to be validated
178 ACPI_TABLE_HEADER *Table)
181 if (!ACPI_VALIDATE_RSDP_SIG (Table->Signature))
185 if (!AcpiUtValidNameseg (Table->Signature))
187 fprintf (stderr, "Table signature (0x%8.8X) is invalid\n",
188 *(UINT32 *) Table->Signature);
194 if (Table->Length < sizeof (ACPI_TABLE_HEADER))
196 fprintf (stderr, "Table length (0x%8.8X) is invalid\n",
197 Table->Length);
210 * PARAMETERS: Table - Pointer to table to be validated
220 ACPI_TABLE_HEADER *Table)
226 if (ACPI_VALIDATE_RSDP_SIG (Table->Signature))
232 Rsdp = ACPI_CAST_PTR (ACPI_TABLE_RSDP, Table);
239 Status = AcpiUtVerifyChecksum (Table, Table->Length);
245 Table->Signature);
256 * PARAMETERS: Table - Pointer to the table
258 * RETURN: Table length
266 ACPI_TABLE_HEADER *Table)
273 if (!ApIsValidHeader (Table))
278 if (ACPI_VALIDATE_RSDP_SIG (Table->Signature))
280 Rsdp = ACPI_CAST_PTR (ACPI_TABLE_RSDP, Table);
286 return (Table->Length);
294 * PARAMETERS: Table - ACPI table to be dumped
307 ACPI_TABLE_HEADER *Table,
314 TableLength = ApGetTableLength (Table);
320 AcpiTbPrintTableHeader (Address, Table);
328 return (ApWriteToBinaryFile (Table, Instance));
337 Table->Signature, ACPI_FORMAT_UINT64 (Address));
340 ACPI_CAST_PTR (UINT8, Table), TableLength,
364 ACPI_TABLE_HEADER *Table;
376 Status = AcpiOsGetTableByIndex (i, &Table, &Instance, &Address);
399 TableStatus = ApDumpTableBuffer (Table, Instance, Address);
400 ACPI_FREE (Table);
431 ACPI_TABLE_HEADER *Table;
448 Status = AcpiOsGetTableByAddress (Address, &Table);
457 TableStatus = ApDumpTableBuffer (Table, 0, Address);
458 ACPI_FREE (Table);
482 ACPI_TABLE_HEADER *Table;
496 /* Table signatures are expected to be uppercase */
517 &Table, &Address);
533 TableStatus = ApDumpTableBuffer (Table, Instance, Address);
534 ACPI_FREE (Table);
564 ACPI_TABLE_HEADER *Table;
571 Table = ApGetTableFromFile (Pathname, &FileSize);
572 if (!Table)
577 if (!AcpiUtValidNameseg (Table->Signature))
586 if (Table->Length > FileSize)
589 "Table length (0x%X) is too large for input file (0x%X) %s\n",
590 Table->Length, FileSize, Pathname);
598 Pathname, Table->Signature, FileSize, FileSize);
601 TableStatus = ApDumpTableBuffer (Table, 0, 0);
604 ACPI_FREE (Table);