| /linux/arch/arm64/kernel/ |
| A D | efi.c | 19 static bool region_is_misaligned(const efi_memory_desc_t *md) in region_is_misaligned() 32 static __init pteval_t create_mapping_protection(efi_memory_desc_t *md) in create_mapping_protection() 76 int __init efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md) in efi_create_mapping() 100 const efi_memory_desc_t *md; 107 const efi_memory_desc_t *md = spd->md; in set_permissions() 121 efi_memory_desc_t *md, in efi_set_mapping_permissions()
|
| /linux/arch/riscv/kernel/ |
| 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/ |
| A D | efi.c | 123 efi_memory_desc_t *md; in do_add_efi_memmap() 183 efi_memory_desc_t *md; in do_efi_soft_reserve() 279 efi_memory_desc_t *out = efi.memmap.map; in efi_clean_memmap() 280 const efi_memory_desc_t *in = out; in efi_clean_memmap() 281 const efi_memory_desc_t *end = efi.memmap.map_end; in efi_clean_memmap() 330 efi_memory_desc_t *md; in efi_remove_e820_mmio() 355 efi_memory_desc_t *md; in efi_print_memmap() 533 efi_memory_desc_t *md, *prev_md = NULL; in efi_merge_regions() 704 efi_memory_desc_t *md; in efi_map_regions() 738 efi_memory_desc_t *md; in kexec_enter_virtual_mode() [all …]
|
| 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()
|
| 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()
|
| A D | efi_64.c | 270 static void __init __map_region(efi_memory_desc_t *md, u64 va) in __map_region() 305 void __init efi_map_region(efi_memory_desc_t *md) in efi_map_region() 358 void __init efi_map_region_fixed(efi_memory_desc_t *md) in efi_map_region_fixed() 369 static int __init efi_update_mappings(efi_memory_desc_t *md, unsigned long pf) in efi_update_mappings() 394 static int __init efi_update_mem_attr(struct mm_struct *mm, efi_memory_desc_t *md, in efi_update_mem_attr() 415 efi_memory_desc_t *md; in efi_runtime_update_mappings() 558 efi_memory_desc_t *virtual_map) in efi_thunk_set_virtual_address_map() 853 efi_memory_desc_t *virtual_map, in efi_set_virtual_address_map()
|
| A D | quirks.c | 257 efi_memory_desc_t md; in efi_arch_mem_reserve() 326 efi_memory_desc_t *md; in efi_reserve_boot_services() 386 static void __init efi_unmap_pages(efi_memory_desc_t *md) in efi_unmap_pages() 410 efi_memory_desc_t *md; in efi_free_boot_services()
|
| 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/ |
| A D | memattr.c | 56 static bool entry_is_valid(const efi_memory_desc_t *in, efi_memory_desc_t *out) in entry_is_valid() 60 efi_memory_desc_t *md; in entry_is_valid() 162 efi_memory_desc_t md; in efi_memattr_apply_permissions()
|
| 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()
|
| 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()
|
| 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()
|
| 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()
|
| A D | efi.c | 346 efi_memory_desc_t *md; in efi_debugfs_init() 486 efi_memory_desc_t *md; in efi_find_mirror() 513 int __efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md) in __efi_mem_desc_lookup() 515 efi_memory_desc_t *md; in __efi_mem_desc_lookup() 547 extern int efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md) 553 u64 __init efi_mem_desc_end(efi_memory_desc_t *md) in efi_mem_desc_end() 901 const efi_memory_desc_t *md) in efi_md_typeattr_format() 958 efi_memory_desc_t *md; in efi_mem_attributes() 982 const efi_memory_desc_t *md; in efi_mem_type()
|
| /linux/arch/arm/kernel/ |
| 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/ |
| A D | efi-stub.c | 200 efi_status_t efi_alloc_virtmap(efi_memory_desc_t **virtmap, in efi_alloc_virtmap() 228 void efi_get_virtmap(efi_memory_desc_t *memory_map, unsigned long map_size, in efi_get_virtmap() 229 unsigned long desc_size, efi_memory_desc_t *runtime_map, in efi_get_virtmap() 233 efi_memory_desc_t *in, *out = runtime_map; in efi_get_virtmap()
|
| A D | randomalloc.c | 17 static unsigned long get_entry_num_slots(efi_memory_desc_t *md, in get_entry_num_slots() 79 efi_memory_desc_t *md = (void *)map->map + map_offset; in efi_random_alloc() 110 efi_memory_desc_t *md = (void *)map->map + map_offset; in efi_random_alloc()
|
| A D | loongarch.c | 22 efi_memory_desc_t *runtime_map;
|
| /linux/arch/riscv/include/asm/ |
| 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/arch/arm/include/asm/ |
| A D | efi.h | 23 int efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md); 24 int efi_set_mapping_permissions(struct mm_struct *mm, efi_memory_desc_t *md, bool);
|
| /linux/arch/arm64/include/asm/ |
| 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/include/linux/ |
| A D | efi.h | 145 } efi_memory_desc_t; typedef 301 efi_memory_desc_t *virtual_map); 541 efi_memory_desc_t map[]; 615 efi_memory_desc_t entry[]; 762 extern u64 efi_mem_desc_end(efi_memory_desc_t *md); 763 extern int efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md); 764 extern int __efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md); 782 typedef int (*efi_memattr_perm_setter)(struct mm_struct *, efi_memory_desc_t *, bool); 808 (efi_memory_desc_t *)((void *)(map) + ((n) * (desc_size))) 830 const efi_memory_desc_t *md);
|
| /linux/arch/x86/boot/compressed/ |
| A D | efi.h | 51 } efi_memory_desc_t; typedef 54 (efi_memory_desc_t *)((void *)(map) + ((n) * (desc_size)))
|
| /linux/arch/x86/include/asm/ |
| A D | efi.h | 130 extern void __init efi_map_region(efi_memory_desc_t *md); 131 extern void __init efi_map_region_fixed(efi_memory_desc_t *md); 178 efi_memory_desc_t *virtual_map, 396 extern int __init efi_memmap_split_count(efi_memory_desc_t *md,
|
| /linux/arch/loongarch/kernel/ |
| A D | mem.c | 17 efi_memory_desc_t *md; in memblock_init()
|