Searched refs:smapbase (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | biossmap.c | 51 static struct bios_smap *smapbase; variable 95 smapbase = malloc(smaplen * sizeof(*smapbase)); in bios_getsmap() 96 if (smapbase != NULL) { in bios_getsmap() 99 smapbase[n++] = cur->smap; in bios_getsmap() 125 if (smapbase == NULL || smaplen == 0) in bios_addsmapdata() 127 size = smaplen * sizeof(*smapbase); in bios_addsmapdata() 128 file_addmetadata(kfp, MODINFOMD_SMAP, size, smapbase); in bios_addsmapdata() 142 if (smapbase == NULL || smaplen == 0) in command_smap() 147 (unsigned int)smapbase[i].type, in command_smap() 148 (unsigned long long)smapbase[i].base, in command_smap() [all …]
|
/illumos-gate/usr/src/boot/efi/loader/ |
H A D | memmap.c | 37 static struct bios_smap *smapbase; variable 139 smapbase = malloc(smaplen * sizeof (*smapbase)); in efi_getsmap() 140 if (smapbase != NULL) { in efi_getsmap() 143 smapbase[n++] = cur->sb_smap; in efi_getsmap() 160 if (smapbase == NULL || smaplen == 0) in efi_addsmapdata() 162 size = smaplen * sizeof (*smapbase); in efi_addsmapdata() 163 file_addmetadata(kfp, MODINFOMD_SMAP, size, smapbase); in efi_addsmapdata() 173 if (smapbase == NULL || smaplen == 0) in command_smap() 178 " len=%016" PRIx64 "\n", smapbase[i].type, in command_smap() 179 smapbase[i].base, smapbase[i].length); in command_smap()
|
/illumos-gate/usr/src/boot/sys/amd64/include/pc/ |
H A D | bios.h | 117 void bios_add_smap_entries(struct bios_smap *smapbase, u_int32_t smapsize,
|