Searched refs:num_name_segs (Results 1 – 1 of 1) sorted by relevance
19 static char *acpi_ex_allocate_name_string(u32 prefix_count, u32 num_name_segs);39 static char *acpi_ex_allocate_name_string(u32 prefix_count, u32 num_name_segs) in acpi_ex_allocate_name_string() argument56 size_needed = 1 + (ACPI_NAMESEG_SIZE * num_name_segs) + 2 + 1; in acpi_ex_allocate_name_string()59 prefix_count + (ACPI_NAMESEG_SIZE * num_name_segs) + 2 + 1; in acpi_ex_allocate_name_string()87 if (num_name_segs > 2) { in acpi_ex_allocate_name_string()92 *temp_ptr++ = (char)num_name_segs; in acpi_ex_allocate_name_string()93 } else if (2 == num_name_segs) { in acpi_ex_allocate_name_string()