Lines Matching refs:entries
83 struct e820_entry *entry = &table->entries[i]; in _e820__mapped_any()
118 struct e820_entry *entry = &e820_table->entries[i]; in __e820__mapped_all()
170 if (x >= ARRAY_SIZE(table->entries)) { in __e820__range_add()
176 table->entries[x].addr = start; in __e820__range_add()
177 table->entries[x].size = size; in __e820__range_add()
178 table->entries[x].type = type; in __e820__range_add()
210 e820_table->entries[i].addr, in e820__print_table()
211 e820_table->entries[i].addr + e820_table->entries[i].size - 1); in e820__print_table()
213 e820_print_type(e820_table->entries[i].type); in e820__print_table()
324 struct e820_entry *entries = table->entries; in e820__update_table() local
325 u32 max_nr_entries = ARRAY_SIZE(table->entries); in e820__update_table()
339 if (entries[i].addr + entries[i].size < entries[i].addr) in e820__update_table()
353 if (entries[i].size != 0) { in e820__update_table()
354 change_point[chg_idx]->addr = entries[i].addr; in e820__update_table()
355 change_point[chg_idx++]->entry = &entries[i]; in e820__update_table()
356 change_point[chg_idx]->addr = entries[i].addr + entries[i].size; in e820__update_table()
357 change_point[chg_idx++]->entry = &entries[i]; in e820__update_table()
416 memcpy(entries, new_entries, new_nr_entries*sizeof(*entries)); in e820__update_table()
422 static int __init __append_e820_table(struct boot_e820_entry *entries, u32 nr_entries) in __append_e820_table() argument
424 struct boot_e820_entry *entry = entries; in __append_e820_table()
453 static int __init append_e820_table(struct boot_e820_entry *entries, u32 nr_entries) in append_e820_table() argument
459 return __append_e820_table(entries, nr_entries); in append_e820_table()
482 struct e820_entry *entry = &table->entries[i]; in __e820__range_update()
557 struct e820_entry *entry = &e820_table->entries[i]; in e820__range_remove()
628 unsigned long long start = e820_table->entries[i].addr; in e820_search_gap()
629 unsigned long long end = start + e820_table->entries[i].size; in e820_search_gap()
702 size = offsetof(struct e820_table, entries) + sizeof(struct e820_entry)*e820_table->nr_entries; in e820__reallocate_tables()
707 …size = offsetof(struct e820_table, entries) + sizeof(struct e820_entry)*e820_table_kexec->nr_entri… in e820__reallocate_tables()
712 …size = offsetof(struct e820_table, entries) + sizeof(struct e820_entry)*e820_table_firmware->nr_en… in e820__reallocate_tables()
726 int entries; in e820__memory_setup_extended() local
731 entries = sdata->len / sizeof(*extmap); in e820__memory_setup_extended()
734 __append_e820_table(extmap, entries); in e820__memory_setup_extended()
759 struct e820_entry *entry = &e820_table->entries[i]; in e820__register_nosave_regions()
784 struct e820_entry *entry = &e820_table->entries[i]; in e820__register_nvs_regions()
837 struct e820_entry *entry = &e820_table->entries[i]; in e820_end_pfn()
1149 struct e820_entry *entry = e820_table->entries + i; in e820__reserve_resources()
1176 struct e820_entry *entry = e820_table_firmware->entries + i; in e820__reserve_resources()
1220 struct e820_entry *entry = &e820_table->entries[i]; in e820__reserve_resources_late()
1312 struct e820_entry *entry = &e820_table->entries[i]; in e820__memblock_setup()