Home
last modified time | relevance | path

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

/openbmc/qemu/hw/smbios/
H A Dsmbios_legacy.c45 static size_t smbios_entries_len; variable
61 smbios_entries_len = sizeof(uint16_t); in smbios_add_field()
62 smbios_entries = g_malloc0(smbios_entries_len); in smbios_add_field()
64 smbios_entries = g_realloc(smbios_entries, smbios_entries_len + in smbios_add_field()
66 field = (struct smbios_field *)(smbios_entries + smbios_entries_len); in smbios_add_field()
74 smbios_entries_len += sizeof(*field) + len; in smbios_add_field()
151 smbios_entries_len = sizeof(uint16_t); in smbios_get_table_legacy()
152 smbios_entries = g_malloc0(smbios_entries_len); in smbios_get_table_legacy()
165 smbios_entries = g_realloc(smbios_entries, smbios_entries_len + in smbios_get_table_legacy()
171 smbios_entries_len += sizeof(*table) + size; in smbios_get_table_legacy()
[all …]