Searched refs:size_MB (Results 1 – 1 of 1) sorted by relevance
782 uint64_t memsize, size_KB, size_MB; in smbios_type17_initializer() local791 size_MB = memsize / MB; in smbios_type17_initializer()794 if (size_MB > 0x7FFFFFFF) { in smbios_type17_initializer()796 "%luMB greater than max supported 2147483647MB\n", size_MB); in smbios_type17_initializer()798 size_MB = 0x7FFFFFFF; in smbios_type17_initializer()805 } else if (size_MB < 0x7FFF) { in smbios_type17_initializer()807 type17->size = size_MB & 0x7FFF; in smbios_type17_initializer()814 type17->xsize = size_MB & 0x7FFFFFFF; in smbios_type17_initializer()