Home
last modified time | relevance | path

Searched refs:efi_mm (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/firmware/efi/
H A Driscv-runtime.c34 efi_mm.pgd = pgd_alloc(&efi_mm); in efi_virtmap_init()
35 mm_init_cpumask(&efi_mm); in efi_virtmap_init()
36 init_new_context(NULL, &efi_mm); in efi_virtmap_init()
47 ret = efi_create_mapping(&efi_mm, md); in efi_virtmap_init()
55 if (efi_memattr_apply_permissions(&efi_mm, efi_set_mapping_permissions)) in efi_virtmap_init()
136 switch_mm(current->active_mm, &efi_mm, NULL); in efi_virtmap_load()
141 switch_mm(&efi_mm, current->active_mm, NULL); in efi_virtmap_unload()
147 sync_kernel_mappings(efi_mm.pgd); in arch_efi_call_virt_setup()
H A Darm-runtime.c32 .mm = &efi_mm,
56 efi_mm.pgd = pgd_alloc(&efi_mm); in efi_virtmap_init()
57 mm_init_cpumask(&efi_mm); in efi_virtmap_init()
58 init_new_context(NULL, &efi_mm); in efi_virtmap_init()
69 ret = efi_create_mapping(&efi_mm, md); in efi_virtmap_init()
77 if (efi_memattr_apply_permissions(&efi_mm, efi_set_mapping_permissions)) in efi_virtmap_init()
158 efi_set_pgd(&efi_mm); in efi_virtmap_load()
H A Defi.c66 struct mm_struct efi_mm = { variable
67 .mm_mt = MTREE_INIT_EXT(mm_mt, MM_MT_FLAGS, efi_mm.mmap_lock),
70 .write_protect_seq = SEQCNT_ZERO(efi_mm.write_protect_seq),
71 MMAP_LOCK_INITIALIZER(efi_mm)
72 .page_table_lock = __SPIN_LOCK_UNLOCKED(efi_mm.page_table_lock),
73 .mmlist = LIST_HEAD_INIT(efi_mm.mmlist),
/openbmc/linux/arch/x86/platform/efi/
H A Defi_64.c89 efi_mm.pgd = efi_pgd; in efi_alloc_page_tables()
90 mm_init_cpumask(&efi_mm); in efi_alloc_page_tables()
91 init_new_context(NULL, &efi_mm); in efi_alloc_page_tables()
113 pgd_t *efi_pgd = efi_mm.pgd; in efi_sync_low_kernel_mappings()
183 pgd_t *pgd = efi_mm.pgd; in efi_setup_page_tables()
274 pgd_t *pgd = efi_mm.pgd; in __map_region()
372 pgd_t *pgd = efi_mm.pgd; in efi_update_mappings()
466 ptdump_walk_pgd_level(NULL, &efi_mm); in efi_dump_pagetable()
480 current->active_mm = &efi_mm; in efi_enter_mm()
481 switch_mm(efi_prev_mm, &efi_mm, NULL); in efi_enter_mm()
[all …]
H A Dquirks.c388 pgd_t *pgd = efi_mm.pgd; in efi_unmap_pages()
/openbmc/linux/arch/x86/mm/
H A Ddebug_pagetables.c39 if (efi_mm.pgd) in ptdump_efi_show()
40 ptdump_walk_pgd_level_debugfs(m, &efi_mm, false); in ptdump_efi_show()
/openbmc/linux/arch/riscv/mm/
H A Dptdump.c122 .mm = &efi_mm,
/openbmc/linux/include/linux/
H A Defi.h695 extern struct mm_struct efi_mm;