Lines Matching refs:idx
57 uint32_t i, idx = 0, nr; in e820_sanitize() local
98 e820[idx].addr = 0; in e820_sanitize()
99 e820[idx].size = (uint64_t)map_limitkb << 10; in e820_sanitize()
100 e820[idx].type = E820_RAM; in e820_sanitize()
106 e820[idx].size -= (uint64_t)(delta_kb << 10); in e820_sanitize()
109 ram_end = e820[idx].addr + e820[idx].size; in e820_sanitize()
110 idx ++; in e820_sanitize()
201 e820[idx].type = E820_UNUSABLE; in e820_sanitize()
202 e820[idx].addr = ram_end; in e820_sanitize()
203 e820[idx].size = start - ram_end; in e820_sanitize()
204 idx++; in e820_sanitize()
213 e820[idx].type = src[i].type; in e820_sanitize()
214 e820[idx].addr = src[i].addr; in e820_sanitize()
215 e820[idx].size = src[i].size; in e820_sanitize()
216 idx++; in e820_sanitize()
221 e820[idx].type = E820_RAM; in e820_sanitize()
222 e820[idx].addr = (uint64_t)(1ULL << 32) > last ? in e820_sanitize()
225 e820[idx].size = (uint64_t)(delta_kb << 10) + in e820_sanitize()
227 idx++; in e820_sanitize()
230 nr = idx; in e820_sanitize()