Home
last modified time | relevance | path

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

/linux-6.1.9/arch/sh/mm/
Dfault.c126 pmd_t *pmd, *pmd_k; in vmalloc_sync_one() local
148 pmd_k = pmd_offset(pud_k, address); in vmalloc_sync_one()
149 if (!pmd_present(*pmd_k)) in vmalloc_sync_one()
153 set_pmd(pmd, *pmd_k); in vmalloc_sync_one()
160 BUG_ON(pmd_page(*pmd) != pmd_page(*pmd_k)); in vmalloc_sync_one()
164 return pmd_k; in vmalloc_sync_one()
179 pmd_t *pmd_k; in vmalloc_fault() local
194 pmd_k = vmalloc_sync_one(pgd_k, address); in vmalloc_fault()
195 if (!pmd_k) in vmalloc_fault()
198 pte_k = pte_offset_kernel(pmd_k, address); in vmalloc_fault()
/linux-6.1.9/arch/openrisc/mm/
Dfault.c292 pmd_t *pmd, *pmd_k; in do_page_fault() local
328 pmd_k = pmd_offset(pud_k, address); in do_page_fault()
330 if (!pmd_present(*pmd_k)) in do_page_fault()
333 set_pmd(pmd, *pmd_k); in do_page_fault()
341 pte_k = pte_offset_kernel(pmd_k, address); in do_page_fault()
/linux-6.1.9/arch/nios2/mm/
Dfault.c243 pmd_t *pmd, *pmd_k; in do_page_fault() local
262 pmd_k = pmd_offset(pud_k, address); in do_page_fault()
263 if (!pmd_present(*pmd_k)) in do_page_fault()
265 set_pmd(pmd, *pmd_k); in do_page_fault()
267 pte_k = pte_offset_kernel(pmd_k, address); in do_page_fault()
/linux-6.1.9/arch/xtensa/mm/
Dfault.c37 pmd_t *pmd, *pmd_k; in vmalloc_fault() local
62 pmd_k = pmd_offset(pud_k, address); in vmalloc_fault()
63 if (!pmd_present(*pmd) || !pmd_present(*pmd_k)) in vmalloc_fault()
66 pmd_val(*pmd) = pmd_val(*pmd_k); in vmalloc_fault()
67 pte_k = pte_offset_kernel(pmd_k, address); in vmalloc_fault()
/linux-6.1.9/arch/arc/mm/
Dfault.c34 pmd_t *pmd, *pmd_k; in handle_kernel_vaddr_fault() local
59 pmd_k = pmd_offset(pud_k, address); in handle_kernel_vaddr_fault()
60 if (pmd_none(*pmd_k)) in handle_kernel_vaddr_fault()
63 set_pmd(pmd, *pmd_k); in handle_kernel_vaddr_fault()
Dhighmem.c52 pmd_t *pmd_k = pmd_off_k(kvaddr); in alloc_kmap_pgtable() local
60 pmd_populate_kernel(&init_mm, pmd_k, pte_k); in alloc_kmap_pgtable()
/linux-6.1.9/arch/csky/mm/
Dfault.c120 pmd_t *pmd, *pmd_k; in vmalloc_fault() local
156 pmd_k = pmd_offset(pud_k, addr); in vmalloc_fault()
157 if (!pmd_present(*pmd_k)) { in vmalloc_fault()
161 set_pmd(pmd, *pmd_k); in vmalloc_fault()
163 pte_k = pte_offset_kernel(pmd_k, addr); in vmalloc_fault()
/linux-6.1.9/arch/mips/mm/
Dfault.c296 pmd_t *pmd, *pmd_k; in __do_page_fault() local
317 pmd_k = pmd_offset(pud_k, address); in __do_page_fault()
318 if (!pmd_present(*pmd_k)) in __do_page_fault()
320 set_pmd(pmd, *pmd_k); in __do_page_fault()
322 pte_k = pte_offset_kernel(pmd_k, address); in __do_page_fault()
/linux-6.1.9/arch/x86/mm/
Dfault.c179 pmd_t *pmd, *pmd_k; in vmalloc_sync_one() local
203 pmd_k = pmd_offset(pud_k, address); in vmalloc_sync_one()
205 if (pmd_present(*pmd) != pmd_present(*pmd_k)) in vmalloc_sync_one()
206 set_pmd(pmd, *pmd_k); in vmalloc_sync_one()
208 if (!pmd_present(*pmd_k)) in vmalloc_sync_one()
211 BUG_ON(pmd_pfn(*pmd) != pmd_pfn(*pmd_k)); in vmalloc_sync_one()
213 return pmd_k; in vmalloc_sync_one()
233 pmd_t *pmd_k; in vmalloc_fault() local
248 pmd_k = vmalloc_sync_one(__va(pgd_paddr), address); in vmalloc_fault()
249 if (!pmd_k) in vmalloc_fault()
[all …]
/linux-6.1.9/arch/riscv/mm/
Dfault.c107 pmd_t *pmd_k; in vmalloc_fault() local
151 pmd_k = pmd_offset(pud_k, addr); in vmalloc_fault()
152 if (!pmd_present(*pmd_k)) { in vmalloc_fault()
163 pte_k = pte_offset_kernel(pmd_k, addr); in vmalloc_fault()
/linux-6.1.9/arch/sh/kernel/
Dio_trapped.c139 pmd_t *pmd_k; in lookup_tiop() local
155 pmd_k = pmd_offset(pud_k, address); in lookup_tiop()
156 if (!pmd_present(*pmd_k)) in lookup_tiop()
159 pte_k = pte_offset_kernel(pmd_k, address); in lookup_tiop()
/linux-6.1.9/arch/sparc/mm/
Dfault_32.c282 pmd_t *pmd, *pmd_k; in do_sparc_fault() local
300 pmd_k = pmd_offset(pud_k, address); in do_sparc_fault()
302 if (pmd_present(*pmd) || !pmd_present(*pmd_k)) in do_sparc_fault()
305 *pmd = *pmd_k; in do_sparc_fault()
/linux-6.1.9/arch/arm/mm/
Dfault.c433 pmd_t *pmd, *pmd_k; in do_translation_fault() local
463 pmd_k = pmd_offset(pud_k, addr); in do_translation_fault()
481 if (pmd_none(pmd_k[index])) in do_translation_fault()
484 copy_pmd(pmd, pmd_k); in do_translation_fault()