Lines Matching defs:table
94 * PARAMETERS: table - ACPI table to be written
95 * instance - ACPI table instance no. to be written
99 * DESCRIPTION: Write an ACPI table to a binary file. Builds the output
100 * filename from the table signature.
104 int ap_write_to_binary_file(struct acpi_table_header *table, u32 instance)
112 /* Obtain table length */
114 table_length = ap_get_table_length(table);
116 /* Construct lower-case filename from the table local signature */
118 if (ACPI_VALIDATE_RSDP_SIG(table->signature)) {
121 ACPI_COPY_NAMESEG(filename, table->signature);
142 table->signature, filename, table->length,
143 table->length);
146 /* Open the file and dump the entire table in binary mode */
154 actual = fwrite(table, 1, table_length, file);
170 * PARAMETERS: pathname - File containing the binary ACPI table
173 * RETURN: Buffer containing the ACPI table. NULL on error.