Searched refs:name_buffer (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/arch/mips/cavium-octeon/ |
H A D | octeon-platform.c | 651 char name_buffer[20]; in octeon_fdt_pip_port() local 657 snprintf(name_buffer, sizeof(name_buffer), "ethernet@%x", p); in octeon_fdt_pip_port() 658 eth = fdt_subnode_offset(initial_boot_params, iface, name_buffer); in octeon_fdt_pip_port() 684 char name_buffer[20]; in octeon_fdt_pip_iface() local 689 snprintf(name_buffer, sizeof(name_buffer), "interface@%d", idx); in octeon_fdt_pip_iface() 690 iface = fdt_subnode_offset(initial_boot_params, pip, name_buffer); in octeon_fdt_pip_iface() 704 char name_buffer[20]; in octeon_fill_mac_addresses() local 725 snprintf(name_buffer, sizeof(name_buffer), "mix%d", i); in octeon_fill_mac_addresses() 727 name_buffer, NULL); in octeon_fill_mac_addresses() 748 snprintf(name_buffer, sizeof(name_buffer), "interface@%d", i); in octeon_fill_mac_addresses() [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A 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()
|
/openbmc/qemu/net/ |
H A D | tap-win32.c | 600 char name_buffer[0x100] = {0, }; in tap_win32_open() local 610 snprintf(name_buffer, sizeof(name_buffer), "%s", preferred_name); in tap_win32_open() 613 rc = get_device_guid(device_guid, sizeof(device_guid), name_buffer, sizeof(name_buffer)); in tap_win32_open()
|
/openbmc/linux/tools/power/x86/turbostat/ |
H A D | turbostat.c | 6326 char name_buffer[NAME_BYTES] = ""; in parse_add_command() local 6388 if (sscanf(add_command, "%18s,%*s", name_buffer) == 1) { /* 18 < NAME_BYTES */ in parse_add_command() 6391 eos = strchr(name_buffer, ','); in parse_add_command() 6411 if (*name_buffer == '\0') { in parse_add_command() 6413 sprintf(name_buffer, "M0x%x%s", msr_num, format == FORMAT_PERCENT ? "%" : ""); in parse_add_command() 6415 sprintf(name_buffer, "M0X%x%s", msr_num, format == FORMAT_PERCENT ? "%" : ""); in parse_add_command() 6418 if (add_counter(msr_num, path, name_buffer, width, scope, type, format, 0)) in parse_add_command()
|