Home
last modified time | relevance | path

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

/arch/metag/mm/
Dhighmem.c9 static pte_t *kmap_pte; variable
55 BUG_ON(!pte_none(*(kmap_pte - idx))); in kmap_atomic()
57 set_pte(kmap_pte - idx, mk_pte(page, PAGE_KERNEL)); in kmap_atomic()
78 pte_clear(&init_mm, vaddr, kmap_pte-idx); in __kunmap_atomic()
104 BUG_ON(!pte_none(*(kmap_pte - idx))); in kmap_atomic_pfn()
106 set_pte(kmap_pte - idx, pfn_pte(pfn, PAGE_KERNEL)); in kmap_atomic_pfn()
122 pte = kmap_pte - (idx - FIX_KMAP_BEGIN); in kmap_atomic_to_page()
132 kmap_pte = kmap_get_fixmap_pte(kmap_vstart); in kmap_init()
/arch/mips/mm/
Dhighmem.c9 static pte_t *kmap_pte; variable
59 BUG_ON(!pte_none(*(kmap_pte - idx))); in kmap_atomic()
61 set_pte(kmap_pte-idx, mk_pte(page, PAGE_KERNEL)); in kmap_atomic()
89 pte_clear(&init_mm, vaddr, kmap_pte-idx); in __kunmap_atomic()
112 set_pte(kmap_pte-idx, pfn_pte(pfn, PAGE_KERNEL)); in kmap_atomic_pfn()
127 pte = kmap_pte - (idx - FIX_KMAP_BEGIN); in kmap_atomic_to_page()
137 kmap_pte = kmap_get_fixmap_pte(kmap_vstart); in kmap_init()
/arch/xtensa/mm/
Dhighmem.c15 static pte_t *kmap_pte; variable
53 BUG_ON(!pte_none(*(kmap_pte + idx))); in kmap_atomic()
55 set_pte(kmap_pte + idx, mk_pte(page, PAGE_KERNEL_EXEC)); in kmap_atomic()
74 pte_clear(&init_mm, kvaddr, kmap_pte + idx); in __kunmap_atomic()
91 kmap_pte = kmap_get_fixmap_pte(kmap_vstart); in kmap_init()
/arch/sparc/mm/
Dhighmem.c36 static pte_t *kmap_pte; variable
47 kmap_pte = pte_offset_kernel(dir, address); in kmap_init()
73 BUG_ON(!pte_none(*(kmap_pte-idx))); in kmap_atomic()
75 set_pte(kmap_pte-idx, mk_pte(page, kmap_prot)); in kmap_atomic()
117 pte_clear(&init_mm, vaddr, kmap_pte-idx); in __kunmap_atomic()
/arch/mn10300/include/asm/
Dhighmem.h29 extern pte_t *kmap_pte;
86 if (!pte_none(*(kmap_pte - idx))) in kmap_atomic()
89 set_pte(kmap_pte - idx, mk_pte(page, kmap_prot)); in kmap_atomic()
118 pte_clear(kmap_pte - idx); in __kunmap_atomic()
/arch/powerpc/mm/
Dhighmem.c46 BUG_ON(!pte_none(*(kmap_pte-idx))); in kmap_atomic_prot()
48 __set_pte_at(&init_mm, vaddr, kmap_pte-idx, mk_pte(page, prot), 1); in kmap_atomic_prot()
78 pte_clear(&init_mm, vaddr, kmap_pte-idx); in __kunmap_atomic()
Dmem.c68 pte_t *kmap_pte; variable
69 EXPORT_SYMBOL(kmap_pte);
339 kmap_pte = virt_to_kpte(__fix_to_virt(FIX_KMAP_BEGIN)); in paging_init()
/arch/microblaze/mm/
Dhighmem.c50 BUG_ON(!pte_none(*(kmap_pte-idx))); in kmap_atomic_prot()
52 set_pte_at(&init_mm, vaddr, kmap_pte-idx, mk_pte(page, prot)); in kmap_atomic_prot()
81 pte_clear(&init_mm, vaddr, kmap_pte-idx); in __kunmap_atomic()
Dinit.c53 pte_t *kmap_pte; variable
54 EXPORT_SYMBOL(kmap_pte);
70 kmap_pte = virt_to_kpte(__fix_to_virt(FIX_KMAP_BEGIN)); in highmem_init()
/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()
115 pte = kmap_pte - (idx - FIX_KMAP_BEGIN); in kmap_atomic_to_page()
Diomap_32.c67 set_pte(kmap_pte - idx, pfn_pte(pfn, prot)); in kmap_atomic_prot_pfn()
113 kpte_clear_flush(kmap_pte-idx, vaddr); in iounmap_atomic()
Dinit_32.c390 pte_t *kmap_pte; variable
407 kmap_pte = kmap_get_fixmap_pte(kmap_vstart); in kmap_init()
/arch/microblaze/include/asm/
Dhighmem.h27 extern pte_t *kmap_pte;
88 pte = kmap_pte - (idx - FIX_KMAP_BEGIN); in kmap_atomic_to_page()
/arch/powerpc/include/asm/
Dhighmem.h31 extern pte_t *kmap_pte;
96 pte = kmap_pte - (idx - FIX_KMAP_BEGIN); in kmap_atomic_to_page()
/arch/frv/include/asm/
Dhighmem.h44 #define kmap_pte ______kmap_pte_in_TLB macro
/arch/x86/include/asm/
Dfixmap.h145 extern pte_t *kmap_pte;
/arch/um/kernel/
Dmem.c131 pte_t *kmap_pte; variable
144 kmap_pte = kmap_get_fixmap_pte(kmap_vstart); in kmap_init()