| .. | .. |
|---|
| 3 | 3 | * |
|---|
| 4 | 4 | * Module Name: exnames - interpreter/scanner name load/execute |
|---|
| 5 | 5 | * |
|---|
| 6 | | - * Copyright (C) 2000 - 2018, Intel Corp. |
|---|
| 6 | + * Copyright (C) 2000 - 2020, Intel Corp. |
|---|
| 7 | 7 | * |
|---|
| 8 | 8 | *****************************************************************************/ |
|---|
| 9 | 9 | |
|---|
| .. | .. |
|---|
| 53 | 53 | |
|---|
| 54 | 54 | /* Special case for root */ |
|---|
| 55 | 55 | |
|---|
| 56 | | - size_needed = 1 + (ACPI_NAME_SIZE * num_name_segs) + 2 + 1; |
|---|
| 56 | + size_needed = 1 + (ACPI_NAMESEG_SIZE * num_name_segs) + 2 + 1; |
|---|
| 57 | 57 | } else { |
|---|
| 58 | 58 | size_needed = |
|---|
| 59 | | - prefix_count + (ACPI_NAME_SIZE * num_name_segs) + 2 + 1; |
|---|
| 59 | + prefix_count + (ACPI_NAMESEG_SIZE * num_name_segs) + 2 + 1; |
|---|
| 60 | 60 | } |
|---|
| 61 | 61 | |
|---|
| 62 | 62 | /* |
|---|
| .. | .. |
|---|
| 141 | 141 | } |
|---|
| 142 | 142 | |
|---|
| 143 | 143 | for (index = 0; |
|---|
| 144 | | - (index < ACPI_NAME_SIZE) |
|---|
| 144 | + (index < ACPI_NAMESEG_SIZE) |
|---|
| 145 | 145 | && (acpi_ut_valid_name_char(*aml_address, 0)); index++) { |
|---|
| 146 | 146 | char_buf[index] = *aml_address++; |
|---|
| 147 | 147 | } |
|---|