Home
last modified time | relevance | path

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

/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()
44 efi_create_mapping(&efi_mm, md); in efi_virtmap_init()
47 if (efi_memattr_apply_permissions(&efi_mm, efi_set_mapping_permissions)) in efi_virtmap_init()
128 switch_mm(current->active_mm, &efi_mm, NULL); in efi_virtmap_load()
133 switch_mm(&efi_mm, current->active_mm, NULL); in efi_virtmap_unload()
139 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.c68 struct mm_struct efi_mm = { variable
69 .mm_mt = MTREE_INIT_EXT(mm_mt, MM_MT_FLAGS, efi_mm.mmap_lock),
72 .write_protect_seq = SEQCNT_ZERO(efi_mm.write_protect_seq),
73 MMAP_LOCK_INITIALIZER(efi_mm)
74 .page_table_lock = __SPIN_LOCK_UNLOCKED(efi_mm.page_table_lock),
75 .mmlist = LIST_HEAD_INIT(efi_mm.mmlist),
78 .mm_cid.lock = __RAW_SPIN_LOCK_UNLOCKED(efi_mm.mm_cid.lock),
/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()
92 set_notrack_mm(&efi_mm); in efi_alloc_page_tables()
114 pgd_t *efi_pgd = efi_mm.pgd; in efi_sync_low_kernel_mappings()
184 pgd_t *pgd = efi_mm.pgd; in efi_setup_page_tables()
275 pgd_t *pgd = efi_mm.pgd; in __map_region()
373 pgd_t *pgd = efi_mm.pgd; in efi_update_mappings()
425 ptdump_walk_pgd_level(NULL, &efi_mm); in efi_dump_pagetable()
438 efi_prev_mm = use_temporary_mm(&efi_mm); in efi_enter_mm()
/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()
/linux/arch/riscv/mm/
H A Dptdump.c121 .mm = &efi_mm,