Home
last modified time | relevance | path

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

/arch/sh/mm/
Dfault.c131 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/score/mm/
Dfault.c209 pmd_t *pmd, *pmd_k; in do_page_fault() local
225 pmd_k = pmd_offset(pud_k, address); in do_page_fault()
226 if (!pmd_present(*pmd_k)) in do_page_fault()
228 set_pmd(pmd, *pmd_k); in do_page_fault()
230 pte_k = pte_offset_kernel(pmd_k, address); in do_page_fault()
/arch/openrisc/mm/
Dfault.c309 pmd_t *pmd, *pmd_k; in do_page_fault() local
340 pmd_k = pmd_offset(pud_k, address); in do_page_fault()
342 if (!pmd_present(*pmd_k)) in do_page_fault()
345 set_pmd(pmd, *pmd_k); in do_page_fault()
353 pte_k = pte_offset_kernel(pmd_k, address); in do_page_fault()
/arch/metag/mm/
Dfault.c72 pmd_t *pmd, *pmd_k; in do_page_fault() local
93 pmd_k = pmd_offset(pud_k, address); in do_page_fault()
94 if (!pmd_present(*pmd_k)) in do_page_fault()
96 set_pmd(pmd, *pmd_k); in do_page_fault()
98 pte_k = pte_offset_kernel(pmd_k, address); in do_page_fault()
/arch/cris/mm/
Dfault.c320 pmd_t *pmd, *pmd_k; in do_page_fault() local
344 pmd_k = pmd_offset(pud_k, address); in do_page_fault()
346 if (!pmd_present(*pmd_k)) in do_page_fault()
349 set_pmd(pmd, *pmd_k); in do_page_fault()
357 pte_k = pte_offset_kernel(pmd_k, address); in do_page_fault()
/arch/xtensa/mm/
Dfault.c199 pmd_t *pmd, *pmd_k; in do_page_fault() local
214 pmd_k = pmd_offset(pgd_k, address); in do_page_fault()
215 if (!pmd_present(*pmd) || !pmd_present(*pmd_k)) in do_page_fault()
218 pmd_val(*pmd) = pmd_val(*pmd_k); in do_page_fault()
219 pte_k = pte_offset_kernel(pmd_k, address); in do_page_fault()
/arch/arc/mm/
Dfault.c27 pmd_t *pmd, *pmd_k; in handle_vmalloc_fault() local
41 pmd_k = pmd_offset(pud_k, address); in handle_vmalloc_fault()
42 if (!pmd_present(*pmd_k)) in handle_vmalloc_fault()
45 set_pmd(pmd, *pmd_k); in handle_vmalloc_fault()
/arch/tile/mm/
Dfault.c108 pmd_t *pmd, *pmd_k; in vmalloc_sync_one() local
122 pmd_k = pmd_offset(pud_k, address); in vmalloc_sync_one()
123 if (!pmd_present(*pmd_k)) in vmalloc_sync_one()
126 set_pmd(pmd, *pmd_k); in vmalloc_sync_one()
129 BUG_ON(pmd_ptfn(*pmd) != pmd_ptfn(*pmd_k)); in vmalloc_sync_one()
130 return pmd_k; in vmalloc_sync_one()
138 pmd_t *pmd_k; in vmalloc_fault() local
149 pmd_k = vmalloc_sync_one(pgd, address); in vmalloc_fault()
150 if (!pmd_k) in vmalloc_fault()
152 if (pmd_huge(*pmd_k)) in vmalloc_fault()
[all …]
/arch/frv/mm/
Dfault.c297 pmd_t *pmd, *pmd_k; in do_page_fault() local
312 pmd_k = pmd_offset(pud_k, ear0); in do_page_fault()
313 if (!pmd_present(*pmd_k)) in do_page_fault()
318 set_pmd(pmd, *pmd_k); in do_page_fault()
320 pte_k = pte_offset_kernel(pmd_k, ear0); in do_page_fault()
/arch/mips/mm/
Dfault.c293 pmd_t *pmd, *pmd_k; in __do_page_fault() local
309 pmd_k = pmd_offset(pud_k, address); in __do_page_fault()
310 if (!pmd_present(*pmd_k)) in __do_page_fault()
312 set_pmd(pmd, *pmd_k); in __do_page_fault()
314 pte_k = pte_offset_kernel(pmd_k, address); in __do_page_fault()
/arch/mn10300/mm/
Dfault.c383 pmd_t *pmd, *pmd_k; in do_page_fault() local
395 pmd_k = pmd_offset(pud_k, address); in do_page_fault()
396 if (!pmd_present(*pmd_k)) in do_page_fault()
402 set_pmd(pmd, *pmd_k); in do_page_fault()
404 pte_k = pte_offset_kernel(pmd_k, address); in do_page_fault()
/arch/sh/kernel/
Dio_trapped.c143 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/m32r/mm/
Dfault.c305 pmd_t *pmd, *pmd_k; in do_page_fault() local
321 pmd_k = pmd_offset(pgd_k, address); in do_page_fault()
322 if (!pmd_present(*pmd_k)) in do_page_fault()
324 set_pmd(pmd, *pmd_k); in do_page_fault()
326 pte_k = pte_offset_kernel(pmd_k, address); in do_page_fault()
/arch/x86/mm/
Dfault.c194 pmd_t *pmd, *pmd_k; in vmalloc_sync_one() local
213 pmd_k = pmd_offset(pud_k, address); in vmalloc_sync_one()
214 if (!pmd_present(*pmd_k)) in vmalloc_sync_one()
218 set_pmd(pmd, *pmd_k); in vmalloc_sync_one()
220 BUG_ON(pmd_page(*pmd) != pmd_page(*pmd_k)); in vmalloc_sync_one()
222 return pmd_k; in vmalloc_sync_one()
264 pmd_t *pmd_k; in vmalloc_fault() local
281 pmd_k = vmalloc_sync_one(__va(pgd_paddr), address); in vmalloc_fault()
282 if (!pmd_k) in vmalloc_fault()
285 pte_k = pte_offset_kernel(pmd_k, address); in vmalloc_fault()
/arch/sparc/mm/
Dfault_32.c357 pmd_t *pmd, *pmd_k; in do_sparc_fault() local
370 pmd_k = pmd_offset(pgd_k, address); in do_sparc_fault()
372 if (pmd_present(*pmd) || !pmd_present(*pmd_k)) in do_sparc_fault()
375 *pmd = *pmd_k; in do_sparc_fault()
/arch/unicore32/mm/
Dfault.c343 pmd_t *pmd, *pmd_k; in do_ifault() local
359 pmd_k = pmd_offset((pud_t *) pgd_k, addr); in do_ifault()
362 if (pmd_none(*pmd_k)) in do_ifault()
365 set_pmd(pmd, *pmd_k); in do_ifault()
/arch/arm/mm/
Dfault.c426 pmd_t *pmd, *pmd_k; in do_translation_fault() local
453 pmd_k = pmd_offset(pud_k, addr); in do_translation_fault()
471 if (pmd_none(pmd_k[index])) in do_translation_fault()
474 copy_pmd(pmd, pmd_k); in do_translation_fault()
/arch/metag/kernel/
Ddma.c395 pmd_t *pmd, *pmd_k; in dma_alloc_init() local
420 pmd_k = pmd_offset(pud_k, CONSISTENT_START); in dma_alloc_init()
421 set_pmd(pmd_k, *pmd); in dma_alloc_init()