Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/arm64/kernel/
H A Defi.c17 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()
/openbmc/linux/arch/riscv/kernel/
H A 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()
/openbmc/linux/arch/x86/platform/efi/
H A Defi.c123 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 …]
H A 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()
H A Druntime-map.c17 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 Defi_64.c270 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()
H A Dquirks.c257 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()
/openbmc/linux/drivers/firmware/efi/
H A 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()
162 efi_memory_desc_t md; in efi_memattr_apply_permissions()
H A Defi-init.c27 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()
H A Defi.c330 efi_memory_desc_t *md; in efi_debugfs_init()
468 efi_memory_desc_t *md; in efi_find_mirror()
495 int __efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md) in __efi_mem_desc_lookup()
497 efi_memory_desc_t *md; in __efi_mem_desc_lookup()
529 extern int efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md)
535 u64 __init efi_mem_desc_end(efi_memory_desc_t *md) in efi_mem_desc_end()
887 const efi_memory_desc_t *md) in efi_md_typeattr_format()
951 efi_memory_desc_t *md; in efi_mem_attributes()
975 const efi_memory_desc_t *md; in efi_mem_type()
H A Driscv-runtime.c32 efi_memory_desc_t *md; in efi_virtmap_init()
85 efi_memory_desc_t *md; in riscv_enable_runtime_services()
H A Darm-runtime.c54 efi_memory_desc_t *md; in efi_virtmap_init()
107 efi_memory_desc_t *md; in arm_enable_runtime_services()
H A 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()
/openbmc/linux/arch/ia64/kernel/
H A Defi.c269 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 …]
/openbmc/linux/drivers/firmware/efi/libstub/
H A Defi-stub.c200 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()
H A Drandomalloc.c17 static unsigned long get_entry_num_slots(efi_memory_desc_t *md, in get_entry_num_slots()
82 efi_memory_desc_t *md = (void *)map->map + map_offset; in efi_random_alloc()
113 efi_memory_desc_t *md = (void *)map->map + map_offset; in efi_random_alloc()
/openbmc/linux/arch/arm/kernel/
H A Defi.c16 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()
/openbmc/linux/arch/riscv/include/asm/
H A 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, bool);
/openbmc/linux/arch/arm/include/asm/
H A Defi.h22 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);
/openbmc/linux/arch/arm64/include/asm/
H A Defi.h29 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,
/openbmc/qemu/hw/loongarch/
H A Dboot.c89 boot_memmap->desc_size = sizeof(efi_memory_desc_t); in init_efi_boot_memmap()
93 efi_memory_desc_t *map = p + sizeof(struct efi_boot_memmap); in init_efi_boot_memmap()
100 p += sizeof(efi_memory_desc_t); in init_efi_boot_memmap()
151 sizeof(efi_memory_desc_t) * memmap_entries, 64 * KiB); in init_systab()
/openbmc/linux/include/linux/
H A Defi.h145 } efi_memory_desc_t; typedef
301 efi_memory_desc_t *virtual_map);
541 efi_memory_desc_t map[];
611 efi_memory_desc_t entry[0];
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);
775 typedef int (*efi_memattr_perm_setter)(struct mm_struct *, efi_memory_desc_t *, bool);
801 (efi_memory_desc_t *)((void *)(map) + ((n) * (desc_size)))
823 const efi_memory_desc_t *md);
/openbmc/qemu/include/hw/loongarch/
H A Dboot.h83 } efi_memory_desc_t; typedef
91 efi_memory_desc_t map[32];
/openbmc/linux/arch/x86/include/asm/
H A Defi.h130 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,
415 extern int __init efi_memmap_split_count(efi_memory_desc_t *md,
/openbmc/linux/arch/x86/boot/compressed/
H A Defi.h51 } efi_memory_desc_t; typedef
54 (efi_memory_desc_t *)((void *)(map) + ((n) * (desc_size)))

12