Home
last modified time | relevance | path

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

/linux-6.6.21/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 …]
/linux-6.6.21/drivers/tty/
Dtty_io.c339 int index, prefix_length = 0; in tty_dev_name_to_number() local
352 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()