Home
last modified time | relevance | path

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

/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()
/arch/nios2/mm/
Dfault.c241 pmd_t *pmd, *pmd_k; in do_page_fault() local
260 pmd_k = pmd_offset(pud_k, address); in do_page_fault()
261 if (!pmd_present(*pmd_k)) in do_page_fault()
263 set_pmd(pmd, *pmd_k); in do_page_fault()
265 pte_k = pte_offset_kernel(pmd_k, address); in do_page_fault()
/arch/openrisc/mm/
Dfault.c299 pmd_t *pmd, *pmd_k; in do_page_fault() local
335 pmd_k = pmd_offset(pud_k, address); in do_page_fault()
337 if (!pmd_present(*pmd_k)) in do_page_fault()
340 set_pmd(pmd, *pmd_k); in do_page_fault()
348 pte_k = pte_offset_kernel(pmd_k, address); in do_page_fault()
/arch/nds32/mm/
Dfault.c353 pmd_t *pmd, *pmd_k; in do_page_fault() local
373 pmd_k = pmd_offset(pud_k, addr); in do_page_fault()
374 if (!pmd_present(*pmd_k)) in do_page_fault()
378 set_pmd(pmd, *pmd_k); in do_page_fault()
380 BUG_ON(pmd_page(*pmd) != pmd_page(*pmd_k)); in do_page_fault()
396 pte_k = pte_offset_kernel(pmd_k, addr); in do_page_fault()
/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()
/arch/xtensa/mm/
Dfault.c196 pmd_t *pmd, *pmd_k; in do_page_fault() local
221 pmd_k = pmd_offset(pud_k, address); in do_page_fault()
222 if (!pmd_present(*pmd) || !pmd_present(*pmd_k)) in do_page_fault()
225 pmd_val(*pmd) = pmd_val(*pmd_k); in do_page_fault()
226 pte_k = pte_offset_kernel(pmd_k, address); in do_page_fault()
/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()
/arch/mips/mm/
Dfault.c293 pmd_t *pmd, *pmd_k; in __do_page_fault() local
314 pmd_k = pmd_offset(pud_k, address); in __do_page_fault()
315 if (!pmd_present(*pmd_k)) in __do_page_fault()
317 set_pmd(pmd, *pmd_k); in __do_page_fault()
319 pte_k = pte_offset_kernel(pmd_k, address); in __do_page_fault()
/arch/riscv/mm/
Dfault.c107 pmd_t *pmd, *pmd_k; in vmalloc_fault() local
154 pmd_k = pmd_offset(pud_k, addr); in vmalloc_fault()
155 if (!pmd_present(*pmd_k)) { in vmalloc_fault()
159 set_pmd(pmd, *pmd_k); in vmalloc_fault()
167 pte_k = pte_offset_kernel(pmd_k, addr); in vmalloc_fault()
/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()
/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 …]
/arch/sparc/mm/
Dfault_32.c281 pmd_t *pmd, *pmd_k; in do_sparc_fault() local
299 pmd_k = pmd_offset(pud_k, address); in do_sparc_fault()
301 if (pmd_present(*pmd) || !pmd_present(*pmd_k)) in do_sparc_fault()
304 *pmd = *pmd_k; in do_sparc_fault()
/arch/arm/mm/
Dfault.c398 pmd_t *pmd, *pmd_k; in do_translation_fault() local
428 pmd_k = pmd_offset(pud_k, addr); in do_translation_fault()
446 if (pmd_none(pmd_k[index])) in do_translation_fault()
449 copy_pmd(pmd, pmd_k); in do_translation_fault()