Lines Matching refs:table
59 acpi_ut_check_text_mode_corruption(u8 *table,
64 struct acpi_table_header **table, u32 *table_length);
83 acpi_ut_check_text_mode_corruption(u8 *table, u32 table_length, u32 file_length) in acpi_ut_check_text_mode_corruption() argument
97 if (table[i] == 0x0A) { in acpi_ut_check_text_mode_corruption()
98 if (table[i - 1] != 0x0D) { in acpi_ut_check_text_mode_corruption()
146 struct acpi_table_header **table, u32 *table_length) in acpi_ut_read_table() argument
232 *table = acpi_os_allocate((size_t) file_size); in acpi_ut_read_table()
233 if (!*table) { in acpi_ut_read_table()
243 actual = fread(*table, 1, (size_t) file_size, fp); in acpi_ut_read_table()
249 status = acpi_tb_verify_checksum((void *)*table, in acpi_ut_read_table()
252 *table)-> in acpi_ut_read_table()
258 *table, in acpi_ut_read_table()
260 (*table)-> in acpi_ut_read_table()
275 acpi_os_free(*table); in acpi_ut_read_table()
276 *table = NULL; in acpi_ut_read_table()
295 acpi_ut_read_table_from_file(char *filename, struct acpi_table_header ** table) in acpi_ut_read_table_from_file() argument
321 status = acpi_ut_read_table(file, table, &table_length); in acpi_ut_read_table_from_file()