Home
last modified time | relevance | path

Searched refs:pmd_offset (Results 1 – 25 of 131) sorted by relevance

123456

/kernel/linux/linux-5.10/arch/arm/mm/
Dpgd.c76 init_pmd = pmd_offset(init_pud, TASK_SIZE); in pgd_alloc()
77 new_pmd = pmd_offset(new_pud, TASK_SIZE); in pgd_alloc()
119 init_pmd = pmd_offset(init_pud, 0); in pgd_alloc()
165 pmd = pmd_offset(pud, 0); in pgd_free()
199 pmd = pmd_offset(pud, 0); in pgd_free()
Didmap.c41 memcpy(pmd, pmd_offset(pud, 0), in idmap_add_pmd()
46 pmd = pmd_offset(pud, addr); in idmap_add_pmd()
58 pmd_t *pmd = pmd_offset(pud, addr); in idmap_add_pmd()
Dfault.c70 pmd = pmd_offset(pud, addr); in show_pte()
434 pmd = pmd_offset(pud, addr); in do_translation_fault()
435 pmd_k = pmd_offset(pud_k, addr); in do_translation_fault()
/kernel/linux/linux-5.10/include/asm-generic/
Dpgtable-nopmd.h44 static inline pmd_t * pmd_offset(pud_t * pud, unsigned long address) in pmd_offset() function
48 #define pmd_offset pmd_offset macro
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dpgtable-2level.h188 static inline pmd_t *pmd_offset(pud_t *pud, unsigned long addr) in pmd_offset() function
192 #define pmd_offset pmd_offset macro
/kernel/linux/linux-5.10/mm/kasan/
Dinit.c116 pmd_t *pmd = pmd_offset(pud, addr); in zero_pmd_populate()
159 pmd = pmd_offset(pud, addr); in zero_pud_populate()
200 pmd = pmd_offset(pud, addr); in zero_p4d_populate()
262 pmd = pmd_offset(pud, addr); in kasan_populate_early_shadow()
411 pmd = pmd_offset(pud, addr); in kasan_remove_pud_table()
412 pmd_base = pmd_offset(pud, 0); in kasan_remove_pud_table()
/kernel/linux/linux-5.10/arch/alpha/mm/
Dinit.c191 pmd = pmd_offset(pud, VMALLOC_START); in callback_init()
220 if (pmd != pmd_offset(pud, vaddr)) { in callback_init()
222 pmd = pmd_offset(pud, vaddr); in callback_init()
/kernel/linux/linux-5.10/arch/nds32/mm/
Dfault.c47 pmd = pmd_offset(pud, addr); in show_pte()
372 pmd = pmd_offset(pud, addr); in do_page_fault()
373 pmd_k = pmd_offset(pud_k, addr); in do_page_fault()
/kernel/linux/linux-5.10/arch/arc/mm/
Dfault.c52 pmd = pmd_offset(pud, address); in handle_kernel_vaddr_fault()
53 pmd_k = pmd_offset(pud_k, address); in handle_kernel_vaddr_fault()
/kernel/linux/linux-5.10/arch/x86/power/
Dhibernate_32.c45 BUG_ON(pmd_table != pmd_offset(pud, 0)); in resume_one_md_table_init()
49 pmd_table = pmd_offset(pud, 0); in resume_one_md_table_init()
/kernel/linux/linux-5.10/arch/csky/mm/
Dfault.c102 pmd = pmd_offset(pud, address); in do_page_fault()
103 pmd_k = pmd_offset(pud_k, address); in do_page_fault()
/kernel/linux/linux-5.10/arch/um/kernel/
Dmem.c90 if (pmd_table != pmd_offset(pud, 0)) in one_md_table_init()
115 pmd = pmd_offset(pud, vaddr); in fixrange_init()
/kernel/linux/linux-5.10/include/linux/
Dpgtable.h88 #ifndef pmd_offset
89 static inline pmd_t *pmd_offset(pud_t *pud, unsigned long address) in pmd_offset() function
93 #define pmd_offset pmd_offset macro
133 return pmd_offset(pud_offset(p4d_offset(pgd_offset(mm, va), va), va), va); in pmd_off()
138 return pmd_offset(pud_offset(p4d_offset(pgd_offset_k(va), va), va), va); in pmd_off_k()
1478 #define pmd_offset_lockless(pudp, pud, address) pmd_offset(&(pud), address)
/kernel/linux/linux-5.10/arch/nios2/mm/
Dfault.c259 pmd = pmd_offset(pud, address); in do_page_fault()
260 pmd_k = pmd_offset(pud_k, address); in do_page_fault()
/kernel/linux/linux-5.10/arch/openrisc/mm/
Dfault.c334 pmd = pmd_offset(pud, address); in do_page_fault()
335 pmd_k = pmd_offset(pud_k, address); in do_page_fault()
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Dpgtable.h293 extern inline pmd_t * pmd_offset(pud_t * dir, unsigned long address) in pmd_offset() function
299 #define pmd_offset pmd_offset macro
/kernel/linux/linux-5.10/arch/sh/mm/
Dfault.c95 pmd = pmd_offset(pud, addr); in show_pte()
147 pmd = pmd_offset(pud, address); in vmalloc_sync_one()
148 pmd_k = pmd_offset(pud_k, address); in vmalloc_sync_one()
/kernel/linux/linux-5.10/arch/x86/mm/
Dinit_64.c272 if (pmd != pmd_offset(pud, 0)) in fill_pmd()
274 pmd, pmd_offset(pud, 0)); in fill_pmd()
276 return pmd_offset(pud, vaddr); in fill_pmd()
391 pmd = pmd_offset(pud, phys); in __init_extra_mapping()
616 pmd = pmd_offset(pud, 0); in phys_pud_init()
1132 pmd_base = pmd_offset(pud, 0); in remove_pud_table()
1402 pmd = pmd_offset(pud, addr); in kern_addr_valid()
1517 pmd = pmd_offset(pud, addr); in vmemmap_populate_hugepages()
1614 pmd = pmd_offset(pud, addr); in register_page_bootmem_memmap()
1628 pmd = pmd_offset(pud, addr); in register_page_bootmem_memmap()
/kernel/linux/linux-5.10/arch/xtensa/mm/
Dfault.c220 pmd = pmd_offset(pud, address); in do_page_fault()
221 pmd_k = pmd_offset(pud_k, address); in do_page_fault()
/kernel/linux/linux-5.10/arch/riscv/mm/
Dfault.c132 pmd = pmd_offset(pud, addr); in vmalloc_fault()
133 pmd_k = pmd_offset(pud_k, addr); in vmalloc_fault()
/kernel/linux/linux-5.10/arch/microblaze/mm/
Dpgtable.c146 pd = pmd_offset(pud, va); in map_page()
206 pmd = pmd_offset(pud, addr & PAGE_MASK); in get_pteptr()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dpgtable_no.h24 #define pmd_offset(a, b) ((void *)0) macro
/kernel/linux/linux-5.10/arch/parisc/mm/
Dfixmap.c19 pmd_t *pmd = pmd_offset(pud, vaddr); in set_fixmap()
/kernel/linux/linux-5.10/arch/nds32/kernel/
Dpm.c27 pmdv = pmd_offset(pudv, (unsigned int)cpu_resume); in nds32_suspend2ram()
/kernel/linux/linux-5.10/arch/mips/mm/
Dfault.c310 pmd = pmd_offset(pud, address); in __do_page_fault()
311 pmd_k = pmd_offset(pud_k, address); in __do_page_fault()

123456