Searched refs:name_buffer (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 650 char name_buffer[20]; in octeon_fdt_pip_port() local 656 snprintf(name_buffer, sizeof(name_buffer), "ethernet@%x", p); in octeon_fdt_pip_port() 657 eth = fdt_subnode_offset(initial_boot_params, iface, name_buffer); in octeon_fdt_pip_port() 683 char name_buffer[20]; in octeon_fdt_pip_iface() local 688 snprintf(name_buffer, sizeof(name_buffer), "interface@%d", idx); in octeon_fdt_pip_iface() 689 iface = fdt_subnode_offset(initial_boot_params, pip, name_buffer); in octeon_fdt_pip_iface() 703 char name_buffer[20]; in octeon_fill_mac_addresses() local 724 snprintf(name_buffer, sizeof(name_buffer), "mix%d", i); in octeon_fill_mac_addresses() 726 name_buffer, NULL); in octeon_fill_mac_addresses() 747 snprintf(name_buffer, sizeof(name_buffer), "interface@%d", i); in octeon_fill_mac_addresses() [all …]
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
D | nsnames.c | 32 char *name_buffer; in acpi_ns_get_external_pathname() local 36 name_buffer = acpi_ns_get_normalized_pathname(node, FALSE); in acpi_ns_get_external_pathname() 37 return_PTR(name_buffer); in acpi_ns_get_external_pathname() 292 char *name_buffer; in acpi_ns_get_normalized_pathname() local 306 name_buffer = ACPI_ALLOCATE_ZEROED(size); in acpi_ns_get_normalized_pathname() 307 if (!name_buffer) { in acpi_ns_get_normalized_pathname() 314 (void)acpi_ns_build_normalized_path(node, name_buffer, (u32)size, in acpi_ns_get_normalized_pathname() 318 ACPI_GET_FUNCTION_NAME, name_buffer)); in acpi_ns_get_normalized_pathname() 320 return_PTR(name_buffer); in acpi_ns_get_normalized_pathname()
|
/kernel/linux/linux-5.10/tools/power/x86/turbostat/ |
D | turbostat.c | 5793 char name_buffer[NAME_BYTES] = ""; in parse_add_command() local 5855 if (sscanf(add_command, "%18s,%*s", name_buffer) == 1) { /* 18 < NAME_BYTES */ in parse_add_command() 5858 eos = strchr(name_buffer, ','); in parse_add_command() 5878 if (*name_buffer == '\0') { in parse_add_command() 5880 sprintf(name_buffer, "M0x%x%s", msr_num, format == FORMAT_PERCENT ? "%" : ""); in parse_add_command() 5882 sprintf(name_buffer, "M0X%x%s", msr_num, format == FORMAT_PERCENT ? "%" : ""); in parse_add_command() 5885 if (add_counter(msr_num, path, name_buffer, width, scope, type, format, 0)) in parse_add_command()
|