/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/csky/mm/ |
D | fault.c | 84 pmd_t *pmd, *pmd_k; in do_page_fault() local 103 pmd_k = pmd_offset(pud_k, address); in do_page_fault() 104 if (!pmd_present(*pmd_k)) in do_page_fault() 106 set_pmd(pmd, *pmd_k); in do_page_fault() 108 pte_k = pte_offset_kernel(pmd_k, address); in do_page_fault()
|
/kernel/linux/linux-5.10/arch/nios2/mm/ |
D | fault.c | 241 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()
|
/kernel/linux/linux-5.10/arch/openrisc/mm/ |
D | fault.c | 299 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()
|
/kernel/linux/linux-5.10/arch/nds32/mm/ |
D | fault.c | 353 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()
|
/kernel/linux/linux-5.10/arch/arc/mm/ |
D | fault.c | 34 pmd_t *pmd, *pmd_k; in handle_kernel_vaddr_fault() local 53 pmd_k = pmd_offset(pud_k, address); in handle_kernel_vaddr_fault() 54 if (!pmd_present(*pmd_k)) in handle_kernel_vaddr_fault() 57 set_pmd(pmd, *pmd_k); in handle_kernel_vaddr_fault()
|
D | highmem.c | 95 pmd_t *pmd_k = pmd_off_k(kvaddr); in alloc_kmap_pgtable() local 103 pmd_populate_kernel(&init_mm, pmd_k, pte_k); in alloc_kmap_pgtable()
|
/kernel/linux/linux-5.10/arch/xtensa/mm/ |
D | fault.c | 196 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()
|
/kernel/linux/linux-5.10/arch/riscv/mm/ |
D | fault.c | 86 pmd_t *pmd, *pmd_k; in vmalloc_fault() local 133 pmd_k = pmd_offset(pud_k, addr); in vmalloc_fault() 134 if (!pmd_present(*pmd_k)) { in vmalloc_fault() 138 set_pmd(pmd, *pmd_k); in vmalloc_fault() 146 pte_k = pte_offset_kernel(pmd_k, addr); in vmalloc_fault()
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
D | fault.c | 290 pmd_t *pmd, *pmd_k; in __do_page_fault() local 311 pmd_k = pmd_offset(pud_k, address); in __do_page_fault() 312 if (!pmd_present(*pmd_k)) in __do_page_fault() 314 set_pmd(pmd, *pmd_k); in __do_page_fault() 316 pte_k = pte_offset_kernel(pmd_k, address); in __do_page_fault()
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
D | fault.c | 163 pmd_t *pmd, *pmd_k; in vmalloc_sync_one() local 187 pmd_k = pmd_offset(pud_k, address); in vmalloc_sync_one() 189 if (pmd_present(*pmd) != pmd_present(*pmd_k)) in vmalloc_sync_one() 190 set_pmd(pmd, *pmd_k); in vmalloc_sync_one() 192 if (!pmd_present(*pmd_k)) in vmalloc_sync_one() 195 BUG_ON(pmd_pfn(*pmd) != pmd_pfn(*pmd_k)); in vmalloc_sync_one() 197 return pmd_k; in vmalloc_sync_one() 217 pmd_t *pmd_k; in vmalloc_fault() local 232 pmd_k = vmalloc_sync_one(__va(pgd_paddr), address); in vmalloc_fault() 233 if (!pmd_k) in vmalloc_fault() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/sparc/mm/ |
D | fault_32.c | 341 pmd_t *pmd, *pmd_k; in do_sparc_fault() local 359 pmd_k = pmd_offset(pud_k, address); in do_sparc_fault() 361 if (pmd_present(*pmd) || !pmd_present(*pmd_k)) in do_sparc_fault() 364 *pmd = *pmd_k; in do_sparc_fault()
|
/kernel/linux/linux-5.10/arch/arm/mm/ |
D | fault.c | 405 pmd_t *pmd, *pmd_k; in do_translation_fault() local 435 pmd_k = pmd_offset(pud_k, addr); in do_translation_fault() 453 if (pmd_none(pmd_k[index])) in do_translation_fault() 456 copy_pmd(pmd, pmd_k); in do_translation_fault()
|