Lines Matching refs:e820x
108 static void __init __e820_add_region(struct e820map *e820x, u64 start, u64 size, in __e820_add_region() argument
111 int x = e820x->nr_map; in __e820_add_region()
113 if (x >= ARRAY_SIZE(e820x->map)) { in __e820_add_region()
118 e820x->map[x].addr = start; in __e820_add_region()
119 e820x->map[x].size = size; in __e820_add_region()
120 e820x->map[x].type = type; in __e820_add_region()
121 e820x->nr_map++; in __e820_add_region()
427 static u64 __init __e820_update_range(struct e820map *e820x, u64 start, in __e820_update_range() argument
449 for (i = 0; i < e820x->nr_map; i++) { in __e820_update_range()
450 struct e820entry *ei = &e820x->map[i]; in __e820_update_range()
467 __e820_add_region(e820x, start, size, new_type); in __e820_update_range()
468 __e820_add_region(e820x, end, ei_end - end, ei->type); in __e820_update_range()
480 __e820_add_region(e820x, final_start, final_end - final_start, in __e820_update_range()