/linux-6.6.21/arch/arm64/kernel/ |
D | efi.c | 17 static bool region_is_misaligned(const efi_memory_desc_t *md) in region_is_misaligned() 30 static __init pteval_t create_mapping_protection(efi_memory_desc_t *md) in create_mapping_protection() 78 int __init efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md) in efi_create_mapping() 102 const efi_memory_desc_t *md; 109 const efi_memory_desc_t *md = spd->md; in set_permissions() 124 efi_memory_desc_t *md, in efi_set_mapping_permissions()
|
/linux-6.6.21/arch/riscv/kernel/ |
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-6.6.21/arch/x86/platform/efi/ |
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() 245 static bool __init efi_memmap_entry_valid(const efi_memory_desc_t *md, int i) in efi_memmap_entry_valid() 281 efi_memory_desc_t *out = efi.memmap.map; in efi_clean_memmap() 282 const efi_memory_desc_t *in = out; in efi_clean_memmap() 283 const efi_memory_desc_t *end = efi.memmap.map_end; in efi_clean_memmap() 332 efi_memory_desc_t *md; in efi_remove_e820_mmio() 357 efi_memory_desc_t *md; in efi_print_memmap() 535 efi_memory_desc_t *md, *prev_md = NULL; in efi_merge_regions() 648 static bool should_map_region(efi_memory_desc_t *md) in should_map_region() [all …]
|
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()
|
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()
|
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()
|
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()
|
D | fake_mem.c | 44 efi_memory_desc_t *md; in efi_fake_range() 154 efi_memory_desc_t *md; in efi_fake_memmap_early()
|
D | memmap.c | 111 int __init efi_memmap_split_count(efi_memory_desc_t *md, struct range *range) in efi_memmap_split_count() 155 efi_memory_desc_t *md; in efi_memmap_insert()
|
/linux-6.6.21/drivers/firmware/efi/ |
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()
|
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() 127 static __init int is_usable_memory(efi_memory_desc_t *md) in is_usable_memory() 151 efi_memory_desc_t *md; in reserve_regions()
|
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()
|
D | efi.c | 328 efi_memory_desc_t *md; in efi_debugfs_init() 466 efi_memory_desc_t *md; in efi_find_mirror() 493 int __efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md) in __efi_mem_desc_lookup() 495 efi_memory_desc_t *md; in __efi_mem_desc_lookup() 527 extern int efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md) 533 u64 __init efi_mem_desc_end(efi_memory_desc_t *md) in efi_mem_desc_end() 885 const efi_memory_desc_t *md) in efi_md_typeattr_format() 947 efi_memory_desc_t *md; in efi_mem_attributes() 971 const efi_memory_desc_t *md; in efi_mem_type()
|
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()
|
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()
|
/linux-6.6.21/arch/ia64/kernel/ |
D | efi.c | 269 is_memory_available (efi_memory_desc_t *md) in is_memory_available() 302 efi_md_end(efi_memory_desc_t *md) in efi_md_end() 308 efi_wb(efi_memory_desc_t *md) in efi_wb() 314 efi_uc(efi_memory_desc_t *md) in efi_uc() 366 efi_memory_desc_t *md; in efi_get_pal_addr() 561 efi_memory_desc_t *md; in efi_init() 606 efi_memory_desc_t *md; in efi_enter_virtual_mode() 691 efi_memory_desc_t *md; in efi_get_iobase() 720 static efi_memory_desc_t * 724 efi_memory_desc_t *md; in efi_memory_descriptor() [all …]
|
/linux-6.6.21/drivers/firmware/efi/libstub/ |
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()
|
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()
|
/linux-6.6.21/arch/riscv/include/asm/ |
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-6.6.21/arch/arm/kernel/ |
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-6.6.21/arch/arm/include/asm/ |
D | efi.h | 22 int efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md); 23 int efi_set_mapping_permissions(struct mm_struct *mm, efi_memory_desc_t *md, bool);
|
/linux-6.6.21/arch/arm64/include/asm/ |
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-6.6.21/include/linux/ |
D | efi.h | 144 } efi_memory_desc_t; typedef 300 efi_memory_desc_t *virtual_map); 540 efi_memory_desc_t map[]; 610 efi_memory_desc_t entry[0]; 752 extern u64 efi_mem_desc_end(efi_memory_desc_t *md); 753 extern int efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md); 754 extern int __efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md); 774 typedef int (*efi_memattr_perm_setter)(struct mm_struct *, efi_memory_desc_t *, bool); 800 (efi_memory_desc_t *)((void *)(map) + ((n) * (desc_size))) 822 const efi_memory_desc_t *md);
|
/linux-6.6.21/arch/x86/boot/compressed/ |
D | efi.h | 51 } efi_memory_desc_t; typedef 54 (efi_memory_desc_t *)((void *)(map) + ((n) * (desc_size)))
|
/linux-6.6.21/arch/x86/include/asm/ |
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); 187 efi_memory_desc_t *virtual_map, 416 extern int __init efi_memmap_split_count(efi_memory_desc_t *md,
|