Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/sh/mm/
A 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.3-rc2/arch/nios2/mm/
A Dfault.c246 pmd_t *pmd, *pmd_k; in do_page_fault() local
265 pmd_k = pmd_offset(pud_k, address); in do_page_fault()
266 if (!pmd_present(*pmd_k)) in do_page_fault()
268 set_pmd(pmd, *pmd_k); in do_page_fault()
270 pte_k = pte_offset_kernel(pmd_k, address); in do_page_fault()
/linux-6.3-rc2/arch/openrisc/mm/
A Dfault.c295 pmd_t *pmd, *pmd_k; in do_page_fault() local
331 pmd_k = pmd_offset(pud_k, address); in do_page_fault()
333 if (!pmd_present(*pmd_k)) in do_page_fault()
336 set_pmd(pmd, *pmd_k); in do_page_fault()
344 pte_k = pte_offset_kernel(pmd_k, address); in do_page_fault()
/linux-6.3-rc2/arch/xtensa/mm/
A 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.3-rc2/arch/arc/mm/
A 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()
A 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.3-rc2/arch/csky/mm/
A 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.3-rc2/arch/mips/mm/
A 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.3-rc2/arch/x86/mm/
A 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
249 if (!pmd_k) in vmalloc_fault()
252 if (pmd_large(*pmd_k)) in vmalloc_fault()
[all …]
/linux-6.3-rc2/arch/sh/kernel/
A 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.3-rc2/arch/riscv/mm/
A 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.3-rc2/arch/sparc/mm/
A Dfault_32.c285 pmd_t *pmd, *pmd_k; in do_sparc_fault() local
303 pmd_k = pmd_offset(pud_k, address); in do_sparc_fault()
305 if (pmd_present(*pmd) || !pmd_present(*pmd_k)) in do_sparc_fault()
308 *pmd = *pmd_k; in do_sparc_fault()
/linux-6.3-rc2/arch/arm/mm/
A Dfault.c434 pmd_t *pmd, *pmd_k; in do_translation_fault() local
464 pmd_k = pmd_offset(pud_k, addr); in do_translation_fault()
482 if (pmd_none(pmd_k[index])) in do_translation_fault()
485 copy_pmd(pmd, pmd_k); in do_translation_fault()

Completed in 14 milliseconds