Home
last modified time | relevance | path

Searched refs:prefix_length (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/acpi/acpica/
Dnsutils.c374 u32 prefix_length = 0; in acpi_ns_externalize_name() local
389 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 …]
/kernel/linux/linux-5.10/drivers/tty/
Dtty_io.c347 int index, prefix_length = 0; in tty_dev_name_to_number() local
360 prefix_length = str - name; in tty_dev_name_to_number()
364 if (prefix_length == strlen(p->name) && strncmp(name, in tty_dev_name_to_number()
365 p->name, prefix_length) == 0) { in tty_dev_name_to_number()