| /linux/arch/arm64/kernel/ |
| H A D | efi.c | 20 static bool region_is_misaligned(const efi_memory_desc_t *md) in region_is_misaligned() 33 static __init ptdesc_t create_mapping_protection(efi_memory_desc_t *md) in create_mapping_protection() 85 int __init efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md) in efi_create_mapping() 109 const efi_memory_desc_t *md; 116 const efi_memory_desc_t *md = spd->md; in set_permissions() 130 efi_memory_desc_t *md, in efi_set_mapping_permissions()
|
| /linux/arch/riscv/kernel/ |
| H A D | efi.c | 19 static __init pgprot_t efimem_to_pgprot_map(efi_memory_desc_t *md) in efimem_to_pgprot_map() 46 int __init efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md) in efi_create_mapping() 62 efi_memory_desc_t *md = data; in set_permissions() 81 efi_memory_desc_t *md, in efi_set_mapping_permissions()
|
| /linux/arch/x86/platform/efi/ |
| H A D | efi_32.c | 36 void __init efi_map_region(efi_memory_desc_t *md) in efi_map_region() 87 void __init efi_map_region_fixed(efi_memory_desc_t *md) {} in efi_map_region_fixed() 96 efi_memory_desc_t *virtual_map, in efi_set_virtual_address_map() 132 efi_memory_desc_t *md; in efi_runtime_update_mappings()
|
| H A D | runtime-map.c | 17 efi_memory_desc_t md; 106 efi_memory_desc_t *md) in add_sysfs_runtime_map_entry() 124 memcpy(&entry->md, md, sizeof(efi_memory_desc_t)); in add_sysfs_runtime_map_entry() 164 efi_memory_desc_t *md; in efi_runtime_map_init()
|
| H A D | efi_64.c | 271 static void __init __map_region(efi_memory_desc_t *md, u64 va) in __map_region() 306 void __init efi_map_region(efi_memory_desc_t *md) in efi_map_region() 359 void __init efi_map_region_fixed(efi_memory_desc_t *md) in efi_map_region_fixed() 370 static int __init efi_update_mappings(efi_memory_desc_t *md, unsigned long pf) in efi_update_mappings() 395 static int __init efi_update_mem_attr(struct mm_struct *mm, efi_memory_desc_t *md, in efi_update_mem_attr() 514 efi_memory_desc_t *virtual_map) in efi_thunk_set_virtual_address_map() 809 efi_memory_desc_t *virtual_map, in efi_set_virtual_address_map()
|
| H A D | memmap.c | 122 int __init efi_memmap_split_count(efi_memory_desc_t *md, struct range *range) in efi_memmap_split_count() 166 efi_memory_desc_t *md; in efi_memmap_insert()
|
| /linux/drivers/firmware/efi/ |
| H A D | efi-init.c | 27 static int __init is_memory(efi_memory_desc_t *md) in is_memory() 41 efi_memory_desc_t *md; in efi_to_phys() 136 static __init int is_usable_memory(efi_memory_desc_t *md) in is_usable_memory() 160 efi_memory_desc_t *md; in reserve_regions()
|
| H A D | riscv-runtime.c | 32 efi_memory_desc_t *md; in efi_virtmap_init() 85 efi_memory_desc_t *md; in riscv_enable_runtime_services()
|
| H A D | efi.c | 357 efi_memory_desc_t *md; in efi_debugfs_init() 503 efi_memory_desc_t *md; in efi_find_mirror() 530 int __efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md) in __efi_mem_desc_lookup() 532 efi_memory_desc_t *md; in __efi_mem_desc_lookup() 564 extern int efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md) 571 u64 __init efi_mem_desc_end(efi_memory_desc_t *md) in efi_mem_desc_end() 922 const efi_memory_desc_t *md) in efi_md_typeattr_format() 981 efi_memory_desc_t *md; in efi_mem_attributes() 1005 const efi_memory_desc_t *md; in efi_mem_type()
|
| H A D | arm-runtime.c | 54 efi_memory_desc_t *md; in efi_virtmap_init() 107 efi_memory_desc_t *md; in arm_enable_runtime_services()
|
| H A D | embedded-firmware.c | 38 efi_memory_desc_t *md, const struct efi_embedded_fw_desc *desc) in efi_check_md_for_embedded_firmware() 91 efi_memory_desc_t *md; in efi_check_for_embedded_firmwares()
|
| H A D | mokvar-table.c | 103 efi_memory_desc_t md; in efi_mokvar_table_init()
|
| /linux/arch/arm/kernel/ |
| H A D | efi.c | 16 efi_memory_desc_t *md = data; in set_permissions() 28 efi_memory_desc_t *md, in efi_set_mapping_permissions() 49 int __init efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md) in efi_create_mapping()
|
| /linux/drivers/firmware/efi/libstub/ |
| H A D | randomalloc.c | 17 static unsigned long get_entry_num_slots(efi_memory_desc_t *md, in get_entry_num_slots() 86 efi_memory_desc_t *md = (void *)map->map + map_offset; in efi_random_alloc() 117 efi_memory_desc_t *md = (void *)map->map + map_offset; in efi_random_alloc()
|
| H A D | fdt.c | 186 efi_memory_desc_t *runtime_map; 311 efi_memory_desc_t *p; in allocate_new_fdt_and_exit_boot()
|
| H A D | loongarch.c | 22 efi_memory_desc_t *runtime_map;
|
| H A D | relocate.c | 47 efi_memory_desc_t *desc; in efi_low_alloc_above()
|
| H A D | unaccepted_memory.c | 29 efi_memory_desc_t *d; in allocate_unaccepted_bitmap()
|
| /linux/arch/riscv/include/asm/ |
| H A D | efi.h | 21 int efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md); 22 int efi_set_mapping_permissions(struct mm_struct *mm, efi_memory_desc_t *md, bool);
|
| /linux/include/linux/ |
| H A D | efi.h | 146 } efi_memory_desc_t; typedef 302 efi_memory_desc_t *virtual_map); 540 efi_memory_desc_t map[]; 605 efi_memory_desc_t entry[]; 753 extern u64 efi_mem_desc_end(efi_memory_desc_t *md); 754 extern int efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md); 755 extern int __efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md); 773 typedef int (*efi_memattr_perm_setter)(struct mm_struct *, efi_memory_desc_t *, bool); 799 (efi_memory_desc_t *)((void *)(map) + ((n) * (desc_size))) 821 const efi_memory_desc_t *md);
|
| /linux/arch/arm64/include/asm/ |
| H A D | efi.h | 29 int efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md); 30 int efi_set_mapping_permissions(struct mm_struct *mm, efi_memory_desc_t *md,
|
| /linux/arch/x86/boot/compressed/ |
| H A D | efi.h | 51 } efi_memory_desc_t; typedef 54 (efi_memory_desc_t *)((void *)(map) + ((n) * (desc_size)))
|
| /linux/arch/loongarch/kernel/ |
| H A D | mem.c | 17 efi_memory_desc_t *md; in memblock_init()
|
| H A D | numa.c | 193 efi_memory_desc_t *md; in init_node_memblock()
|
| /linux/drivers/xen/ |
| H A D | efi.c | 297 int efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md) in efi_mem_desc_lookup() 335 efi_memory_desc_t md; in xen_efi_config_table_is_usable()
|