Home
last modified time | relevance | path

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

/Linux-v5.10/arch/mips/mm/
Dhighmem.c11 static pte_t *kmap_pte; variable
30 BUG_ON(!pte_none(*(kmap_pte - idx))); in kmap_atomic_high_prot()
32 set_pte(kmap_pte-idx, mk_pte(page, prot)); in kmap_atomic_high_prot()
58 pte_clear(&init_mm, vaddr, kmap_pte-idx); in kunmap_atomic_high()
81 set_pte(kmap_pte-idx, pfn_pte(pfn, PAGE_KERNEL)); in kmap_atomic_pfn()
93 kmap_pte = virt_to_kpte(kmap_vstart); in kmap_init()
/Linux-v5.10/arch/sparc/mm/
Dhighmem.c34 static pte_t *kmap_pte; variable
41 kmap_pte = virt_to_kpte(address); in kmap_init()
61 BUG_ON(!pte_none(*(kmap_pte-idx))); in kmap_atomic_high_prot()
63 set_pte(kmap_pte-idx, mk_pte(page, prot)); in kmap_atomic_high_prot()
103 pte_clear(&init_mm, vaddr, kmap_pte-idx); in kunmap_atomic_high()
/Linux-v5.10/arch/csky/mm/
Dhighmem.c12 static pte_t *kmap_pte; variable
31 BUG_ON(!pte_none(*(kmap_pte - idx))); in kmap_atomic_high_prot()
33 set_pte(kmap_pte-idx, mk_pte(page, prot)); in kmap_atomic_high_prot()
53 pte_clear(&init_mm, vaddr, kmap_pte - idx); in kunmap_atomic_high()
76 set_pte(kmap_pte-idx, pfn_pte(pfn, PAGE_KERNEL)); in kmap_atomic_pfn()
108 kmap_pte = pte_offset_kernel((pmd_t *)pgd_offset_k(vaddr), vaddr); in kmap_init()
/Linux-v5.10/arch/xtensa/mm/
Dhighmem.c15 static pte_t *kmap_pte; variable
49 BUG_ON(!pte_none(*(kmap_pte + idx))); in kmap_atomic_high_prot()
51 set_pte(kmap_pte + idx, mk_pte(page, prot)); in kmap_atomic_high_prot()
70 pte_clear(&init_mm, kvaddr, kmap_pte + idx); in kunmap_atomic_high()
89 kmap_pte = virt_to_kpte(kmap_vstart); in kmap_init()
/Linux-v5.10/arch/microblaze/mm/
Dhighmem.c45 BUG_ON(!pte_none(*(kmap_pte-idx))); in kmap_atomic_high_prot()
47 set_pte_at(&init_mm, vaddr, kmap_pte-idx, mk_pte(page, prot)); in kmap_atomic_high_prot()
73 pte_clear(&init_mm, vaddr, kmap_pte-idx); in kunmap_atomic_high()
Dinit.c53 pte_t *kmap_pte; variable
54 EXPORT_SYMBOL(kmap_pte);
62 kmap_pte = virt_to_kpte(__fix_to_virt(FIX_KMAP_BEGIN)); in highmem_init()
/Linux-v5.10/arch/powerpc/mm/
Dhighmem.c35 WARN_ON(IS_ENABLED(CONFIG_DEBUG_HIGHMEM) && !pte_none(*(kmap_pte - idx))); in kmap_atomic_high_prot()
36 __set_pte_at(&init_mm, vaddr, kmap_pte-idx, mk_pte(page, prot), 1); in kmap_atomic_high_prot()
61 pte_clear(&init_mm, vaddr, kmap_pte-idx); in kunmap_atomic_high()
Dmem.c66 pte_t *kmap_pte; variable
67 EXPORT_SYMBOL(kmap_pte);
240 kmap_pte = virt_to_kpte(__fix_to_virt(FIX_KMAP_BEGIN)); in paging_init()
/Linux-v5.10/arch/x86/mm/
Dhighmem_32.c15 BUG_ON(!pte_none(*(kmap_pte-idx))); in kmap_atomic_high_prot()
16 set_pte(kmap_pte-idx, mk_pte(page, prot)); in kmap_atomic_high_prot()
53 kpte_clear_flush(kmap_pte-idx, vaddr); in kunmap_atomic_high()
Diomap_32.c58 set_pte(kmap_pte - idx, pfn_pte(pfn, prot)); in kmap_atomic_prot_pfn()
109 kpte_clear_flush(kmap_pte-idx, vaddr); in iounmap_atomic()
Dinit_32.c397 pte_t *kmap_pte; variable
407 kmap_pte = virt_to_kpte(kmap_vstart); in kmap_init()
/Linux-v5.10/arch/microblaze/include/asm/
Dhighmem.h28 extern pte_t *kmap_pte;
/Linux-v5.10/arch/powerpc/include/asm/
Dhighmem.h32 extern pte_t *kmap_pte;
/Linux-v5.10/arch/x86/include/asm/
Dfixmap.h154 extern pte_t *kmap_pte;