Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/firmware/efi/
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()
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()
Defi.c56 struct mm_struct efi_mm = { variable
60 .write_protect_seq = SEQCNT_ZERO(efi_mm.write_protect_seq),
61 MMAP_LOCK_INITIALIZER(efi_mm)
62 .page_table_lock = __SPIN_LOCK_UNLOCKED(efi_mm.page_table_lock),
63 .mmlist = LIST_HEAD_INIT(efi_mm.mmlist),
/kernel/linux/linux-5.10/arch/x86/platform/efi/
Defi_64.c60 EXPORT_SYMBOL_GPL(efi_mm);
92 efi_mm.pgd = efi_pgd; in efi_alloc_page_tables()
93 mm_init_cpumask(&efi_mm); in efi_alloc_page_tables()
94 init_new_context(NULL, &efi_mm); in efi_alloc_page_tables()
116 pgd_t *efi_pgd = efi_mm.pgd; in efi_sync_low_kernel_mappings()
185 pgd_t *pgd = efi_mm.pgd; in efi_setup_page_tables()
269 pgd_t *pgd = efi_mm.pgd; in __map_region()
366 pgd_t *pgd = efi_mm.pgd; in efi_update_mappings()
454 ptdump_walk_pgd_level(NULL, &efi_mm); in efi_dump_pagetable()
533 efi_switch_mm(&efi_mm); in efi_thunk_set_virtual_address_map()
[all …]
Dquirks.c380 pgd_t *pgd = efi_mm.pgd; in efi_unmap_pages()
/kernel/linux/linux-5.10/arch/x86/mm/
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()
/kernel/linux/linux-5.10/arch/riscv/mm/
Dptdump.c95 .mm = &efi_mm,
/kernel/linux/linux-5.10/arch/x86/include/asm/
Defi.h112 efi_switch_mm(&efi_mm); \
/kernel/linux/linux-5.10/include/linux/
Defi.h594 extern struct mm_struct efi_mm;