/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | e820.c | 28 * the first 128 E820 memory entries in boot_params.e820_table and the remaining 50 * - 'e820_table': this is the main E820 table that is massaged by the 59 static struct e820_table e820_table_init __initdata; 60 static struct e820_table e820_table_kexec_init __initdata; 61 static struct e820_table e820_table_firmware_init __initdata; 63 struct e820_table *e820_table __refdata = &e820_table_init; 64 struct e820_table *e820_table_kexec __refdata = &e820_table_kexec_init; 65 struct e820_table *e820_table_firmware __refdata = &e820_table_firmware_init; 77 static bool _e820__mapped_any(struct e820_table *tabl [all...] |
H A D | resource.c | 31 for (i = 0; i < e820_table->nr_entries; i++) { in remove_e820_regions() 32 entry = &e820_table->entries[i]; in remove_e820_regions()
|
H A D | kexec-bzimage64.c | 108 memcpy(¶ms->e820_table, &e820_table_kexec->entries, nr_e820_entries*sizeof(struct e820_entry)); in setup_e820_entries() 229 if (params->e820_table[i].type != E820_TYPE_RAM) in setup_boot_parameters() 231 start = params->e820_table[i].addr; in setup_boot_parameters() 232 end = params->e820_table[i].addr + params->e820_table[i].size - 1; in setup_boot_parameters()
|
H A D | tboot.c | 196 for (i = 0; i < e820_table->nr_entries; i++) { in tboot_setup_sleep() 197 if ((e820_table->entries[i].type != E820_TYPE_RAM) in tboot_setup_sleep() 198 && (e820_table->entries[i].type != E820_TYPE_RESERVED_KERN)) in tboot_setup_sleep() 201 add_mac_region(e820_table->entries[i].addr, e820_table->entries[i].size); in tboot_setup_sleep()
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | e820.c | 28 * the first 128 E820 memory entries in boot_params.e820_table and the remaining 50 * - 'e820_table': this is the main E820 table that is massaged by the 59 static struct e820_table e820_table_init __initdata; 60 static struct e820_table e820_table_kexec_init __initdata; 61 static struct e820_table e820_table_firmware_init __initdata; 63 struct e820_table *e820_table __refdata = &e820_table_init; 64 struct e820_table *e820_table_kexec __refdata = &e820_table_kexec_init; 65 struct e820_table *e820_table_firmware __refdata = &e820_table_firmware_init; 77 static bool _e820__mapped_any(struct e820_table *tabl [all...] |
H A D | resource.c | 38 for (i = 0; i < e820_table->nr_entries; i++) { in remove_e820_regions() 39 entry = &e820_table->entries[i]; in remove_e820_regions()
|
H A D | tboot.c | 202 for (i = 0; i < e820_table->nr_entries; i++) { in tboot_setup_sleep() 203 if ((e820_table->entries[i].type != E820_TYPE_RAM) in tboot_setup_sleep() 204 && (e820_table->entries[i].type != E820_TYPE_RESERVED_KERN)) in tboot_setup_sleep() 207 add_mac_region(e820_table->entries[i].addr, e820_table->entries[i].size); in tboot_setup_sleep()
|
H A D | kexec-bzimage64.c | 108 memcpy(¶ms->e820_table, &e820_table_kexec->entries, nr_e820_entries*sizeof(struct e820_entry)); in setup_e820_entries() 276 if (params->e820_table[i].type != E820_TYPE_RAM) in setup_boot_parameters() 278 start = params->e820_table[i].addr; in setup_boot_parameters() 279 end = params->e820_table[i].addr + params->e820_table[i].size - 1; in setup_boot_parameters()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/e820/ |
H A D | api.h | 7 extern struct e820_table *e820_table; 8 extern struct e820_table *e820_table_kexec; 9 extern struct e820_table *e820_table_firmware; 22 extern int e820__update_table(struct e820_table *table);
|
H A D | types.h | 94 struct e820_table { struct
|
/kernel/linux/linux-6.6/arch/x86/include/asm/e820/ |
H A D | api.h | 7 extern struct e820_table *e820_table; 8 extern struct e820_table *e820_table_kexec; 9 extern struct e820_table *e820_table_firmware; 22 extern int e820__update_table(struct e820_table *table);
|
H A D | types.h | 94 struct e820_table { struct
|
/kernel/linux/linux-5.10/arch/x86/platform/pvh/ |
H A D | enlighten.c | 55 pvh_bootparams.e820_table[i].addr = ep->addr; in init_pvh_bootparams() 56 pvh_bootparams.e820_table[i].size = ep->size; in init_pvh_bootparams() 57 pvh_bootparams.e820_table[i].type = ep->type; in init_pvh_bootparams() 67 pvh_bootparams.e820_table[pvh_bootparams.e820_entries].addr = in init_pvh_bootparams() 69 pvh_bootparams.e820_table[pvh_bootparams.e820_entries].size = in init_pvh_bootparams() 71 pvh_bootparams.e820_table[pvh_bootparams.e820_entries].type = in init_pvh_bootparams()
|
/kernel/linux/linux-6.6/arch/x86/platform/pvh/ |
H A D | enlighten.c | 55 pvh_bootparams.e820_table[i].addr = ep->addr; in init_pvh_bootparams() 56 pvh_bootparams.e820_table[i].size = ep->size; in init_pvh_bootparams() 57 pvh_bootparams.e820_table[i].type = ep->type; in init_pvh_bootparams() 67 pvh_bootparams.e820_table[pvh_bootparams.e820_entries].addr = in init_pvh_bootparams() 69 pvh_bootparams.e820_table[pvh_bootparams.e820_entries].size = in init_pvh_bootparams() 71 pvh_bootparams.e820_table[pvh_bootparams.e820_entries].type = in init_pvh_bootparams()
|
/kernel/linux/linux-5.10/arch/x86/xen/ |
H A D | enlighten_pvh.c | 47 memmap.nr_entries = ARRAY_SIZE(boot_params_p->e820_table); in mem_map_via_hcall() 48 set_xen_guest_handle(memmap.buffer, boot_params_p->e820_table); in mem_map_via_hcall()
|
/kernel/linux/linux-5.10/arch/x86/boot/ |
H A D | memory.c | 22 struct boot_e820_entry *desc = boot_params.e820_table; in detect_memory_e820() 67 } while (ireg.ebx && count < ARRAY_SIZE(boot_params.e820_table)); in detect_memory_e820()
|
/kernel/linux/linux-6.6/arch/x86/boot/ |
H A D | memory.c | 22 struct boot_e820_entry *desc = boot_params.e820_table; in detect_memory_e820() 67 } while (ireg.ebx && count < ARRAY_SIZE(boot_params.e820_table)); in detect_memory_e820()
|
/kernel/linux/linux-6.6/arch/x86/xen/ |
H A D | enlighten_pvh.c | 66 memmap.nr_entries = ARRAY_SIZE(boot_params_p->e820_table); in mem_map_via_hcall() 67 set_xen_guest_handle(memmap.buffer, boot_params_p->e820_table); in mem_map_via_hcall()
|
/kernel/linux/linux-5.10/arch/x86/power/ |
H A D | hibernate.c | 72 static inline u32 compute_e820_crc32(struct e820_table *table) in compute_e820_crc32() 74 int size = offsetof(struct e820_table, entries) + in compute_e820_crc32()
|
/kernel/linux/linux-6.6/arch/x86/power/ |
H A D | hibernate.c | 72 static inline u32 compute_e820_crc32(struct e820_table *table) in compute_e820_crc32() 74 int size = offsetof(struct e820_table, entries) + in compute_e820_crc32()
|
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/ |
H A D | x86-stub.c | 456 struct boot_e820_entry *entry = params->e820_table; in setup_e820() 525 if (nr_entries == ARRAY_SIZE(params->e820_table)) { in setup_e820() 543 if (nr_entries > ARRAY_SIZE(params->e820_table)) { in setup_e820() 544 u32 nr_e820ext = nr_entries - ARRAY_SIZE(params->e820_table); in setup_e820() 595 if (nr_desc > ARRAY_SIZE(params->e820_table)) { in allocate_e820() 596 u32 nr_e820ext = nr_desc - ARRAY_SIZE(params->e820_table); in allocate_e820()
|
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
H A D | x86_fake_mem.c | 72 e820__update_table(e820_table); in efi_fake_memmap_early()
|
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/ |
H A D | x86-stub.c | 529 struct boot_e820_entry *entry = params->e820_table; in setup_e820() 605 if (nr_entries == ARRAY_SIZE(params->e820_table)) { in setup_e820() 623 if (nr_entries > ARRAY_SIZE(params->e820_table)) { in setup_e820() 624 u32 nr_e820ext = nr_entries - ARRAY_SIZE(params->e820_table); in setup_e820() 671 if (nr_desc > ARRAY_SIZE(params->e820_table) - EFI_MMAP_NR_SLACK_SLOTS) { in allocate_e820() 672 u32 nr_e820ext = nr_desc - ARRAY_SIZE(params->e820_table) + in allocate_e820()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | bootparam_utils.h | 75 BOOT_PARAM_PRESERVE(e820_table), in sanitize_boot_params()
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | bootparam_utils.h | 75 BOOT_PARAM_PRESERVE(e820_table), in sanitize_boot_params()
|