Home
last modified time | relevance | path

Searched refs:kmap_pte (Results 1 – 16 of 16) 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()
106 BUG_ON(!pte_none(*(kmap_pte - idx))); in kmap_atomic_pfn()
108 set_pte(kmap_pte - idx, pfn_pte(pfn, PAGE_KERNEL)); in kmap_atomic_pfn()
120 kmap_pte = kmap_get_fixmap_pte(kmap_vstart); in kmap_init()
/arch/mips/mm/
Dhighmem.c10 static pte_t *kmap_pte; variable
60 BUG_ON(!pte_none(*(kmap_pte - idx))); in kmap_atomic()
62 set_pte(kmap_pte-idx, mk_pte(page, PAGE_KERNEL)); in kmap_atomic()
91 pte_clear(&init_mm, vaddr, kmap_pte-idx); in __kunmap_atomic()
116 set_pte(kmap_pte-idx, pfn_pte(pfn, PAGE_KERNEL)); in kmap_atomic_pfn()
128 kmap_pte = kmap_get_fixmap_pte(kmap_vstart); in kmap_init()
/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()
/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()
118 pte_clear(&init_mm, vaddr, kmap_pte-idx); in __kunmap_atomic()
/arch/mn10300/include/asm/
Dhighmem.h29 extern pte_t *kmap_pte;
87 if (!pte_none(*(kmap_pte - idx))) in kmap_atomic()
90 set_pte(kmap_pte - idx, mk_pte(page, kmap_prot)); in kmap_atomic()
120 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()
79 pte_clear(&init_mm, vaddr, kmap_pte-idx); in __kunmap_atomic()
Dmem.c67 pte_t *kmap_pte; variable
68 EXPORT_SYMBOL(kmap_pte);
319 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()
82 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()
Diomap_32.c68 set_pte(kmap_pte - idx, pfn_pte(pfn, prot)); in kmap_atomic_prot_pfn()
116 kpte_clear_flush(kmap_pte-idx, vaddr); in iounmap_atomic()
Dinit_32.c389 pte_t *kmap_pte; variable
405 kmap_pte = kmap_get_fixmap_pte(kmap_vstart); in kmap_init()
/arch/microblaze/include/asm/
Dhighmem.h27 extern pte_t *kmap_pte;
/arch/powerpc/include/asm/
Dhighmem.h31 extern pte_t *kmap_pte;
/arch/frv/include/asm/
Dhighmem.h44 #define kmap_pte ______kmap_pte_in_TLB macro
/arch/x86/include/asm/
Dfixmap.h140 extern pte_t *kmap_pte;