Searched refs:efi_mm (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.1/drivers/firmware/efi/ |
D | riscv-runtime.c | 34 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()
|
D | arm-runtime.c | 32 .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()
|
D | efi.c | 61 struct mm_struct efi_mm = { variable 62 .mm_mt = MTREE_INIT_EXT(mm_mt, MM_MT_FLAGS, efi_mm.mmap_lock), 65 .write_protect_seq = SEQCNT_ZERO(efi_mm.write_protect_seq), 66 MMAP_LOCK_INITIALIZER(efi_mm) 67 .page_table_lock = __SPIN_LOCK_UNLOCKED(efi_mm.page_table_lock), 68 .mmlist = LIST_HEAD_INIT(efi_mm.mmlist),
|
/Linux-v6.1/arch/x86/platform/efi/ |
D | efi_64.c | 89 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() 460 ptdump_walk_pgd_level(NULL, &efi_mm); in efi_dump_pagetable() 474 current->active_mm = &efi_mm; in efi_enter_mm() 475 switch_mm(efi_prev_mm, &efi_mm, NULL); in efi_enter_mm() [all …]
|
D | quirks.c | 380 pgd_t *pgd = efi_mm.pgd; in efi_unmap_pages()
|
/Linux-v6.1/arch/x86/mm/ |
D | debug_pagetables.c | 39 if (efi_mm.pgd) in ptdump_efi_show() 40 ptdump_walk_pgd_level_debugfs(m, &efi_mm, false); in ptdump_efi_show()
|
/Linux-v6.1/arch/riscv/include/asm/ |
D | efi.h | 25 sync_kernel_mappings(efi_mm.pgd); \
|
/Linux-v6.1/arch/riscv/mm/ |
D | ptdump.c | 122 .mm = &efi_mm,
|
/Linux-v6.1/include/linux/ |
D | efi.h | 674 extern struct mm_struct efi_mm;
|