Lines Matching refs:erst
215 ACPI_TABLE_ERST *erst = sc->sc_tab.erst;
226 if (erst->Header.Length < sizeof(*erst)) {
229 erst->Header.Length, sizeof(*erst));
232 if (erst->HeaderLength <
233 sizeof(*erst) - offsetof(ACPI_TABLE_ERST, HeaderLength)) {
236 erst->HeaderLength,
237 sizeof(*erst) - offsetof(ACPI_TABLE_ERST, HeaderLength));
240 nentries = erst->Entries;
241 maxnentries = (erst->Header.Length - sizeof(*erst))/sizeof(*entry);
248 if (nentries*sizeof(*entry) < erst->Header.Length - sizeof(*erst)) {
251 erst->Header.Length - nentries*sizeof(*entry));
266 entry = (ACPI_ERST_ENTRY *)(erst + 1);
269 entry = (ACPI_ERST_ENTRY *)(erst + 1);
275 entry = (ACPI_ERST_ENTRY *)(erst + 1);