/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
D | pgtable-64.h | 31 static inline int pud_present(pud_t pud) in pud_present() 36 static inline int pud_none(pud_t pud) in pud_none() 41 static inline int pud_bad(pud_t pud) in pud_bad() 47 static inline int pud_leaf(pud_t pud) in pud_leaf() 53 static inline void set_pud(pud_t *pudp, pud_t pud) in set_pud() 58 static inline void pud_clear(pud_t *pudp) in pud_clear() 63 static inline unsigned long pud_page_vaddr(pud_t pud) in pud_page_vaddr() 68 static inline struct page *pud_page(pud_t pud) in pud_page()
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | pgtable-nopud.h | 16 typedef struct { p4d_t p4d; } pud_t; typedef 40 #define set_p4d(p4dptr, p4dval) set_pud((pud_t *)(p4dptr), (pud_t) { p4dval }) 42 static inline pud_t *pud_offset(p4d_t *p4d, unsigned long address) in pud_offset() 44 return (pud_t *)p4d; in pud_offset() 49 #define __pud(x) ((pud_t) { __p4d(x) }) 51 #define p4d_page(p4d) (pud_page((pud_t){ p4d })) 52 #define p4d_page_vaddr(p4d) (pud_page_vaddr((pud_t){ p4d }))
|
D | pgtable-nopmd.h | 18 typedef struct { pud_t pud; } pmd_t; 30 static inline int pud_none(pud_t pud) { return 0; } in pud_none() 31 static inline int pud_bad(pud_t pud) { return 0; } in pud_bad() 32 static inline int pud_present(pud_t pud) { return 1; } in pud_present() 33 static inline void pud_clear(pud_t *pud) { } in pud_clear() 44 static inline pmd_t * pmd_offset(pud_t * pud, unsigned long address) in pmd_offset()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | pgtable.h | 173 static inline int pud_dirty(pud_t pud) in pud_dirty() 178 static inline int pud_young(pud_t pud) in pud_young() 226 static inline unsigned long pud_pfn(pud_t pud) in pud_pfn() 266 static inline int pud_trans_huge(pud_t pud) in pud_trans_huge() 285 static inline int pud_devmap(pud_t pud) in pud_devmap() 290 static inline int pud_devmap(pud_t pud) in pud_devmap() 470 static inline pud_t pud_set_flags(pud_t pud, pudval_t set) in pud_set_flags() 477 static inline pud_t pud_clear_flags(pud_t pud, pudval_t clear) in pud_clear_flags() 484 static inline pud_t pud_mkold(pud_t pud) in pud_mkold() 489 static inline pud_t pud_mkclean(pud_t pud) in pud_mkclean() [all …]
|
D | pgtable_64.h | 21 extern pud_t level3_kernel_pgt[512]; 22 extern pud_t level3_ident_pgt[512]; 63 void set_pte_vaddr_pud(pud_t *pud_page, unsigned long vaddr, pte_t new_pte); 117 static inline void native_set_pud(pud_t *pudp, pud_t pud) in native_set_pud() 122 static inline void native_pud_clear(pud_t *pud) in native_pud_clear() 127 static inline pud_t native_pudp_get_and_clear(pud_t *xp) in native_pudp_get_and_clear() 135 pud_t ret = *xp; in native_pudp_get_and_clear()
|
D | pgtable-2level.h | 25 static inline void native_set_pud(pud_t *pudp, pud_t pud) in native_set_pud() 39 static inline void native_pud_clear(pud_t *pudp) in native_pud_clear() 68 static inline pud_t native_pudp_get_and_clear(pud_t *xp) in native_pudp_get_and_clear()
|
D | pgtable-3level.h | 103 static inline void native_set_pud(pud_t *pudp, pud_t pud) in native_set_pud() 132 static inline void native_pud_clear(pud_t *pudp) in native_pud_clear() 136 static inline void pud_clear(pud_t *pudp) in pud_clear() 229 pud_t pud; 232 static inline pud_t native_pudp_get_and_clear(pud_t *pudp) in native_pudp_get_and_clear()
|
D | pgalloc.h | 99 extern void pud_populate(struct mm_struct *mm, pud_t *pudp, pmd_t *pmd); 101 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate() 107 static inline void pud_populate_safe(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate_safe() 115 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) in p4d_populate() 121 static inline void p4d_populate_safe(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) in p4d_populate_safe() 127 extern void ___pud_free_tlb(struct mmu_gather *tlb, pud_t *pud); 129 static inline void __pud_free_tlb(struct mmu_gather *tlb, pud_t *pud, in __pud_free_tlb()
|
/kernel/linux/linux-5.10/include/linux/ |
D | pgtable.h | 90 static inline pmd_t *pmd_offset(pud_t *pud, unsigned long address) in pmd_offset() 98 static inline pud_t *pud_offset(p4d_t *p4d, unsigned long address) in pud_offset() 100 return (pud_t *)p4d_page_vaddr(*p4d) + pud_index(address); in pud_offset() 161 unsigned long address, pud_t *pudp, 162 pud_t entry, int dirty); 172 unsigned long address, pud_t *pudp, in pudp_set_access_flags() 173 pud_t entry, int dirty) in pudp_set_access_flags() 274 static inline pud_t pudp_huge_get_and_clear(struct mm_struct *mm, in pudp_huge_get_and_clear() 276 pud_t *pudp) in pudp_huge_get_and_clear() 278 pud_t pud = *pudp; in pudp_huge_get_and_clear() [all …]
|
D | huge_mm.h | 16 pud_t *dst_pud, pud_t *src_pud, unsigned long addr, 20 void huge_pud_set_accessed(struct vm_fault *vmf, pud_t orig_pud); 22 static inline void huge_pud_set_accessed(struct vm_fault *vmf, pud_t orig_pud) in huge_pud_set_accessed() 35 int zap_huge_pud(struct mmu_gather *tlb, struct vm_area_struct *vma, pud_t *pud, 215 void __split_huge_pud(struct vm_area_struct *vma, pud_t *pud, 220 pud_t *____pud = (__pud); \ 231 spinlock_t *__pud_trans_huge_lock(pud_t *pud, struct vm_area_struct *vma); 247 static inline spinlock_t *pud_trans_huge_lock(pud_t *pud, in pud_trans_huge_lock() 292 pud_t *pud, int flags, struct dev_pagemap **pgmap); 309 static inline bool is_huge_zero_pud(pud_t pud) in is_huge_zero_pud() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/ |
D | pgalloc.h | 88 static inline void p4d_populate(struct mm_struct *mm, p4d_t *pgd, pud_t *pud) in p4d_populate() 93 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one() 95 pud_t *pud; in pud_alloc_one() 110 static inline void __pud_free(pud_t *pud) in __pud_free() 124 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free() 129 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate() 134 static inline void __pud_free_tlb(struct mmu_gather *tlb, pud_t *pud, in __pud_free_tlb()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | pgtable-64.h | 132 #define PTRS_PER_PUD ((PAGE_SIZE << PUD_ORDER) / sizeof(pud_t)) 181 typedef struct { unsigned long pud; } pud_t; typedef 183 #define __pud(x) ((pud_t) { (x) }) 185 extern pud_t invalid_pud_table[PTRS_PER_PUD]; 284 static inline int pud_none(pud_t pud) in pud_none() 289 static inline int pud_bad(pud_t pud) in pud_bad() 294 static inline int pud_present(pud_t pud) in pud_present() 299 static inline void pud_clear(pud_t *pudp) in pud_clear() 317 static inline unsigned long pud_page_vaddr(pud_t pud) in pud_page_vaddr()
|
D | pgalloc.h | 41 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate() 91 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long address) in pud_alloc_one() 93 pud_t *pud; in pud_alloc_one() 95 pud = (pud_t *) __get_free_pages(GFP_KERNEL, PUD_ORDER); in pud_alloc_one() 101 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) in p4d_populate()
|
/kernel/linux/linux-5.10/mm/kasan/ |
D | init.c | 49 pud_t kasan_early_shadow_pud[PTRS_PER_PUD] __page_aligned_bss; 62 static inline bool kasan_pmd_table(pud_t pud) in kasan_pmd_table() 67 static inline bool kasan_pmd_table(pud_t pud) in kasan_pmd_table() 113 static int __ref zero_pmd_populate(pud_t *pud, unsigned long addr, in zero_pmd_populate() 149 pud_t *pud = pud_offset(p4d, addr); in zero_pud_populate() 192 pud_t *pud; in zero_p4d_populate() 207 pud_t *p; in zero_p4d_populate() 243 pud_t *pud; in kasan_populate_early_shadow() 301 static void kasan_free_pmd(pmd_t *pmd_start, pud_t *pud) in kasan_free_pmd() 316 static void kasan_free_pud(pud_t *pud_start, p4d_t *p4d) in kasan_free_pud() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | pgtable-be-types.h | 37 typedef struct { __be64 pud; } pud_t; typedef 38 #define __pud(x) ((pud_t) { cpu_to_be64(x) }) 39 #define __pud_raw(x) ((pud_t) { (x) }) 40 static inline unsigned long pud_val(pud_t x) in pud_val() 45 static inline __be64 pud_raw(pud_t x) in pud_raw()
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
D | ident_map.c | 21 static int ident_pud_init(struct x86_mapping_info *info, pud_t *pud_page, in ident_pud_init() 27 pud_t *pud = pud_page + pud_index(addr); in ident_pud_init() 35 pud_t pudval; in ident_pud_init() 69 pud_t *pud; in ident_p4d_init() 83 pud = (pud_t *)info->alloc_pgt_page(info->context); in ident_p4d_init() 141 pud_t *pud = pud_offset(p4d, 0); in kernel_ident_mapping_init()
|
D | init_64.c | 255 static pud_t *fill_pud(p4d_t *p4d, unsigned long vaddr) in fill_pud() 258 pud_t *pud = (pud_t *)spp_getpage(); in fill_pud() 267 static pmd_t *fill_pmd(pud_t *pud, unsigned long vaddr) in fill_pmd() 290 static void __set_pte_vaddr(pud_t *pud, unsigned long vaddr, pte_t new_pte) in __set_pte_vaddr() 307 pud_t *pud = fill_pud(p4d, vaddr); in set_pte_vaddr_p4d() 312 void set_pte_vaddr_pud(pud_t *pud_page, unsigned long vaddr, pte_t new_pte) in set_pte_vaddr_pud() 314 pud_t *pud = pud_page + pud_index(vaddr); in set_pte_vaddr_pud() 341 pud_t *pud; in populate_extra_pmd() 365 pud_t *pud; in __init_extra_mapping() 381 pud = (pud_t *) spp_getpage(); in __init_extra_mapping() [all …]
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | pgalloc.h | 23 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate() 28 static inline void pud_populate(struct mm_struct *mm, pud_t *pudp, pmd_t *pmdp) in pud_populate() 33 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate() 46 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4dp, pud_t *pudp) in p4d_populate()
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | pgtable.h | 668 static inline int pud_folded(pud_t pud) in pud_folded() 673 static inline int pud_present(pud_t pud) in pud_present() 680 static inline int pud_none(pud_t pud) in pud_none() 688 static inline int pud_large(pud_t pud) in pud_large() 708 static inline int pud_bad(pud_t pud) in pud_bad() 747 static inline int pud_write(pud_t pud) in pud_write() 902 static inline void pud_clear(pud_t *pud) in pud_clear() 1258 static inline unsigned long pud_deref(pud_t pud) in pud_deref() 1268 static inline unsigned long pud_pfn(pud_t pud) in pud_pfn() 1311 static inline pud_t *pud_offset_lockless(p4d_t *p4dp, p4d_t p4d, unsigned long address) in pud_offset_lockless() [all …]
|
D | pgalloc.h | 68 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long address) in pud_alloc_one() 73 return (pud_t *) table; in pud_alloc_one() 76 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free() 109 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) in p4d_populate() 114 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
D | pgalloc_64.h | 19 static inline void __p4d_populate(p4d_t *p4d, pud_t *pud) in __p4d_populate() 36 static inline void __pud_populate(pud_t *pud, pmd_t *pmd) in __pud_populate() 43 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one() 48 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
|
/kernel/linux/linux-5.10/mm/ |
D | debug_vm_pgtable.c | 297 pud_t pud; in pud_basic_tests() 335 struct vm_area_struct *vma, pud_t *pudp, in pud_advanced_tests() 339 pud_t pud; in pud_advanced_tests() 387 pud_t pud; in pud_leaf_tests() 402 static void __init pud_huge_tests(pud_t *pudp, unsigned long pfn, pgprot_t prot) in pud_huge_tests() 404 pud_t pud; in pud_huge_tests() 421 static void __init pud_huge_tests(pud_t *pudp, unsigned long pfn, pgprot_t prot) { } in pud_huge_tests() 427 struct vm_area_struct *vma, pud_t *pudp, in pud_advanced_tests() 433 static void __init pud_huge_tests(pud_t *pudp, unsigned long pfn, pgprot_t prot) in pud_huge_tests() 447 struct vm_area_struct *vma, pud_t *pudp, in pud_advanced_tests() [all …]
|
/kernel/linux/linux-5.10/arch/sh/mm/ |
D | hugetlbpage.c | 29 pud_t *pud; in huge_pte_alloc() 54 pud_t *pud; in huge_pte_offset() 79 int pud_huge(pud_t pud) in pud_huge()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/64/ |
D | pgalloc.h | 20 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one() 26 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free() 31 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
D | hugetlbpage.c | 29 pud_t *pud; in huge_pte_alloc() 46 pud_t *pud; in huge_pte_offset() 78 int pud_huge(pud_t pud) in pud_huge()
|