Lines Matching refs:nr_entries

82 	for (i = 0; i < table->nr_entries; i++) {  in _e820__mapped_any()
117 for (i = 0; i < e820_table->nr_entries; i++) { in __e820__mapped_all()
168 int x = table->nr_entries; in __e820__range_add()
179 table->nr_entries++; in __e820__range_add()
207 for (i = 0; i < e820_table->nr_entries; i++) { in e820__print_table()
332 if (table->nr_entries < 2) in e820__update_table()
335 BUG_ON(table->nr_entries > max_nr_entries); in e820__update_table()
338 for (i = 0; i < table->nr_entries; i++) { in e820__update_table()
344 for (i = 0; i < 2 * table->nr_entries; i++) in e820__update_table()
352 for (i = 0; i < table->nr_entries; i++) { in e820__update_table()
417 table->nr_entries = new_nr_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
426 while (nr_entries) { in __append_e820_table()
439 nr_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
456 if (nr_entries < 2) in append_e820_table()
459 return __append_e820_table(entries, nr_entries); in append_e820_table()
481 for (i = 0; i < table->nr_entries; i++) { in __e820__range_update()
556 for (i = 0; i < e820_table->nr_entries; i++) { in e820__range_remove()
624 int i = e820_table->nr_entries; in e820_search_gap()
702 size = offsetof(struct e820_table, entries) + sizeof(struct e820_entry)*e820_table->nr_entries; in e820__reallocate_tables()
707 …ze = offsetof(struct e820_table, entries) + sizeof(struct e820_entry)*e820_table_kexec->nr_entries; in e820__reallocate_tables()
712 …= offsetof(struct e820_table, entries) + sizeof(struct e820_entry)*e820_table_firmware->nr_entries; in e820__reallocate_tables()
758 for (i = 0; i < e820_table->nr_entries; i++) { in e820__register_nosave_regions()
783 for (i = 0; i < e820_table->nr_entries; i++) { in e820__register_nvs_regions()
836 for (i = 0; i < e820_table->nr_entries; i++) { in e820_end_pfn()
927 e820_table->nr_entries = 0; in parse_memmap_one()
1160 res = memblock_alloc(sizeof(*res) * e820_table->nr_entries, in e820__reserve_resources()
1164 sizeof(*res) * e820_table->nr_entries); in e820__reserve_resources()
1167 for (i = 0; i < e820_table->nr_entries; i++) { in e820__reserve_resources()
1194 for (i = 0; i < e820_table_firmware->nr_entries; i++) { in e820__reserve_resources()
1228 for (i = 0; i < e820_table->nr_entries; i++) { in e820__reserve_resources_late()
1238 for (i = 0; i < e820_table->nr_entries; i++) { in e820__reserve_resources_late()
1282 e820_table->nr_entries = 0; in e820__memory_setup_default()
1330 for (i = 0; i < e820_table->nr_entries; i++) { in e820__memblock_setup()