Searched refs:prefix_length (Results 1 – 2 of 2) sorted by relevance
374 u32 prefix_length = 0; in acpi_ns_externalize_name() local389 prefix_length = 1; in acpi_ns_externalize_name()396 prefix_length = i + 1; in acpi_ns_externalize_name()403 prefix_length = i; in acpi_ns_externalize_name()417 if (prefix_length < internal_name_length) { in acpi_ns_externalize_name()418 switch (internal_name[prefix_length]) { in acpi_ns_externalize_name()423 names_index = prefix_length + 2; in acpi_ns_externalize_name()425 internal_name[(acpi_size)prefix_length + 1]; in acpi_ns_externalize_name()432 names_index = prefix_length + 1; in acpi_ns_externalize_name()448 names_index = prefix_length; in acpi_ns_externalize_name()[all …]
339 int index, prefix_length = 0; in tty_dev_name_to_number() local352 prefix_length = str - name; in tty_dev_name_to_number()356 if (prefix_length == strlen(p->name) && strncmp(name, in tty_dev_name_to_number()357 p->name, prefix_length) == 0) { in tty_dev_name_to_number()