Lines Matching refs:smap
40 static struct bios_smap_xattr smap; variable
105 v86.es = VTOPSEG(&smap); in bios_getmem()
106 v86.edi = VTOPOFF(&smap); in bios_getmem()
111 if ((smap.type == SMAP_TYPE_MEMORY) && (smap.base == 0) && in bios_getmem()
112 (smap.length >= (512 * 1024))) { in bios_getmem()
113 bios_basemem = smap.length; in bios_getmem()
118 if ((smap.type == SMAP_TYPE_MEMORY) && in bios_getmem()
119 (smap.base == 0x100000) && in bios_getmem()
121 bios_extmem = smap.length; in bios_getmem()
129 if ((smap.type == SMAP_TYPE_MEMORY) && in bios_getmem()
130 (smap.base > 0x100000) && in bios_getmem()
131 (smap.base < 0x100000000ull)) { in bios_getmem()
132 size = smap.length; in bios_getmem()
138 if (smap.base + size > 0x100000000ull) in bios_getmem()
139 size = 0x100000000ull - smap.base; in bios_getmem()
145 if (high_heap_base < smap.base && size >= HEAP_MIN) { in bios_getmem()
146 high_heap_base = smap.base + size - HEAP_MIN; in bios_getmem()