Home
last modified time | relevance | path

Searched refs:efi_memory_desc_t (Results 1 – 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/arch/arm64/kernel/
Defi.c15 static bool region_is_misaligned(const efi_memory_desc_t *md) in region_is_misaligned()
28 static __init pteval_t create_mapping_protection(efi_memory_desc_t *md) in create_mapping_protection()
75 int __init efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md) in efi_create_mapping()
100 efi_memory_desc_t *md = data; in set_permissions()
112 efi_memory_desc_t *md) in efi_set_mapping_permissions()
/kernel/linux/linux-5.10/arch/riscv/kernel/
Defi.c19 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()
/kernel/linux/linux-5.10/arch/x86/platform/efi/
Defi_32.c36 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()
Defi.c110 efi_memory_desc_t *md; in efi_find_mirror()
140 efi_memory_desc_t *md; in do_add_efi_memmap()
200 efi_memory_desc_t *md; in do_efi_soft_reserve()
260 static bool __init efi_memmap_entry_valid(const efi_memory_desc_t *md, int i) in efi_memmap_entry_valid()
296 efi_memory_desc_t *out = efi.memmap.map; in efi_clean_memmap()
297 const efi_memory_desc_t *in = out; in efi_clean_memmap()
298 const efi_memory_desc_t *end = efi.memmap.map_end; in efi_clean_memmap()
328 efi_memory_desc_t *md; in efi_print_memmap()
504 efi_memory_desc_t *md, *prev_md = NULL; in efi_merge_regions()
617 static bool should_map_region(efi_memory_desc_t *md) in should_map_region()
[all …]
Defi_64.c265 static void __init __map_region(efi_memory_desc_t *md, u64 va) in __map_region()
299 void __init efi_map_region(efi_memory_desc_t *md) in efi_map_region()
352 void __init efi_map_region_fixed(efi_memory_desc_t *md) in efi_map_region_fixed()
363 static int __init efi_update_mappings(efi_memory_desc_t *md, unsigned long pf) in efi_update_mappings()
386 static int __init efi_update_mem_attr(struct mm_struct *mm, efi_memory_desc_t *md) in efi_update_mem_attr()
404 efi_memory_desc_t *md; in efi_runtime_update_mappings()
525 efi_memory_desc_t *virtual_map) in efi_thunk_set_virtual_address_map()
820 efi_memory_desc_t *virtual_map, in efi_set_virtual_address_map()
Dquirks.c249 efi_memory_desc_t md; in efi_arch_mem_reserve()
318 efi_memory_desc_t *md; in efi_reserve_boot_services()
378 static void __init efi_unmap_pages(efi_memory_desc_t *md) in efi_unmap_pages()
402 efi_memory_desc_t *md; in efi_free_boot_services()
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
Drandomalloc.c17 static unsigned long get_entry_num_slots(efi_memory_desc_t *md, in get_entry_num_slots()
61 efi_memory_desc_t *memory_map; in efi_random_alloc()
83 efi_memory_desc_t *md = (void *)memory_map + map_offset; in efi_random_alloc()
106 efi_memory_desc_t *md = (void *)memory_map + map_offset; in efi_random_alloc()
Drelocate.c27 efi_memory_desc_t *map; in efi_low_alloc_above()
56 efi_memory_desc_t *desc; in efi_low_alloc_above()
Darm64-stub.c46 efi_memory_desc_t *memory_map; in check_image_region()
64 efi_memory_desc_t *md = (void *)memory_map + map_offset; in check_image_region()
Dfdt.c201 efi_memory_desc_t *runtime_map;
250 efi_memory_desc_t *memory_map, *runtime_map; in allocate_new_fdt_and_exit_boot()
326 efi_memory_desc_t *p = (void *)memory_map + l; in allocate_new_fdt_and_exit_boot()
Defi-stub.c328 void efi_get_virtmap(efi_memory_desc_t *memory_map, unsigned long map_size, in efi_get_virtmap()
329 unsigned long desc_size, efi_memory_desc_t *runtime_map, in efi_get_virtmap()
333 efi_memory_desc_t *in, *out = runtime_map; in efi_get_virtmap()
/kernel/linux/linux-5.10/drivers/firmware/efi/
Dmemattr.c56 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()
157 efi_memory_desc_t md; in efi_memattr_apply_permissions()
Druntime-map.c17 efi_memory_desc_t md;
105 efi_memory_desc_t *md) in add_sysfs_runtime_map_entry()
123 memcpy(&entry->md, md, sizeof(efi_memory_desc_t)); in add_sysfs_runtime_map_entry()
163 efi_memory_desc_t *md; in efi_runtime_map_init()
Defi-init.c25 static int __init is_memory(efi_memory_desc_t *md) in is_memory()
39 efi_memory_desc_t *md; in efi_to_phys()
134 static __init int is_usable_memory(efi_memory_desc_t *md) in is_usable_memory()
167 efi_memory_desc_t *md; in reserve_regions()
Driscv-runtime.c32 efi_memory_desc_t *md; in efi_virtmap_init()
85 efi_memory_desc_t *md; in riscv_enable_runtime_services()
Darm-runtime.c54 efi_memory_desc_t *md; in efi_virtmap_init()
107 efi_memory_desc_t *md; in arm_enable_runtime_services()
Dembedded-firmware.c38 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()
Defi.c307 efi_memory_desc_t *md; in efi_debugfs_init()
447 int efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md) in efi_mem_desc_lookup()
449 efi_memory_desc_t *md; in efi_mem_desc_lookup()
478 u64 __init efi_mem_desc_end(efi_memory_desc_t *md) in efi_mem_desc_end()
753 const efi_memory_desc_t *md) in efi_md_typeattr_format()
815 efi_memory_desc_t *md; in efi_mem_attributes()
839 const efi_memory_desc_t *md; in efi_mem_type()
/kernel/linux/linux-5.10/arch/arm/kernel/
Defi.c13 efi_memory_desc_t *md = data; in set_permissions()
25 efi_memory_desc_t *md) in efi_set_mapping_permissions()
45 int __init efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md) in efi_create_mapping()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Defi.c267 is_memory_available (efi_memory_desc_t *md) in is_memory_available()
300 efi_md_end(efi_memory_desc_t *md) in efi_md_end()
306 efi_wb(efi_memory_desc_t *md) in efi_wb()
312 efi_uc(efi_memory_desc_t *md) in efi_uc()
364 efi_memory_desc_t *md; in efi_get_pal_addr()
559 efi_memory_desc_t *md; in efi_init()
604 efi_memory_desc_t *md; in efi_enter_virtual_mode()
689 efi_memory_desc_t *md; in efi_get_iobase()
718 static efi_memory_desc_t *
722 efi_memory_desc_t *md; in efi_memory_descriptor()
[all …]
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Defi.h20 int efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md);
21 int efi_set_mapping_permissions(struct mm_struct *mm, efi_memory_desc_t *md);
/kernel/linux/linux-5.10/arch/arm/include/asm/
Defi.h21 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);
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Defi.h21 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);
/kernel/linux/linux-5.10/include/linux/
Defi.h142 } efi_memory_desc_t; typedef
254 efi_memory_desc_t *virtual_map);
514 efi_memory_desc_t entry[0];
644 extern int __init efi_memmap_split_count(efi_memory_desc_t *md,
666 extern u64 efi_mem_desc_end(efi_memory_desc_t *md);
667 extern int efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md);
693 typedef int (*efi_memattr_perm_setter)(struct mm_struct *, efi_memory_desc_t *);
719 (efi_memory_desc_t *)((void *)(map) + ((n) * (desc_size)))
741 const efi_memory_desc_t *md);
/kernel/linux/linux-5.10/arch/x86/include/asm/
Defi.h142 extern void __init efi_map_region(efi_memory_desc_t *md);
143 extern void __init efi_map_region_fixed(efi_memory_desc_t *md);
198 efi_memory_desc_t *virtual_map,

12