/linux-6.1.9/arch/sh/mm/ |
D | fault.c | 126 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/ |
D | fault.c | 292 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/ |
D | fault.c | 243 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/ |
D | fault.c | 37 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/ |
D | fault.c | 34 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()
|
D | highmem.c | 52 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/ |
D | fault.c | 120 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/ |
D | fault.c | 296 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/ |
D | fault.c | 179 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/ |
D | fault.c | 107 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/ |
D | io_trapped.c | 139 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/ |
D | fault_32.c | 282 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/ |
D | fault.c | 433 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()
|