Home
last modified time | relevance | path

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

1234

/linux/arch/arm/mm/
H A 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()
H A 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()
H A Dfault.c78 pmd = pmd_offset(pud, addr); in show_pte()
501 pmd = pmd_offset(pud, addr); in do_translation_fault()
502 pmd_k = pmd_offset(pud_k, addr); in do_translation_fault()
/linux/include/asm-generic/
H A Dpgtable-nopmd.h46 static inline pmd_t * pmd_offset(pud_t * pud, unsigned long address) in pmd_offset() function
50 #define pmd_offset pmd_offset macro
/linux/mm/kasan/
H A Dinit.c112 pmd_t *pmd = pmd_offset(pud, addr);
157 pmd = pmd_offset(pud, addr); in zero_pud_populate()
199 pmd = pmd_offset(pud, addr); in zero_p4d_populate()
262 pmd = pmd_offset(pud, addr); in kasan_populate_early_shadow()
414 pmd = pmd_offset(pud, addr); in kasan_remove_pud_table()
415 pmd_base = pmd_offset(pud, 0); in kasan_remove_pud_table()
/linux/arch/alpha/mm/
H A 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()
/linux/arch/x86/power/
H A 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()
/linux/arch/arc/mm/
H A Dfault.c59 pmd = pmd_offset(pud, address); in handle_kernel_vaddr_fault()
60 pmd_k = pmd_offset(pud_k, address); in handle_kernel_vaddr_fault()
/linux/arch/sh/mm/
H A 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()
/linux/arch/alpha/include/asm/
H A Dpgtable.h277 extern inline pmd_t * pmd_offset(pud_t * dir, unsigned long address) in pmd_offset() function
283 #define pmd_offset pmd_offset macro
/linux/arch/nios2/mm/
H A Dfault.c251 pmd = pmd_offset(pud, address); in do_page_fault()
252 pmd_k = pmd_offset(pud_k, address); in do_page_fault()
/linux/arch/openrisc/mm/
H A Dfault.c333 pmd = pmd_offset(pud, address); in do_page_fault()
334 pmd_k = pmd_offset(pud_k, address); in do_page_fault()
/linux/arch/xtensa/mm/
H A Dfault.c62 pmd = pmd_offset(pud, address); in vmalloc_fault()
63 pmd_k = pmd_offset(pud_k, address); in vmalloc_fault()
/linux/Documentation/mm/
H A Dtranshuge.rst59 pmd_offset. It's trivial to make the code transparent hugepage aware
60 by just grepping for "pmd_offset" and adding split_huge_pmd where
61 missing after pmd_offset returns the pmd. Thanks to the graceful
81 pmd = pmd_offset(pud, addr);
93 pmd_trans_huge() on the pmd returned by pmd_offset. You must hold the
/linux/arch/microblaze/mm/
H A Dpgtable.c148 pd = pmd_offset(pud, va); in map_page()
208 pmd = pmd_offset(pud, addr & PAGE_MASK); in get_pteptr()
/linux/arch/csky/mm/
H A Dfault.c154 pmd = pmd_offset(pud, addr); in vmalloc_fault()
155 pmd_k = pmd_offset(pud_k, addr); in vmalloc_fault()
H A Dhighmem.c33 pmd = pmd_offset(pud, vaddr); in kmap_init()
/linux/arch/m68k/include/asm/
H A Dpgtable_no.h23 #define pmd_offset(a, b) ((void *)0) macro
/linux/arch/um/kernel/
H A Dmem.c105 BUG_ON(pmd_table != pmd_offset(pud, 0)); in one_md_table_init()
144 pmd = pmd_offset(pud, vaddr); in fixrange_init()
/linux/arch/mips/mm/
H A Dfault.c309 pmd = pmd_offset(pud, address); in __do_page_fault()
310 pmd_k = pmd_offset(pud_k, address); in __do_page_fault()
/linux/arch/x86/mm/
H A Dident_map.c16 pmd_t *pmd = pmd_offset(pud, 0); in free_pmd()
133 pmd = pmd_offset(pud, 0); in ident_pud_init()
/linux/arch/parisc/mm/
H A Dfixmap.c19 pmd_t *pmd = pmd_offset(pud, vaddr); in set_fixmap()
/linux/arch/arm64/mm/
H A Dtrans_pgd.c99 dst_pmdp = pmd_offset(dst_pudp, start); in copy_pmd()
101 src_pmdp = pmd_offset(src_pudp, start); in copy_pmd()
/linux/mm/
H A Dpgalloc-track.h42 return pmd_offset(pud, address); in pmd_alloc_track()
/linux/arch/m68k/mm/
H A Dkmap.c77 pmd_dir = pmd_offset(pud_dir, virtaddr); in __free_io_area()
371 pmd_dir = pmd_offset(pud_dir, virtaddr); in kernel_set_cachemode()

1234