Home
last modified time | relevance | path

Searched refs:kmap_pte (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/arch/mips/mm/
Dhighmem.c11 static pte_t *kmap_pte; variable
61 BUG_ON(!pte_none(*(kmap_pte - idx))); in kmap_atomic()
63 set_pte(kmap_pte-idx, mk_pte(page, PAGE_KERNEL)); in kmap_atomic()
92 pte_clear(&init_mm, vaddr, kmap_pte-idx); in __kunmap_atomic()
117 set_pte(kmap_pte-idx, pfn_pte(pfn, PAGE_KERNEL)); in kmap_atomic_pfn()
129 kmap_pte = kmap_get_fixmap_pte(kmap_vstart); in kmap_init()
/Linux-v4.19/arch/xtensa/mm/
Dhighmem.c15 static pte_t *kmap_pte; variable
54 BUG_ON(!pte_none(*(kmap_pte + idx))); in kmap_atomic()
56 set_pte(kmap_pte + idx, mk_pte(page, PAGE_KERNEL_EXEC)); in kmap_atomic()
75 pte_clear(&init_mm, kvaddr, kmap_pte + idx); in __kunmap_atomic()
93 kmap_pte = kmap_get_fixmap_pte(kmap_vstart); in kmap_init()
/Linux-v4.19/arch/sparc/mm/
Dhighmem.c37 static pte_t *kmap_pte; variable
48 kmap_pte = pte_offset_kernel(dir, address); in kmap_init()
74 BUG_ON(!pte_none(*(kmap_pte-idx))); in kmap_atomic()
76 set_pte(kmap_pte-idx, mk_pte(page, kmap_prot)); in kmap_atomic()
119 pte_clear(&init_mm, vaddr, kmap_pte-idx); in __kunmap_atomic()
/Linux-v4.19/arch/microblaze/mm/
Dhighmem.c51 BUG_ON(!pte_none(*(kmap_pte-idx))); in kmap_atomic_prot()
53 set_pte_at(&init_mm, vaddr, kmap_pte-idx, mk_pte(page, prot)); in kmap_atomic_prot()
82 pte_clear(&init_mm, vaddr, kmap_pte-idx); in __kunmap_atomic()
Dinit.c50 pte_t *kmap_pte; variable
51 EXPORT_SYMBOL(kmap_pte);
67 kmap_pte = virt_to_kpte(__fix_to_virt(FIX_KMAP_BEGIN)); in highmem_init()
/Linux-v4.19/arch/powerpc/mm/
Dhighmem.c47 BUG_ON(!pte_none(*(kmap_pte-idx))); in kmap_atomic_prot()
49 __set_pte_at(&init_mm, vaddr, kmap_pte-idx, mk_pte(page, prot), 1); in kmap_atomic_prot()
80 pte_clear(&init_mm, vaddr, kmap_pte-idx); in __kunmap_atomic()
Dmem.c69 pte_t *kmap_pte; variable
70 EXPORT_SYMBOL(kmap_pte);
319 kmap_pte = virt_to_kpte(__fix_to_virt(FIX_KMAP_BEGIN)); in paging_init()
/Linux-v4.19/arch/x86/mm/
Dhighmem_32.c47 BUG_ON(!pte_none(*(kmap_pte-idx))); in kmap_atomic_prot()
48 set_pte(kmap_pte-idx, mk_pte(page, prot)); in kmap_atomic_prot()
91 kpte_clear_flush(kmap_pte-idx, vaddr); in __kunmap_atomic()
Diomap_32.c71 set_pte(kmap_pte - idx, pfn_pte(pfn, prot)); in kmap_atomic_prot_pfn()
122 kpte_clear_flush(kmap_pte-idx, vaddr); in iounmap_atomic()
Dinit_32.c391 pte_t *kmap_pte; variable
410 kmap_pte = kmap_get_fixmap_pte(kmap_vstart); in kmap_init()
/Linux-v4.19/arch/microblaze/include/asm/
Dhighmem.h28 extern pte_t *kmap_pte;
/Linux-v4.19/arch/powerpc/include/asm/
Dhighmem.h32 extern pte_t *kmap_pte;
/Linux-v4.19/arch/x86/include/asm/
Dfixmap.h157 extern pte_t *kmap_pte;