/linux-master/include/asm-generic/ |
H A D | pgtable-nopud.h | 16 typedef struct { p4d_t p4d; } pud_t; typedef in typeref:struct:__anon167 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) 44 return (pud_t *)p4d; 49 #define __pud(x) ((pud_t) { __p4d(x) }) 51 #define p4d_page(p4d) (pud_page((pud_t){ p4d })) 52 #define p4d_pgtable(p4d) ((pud_t *)(pud_pgtable((pud_t){ p4d })))
|
H A D | pgtable-nopmd.h | 18 typedef struct { pud_t pud; } pmd_t; 30 static inline int pud_none(pud_t pud) { return 0; } 31 static inline int pud_bad(pud_t pud) { return 0; } 32 static inline int pud_present(pud_t pud) { return 1; } 33 static inline int pud_user(pud_t pud) { return 0; } 34 static inline int pud_leaf(pud_t pud) { return 0; } 35 static inline void pud_clear(pud_t *pud) { } 46 static inline pmd_t * pmd_offset(pud_t * pud, unsigned long address)
|
/linux-master/include/linux/ |
H A D | page_table_check.h | 19 void __page_table_check_pud_clear(struct mm_struct *mm, pud_t pud); 23 void __page_table_check_pud_set(struct mm_struct *mm, pud_t *pudp, pud_t pud); 60 static inline void page_table_check_pud_clear(struct mm_struct *mm, pud_t pud) 86 static inline void page_table_check_pud_set(struct mm_struct *mm, pud_t *pudp, 87 pud_t pud) 123 static inline void page_table_check_pud_clear(struct mm_struct *mm, pud_t pud) 137 static inline void page_table_check_pud_set(struct mm_struct *mm, pud_t *pudp, 138 pud_t pud)
|
/linux-master/arch/riscv/include/asm/ |
H A D | pgtable-64.h | 58 } pud_t; typedef in typeref:struct:__anon26 61 #define __pud(x) ((pud_t) { (x) }) 62 #define PTRS_PER_PUD (PAGE_SIZE / sizeof(pud_t)) 177 static inline int pud_present(pud_t pud) 182 static inline int pud_none(pud_t pud) 187 static inline int pud_bad(pud_t pud) 193 static inline bool pud_leaf(pud_t pud) 198 static inline int pud_user(pud_t pud) 203 static inline void set_pud(pud_t *pudp, pud_t pu [all...] |
H A D | pgalloc.h | 35 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) 42 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) 52 pud_t *pud) 83 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) 92 static inline void pud_free(struct mm_struct *mm, pud_t *pud) 98 static inline void __pud_free_tlb(struct mmu_gather *tlb, pud_t *pud,
|
/linux-master/arch/powerpc/include/asm/nohash/64/ |
H A D | pgalloc.h | 18 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) 23 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) 29 static inline void pud_free(struct mm_struct *mm, pud_t *pud) 34 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd)
|
H A D | pgtable-4k.h | 20 #define PUD_TABLE_SIZE (sizeof(pud_t) << PUD_INDEX_SIZE) 62 static inline pud_t *p4d_pgtable(p4d_t p4d) 64 return (pud_t *) (p4d_val(p4d) & ~P4D_MASKED_BITS);
|
H A D | pgtable.h | 109 static inline void pud_set(pud_t *pudp, unsigned long val) 114 static inline void pud_clear(pud_t *pudp) 124 static inline pmd_t *pud_pgtable(pud_t pud) 129 extern struct page *pud_page(pud_t pud); 131 static inline pte_t pud_pte(pud_t pud) 136 static inline pud_t pte_pud(pte_t pte)
|
/linux-master/arch/arm/include/asm/ |
H A D | pgtable-2level.h | 185 static inline int pud_none(pud_t pud) 190 static inline int pud_bad(pud_t pud) 195 static inline int pud_present(pud_t pud) 200 static inline void pud_clear(pud_t *pudp) 204 static inline void set_pud(pud_t *pudp, pud_t pud) 208 static inline pmd_t *pmd_offset(pud_t *pud, unsigned long addr)
|
/linux-master/arch/riscv/mm/ |
H A D | pgtable.c | 32 pud_t *pud_offset(p4d_t *p4d, unsigned long address) 37 return (pud_t *)p4d; 59 int pud_set_huge(pud_t *pud, phys_addr_t phys, pgprot_t prot) 61 pud_t new_pud = pfn_pud(__phys_to_pfn(phys), prot); 67 int pud_clear_huge(pud_t *pud) 75 int pud_free_pmd_page(pud_t *pud, unsigned long addr)
|
/linux-master/arch/csky/mm/ |
H A D | highmem.c | 25 pud_t *pud; 32 pud = (pud_t *)pgd;
|
/linux-master/arch/arm/mm/ |
H A D | hugetlbpage.c | 26 int pud_huge(pud_t pud)
|
/linux-master/arch/mips/include/asm/ |
H A D | pgalloc.h | 40 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) 90 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long address) 92 pud_t *pud; 105 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud)
|
H A D | pgtable-64.h | 127 #define PTRS_PER_PUD ((PAGE_SIZE << PUD_TABLE_ORDER) / sizeof(pud_t)) 175 typedef struct { unsigned long pud; } pud_t; typedef in typeref:struct:__anon15 177 #define __pud(x) ((pud_t) { (x) }) 179 extern pud_t invalid_pud_table[PTRS_PER_PUD]; 207 static inline pud_t *p4d_pgtable(p4d_t p4d) 209 return (pud_t *)p4d_val(p4d); 278 static inline int pud_none(pud_t pud) 283 static inline int pud_bad(pud_t pud) 288 static inline int pud_present(pud_t pud) 293 static inline void pud_clear(pud_t *pud [all...] |
/linux-master/arch/loongarch/include/asm/ |
H A D | pgalloc.h | 28 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) 36 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) 80 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long address) 82 pud_t *pud;
|
/linux-master/arch/powerpc/include/asm/book3s/64/ |
H A D | pgtable-64k.h | 25 static inline int pud_huge(pud_t pud)
|
H A D | radix.h | 138 #define RADIX_PUD_TABLE_SIZE (sizeof(pud_t) << RADIX_PUD_INDEX_SIZE) 248 static inline int radix__pud_bad(pud_t pud) 253 static inline int radix__pud_same(pud_t pud_a, pud_t pud_b) 275 static inline int radix__pud_trans_huge(pud_t pud) 280 static inline pud_t radix__pud_mkhuge(pud_t pud) 289 pud_t *pudp, unsigned long clr, 298 pud_t radix__pudp_huge_get_and_clear(struct mm_struct *mm, 299 unsigned long addr, pud_t *pud [all...] |
H A D | pgalloc.h | 88 static inline void p4d_populate(struct mm_struct *mm, p4d_t *pgd, pud_t *pud) 93 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) 95 pud_t *pud; 110 static inline void __pud_free(pud_t *pud) 126 static inline void pud_free(struct mm_struct *mm, pud_t *pud) 131 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) 136 static inline void __pud_free_tlb(struct mmu_gather *tlb, pud_t *pud,
|
/linux-master/arch/mips/mm/ |
H A D | hugetlbpage.c | 29 pud_t *pud; 46 pud_t *pud; 66 int pud_huge(pud_t pud)
|
/linux-master/arch/powerpc/include/asm/ |
H A D | pgtable-types.h | 43 typedef struct { unsigned long pud; } pud_t; typedef in typeref:struct:__anon30 44 #define __pud(x) ((pud_t) { (x) }) 45 static inline unsigned long pud_val(pud_t x)
|
H A D | pgtable-be-types.h | 37 typedef struct { __be64 pud; } pud_t; typedef in typeref:struct:__anon21 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) 45 static inline __be64 pud_raw(pud_t x)
|
/linux-master/arch/sh/mm/ |
H A D | hugetlbpage.c | 29 pud_t *pud; 54 pud_t *pud; 79 int pud_huge(pud_t pud)
|
/linux-master/arch/x86/include/asm/ |
H A D | pgtable-2level.h | 25 static inline void native_set_pud(pud_t *pudp, pud_t pud) 39 static inline void native_pud_clear(pud_t *pudp) 68 static inline pud_t native_pudp_get_and_clear(pud_t *xp)
|
H A D | pgtable.h | 162 static inline bool pud_dirty(pud_t pud) 167 static inline int pud_young(pud_t pud) 192 static inline int pud_write(pud_t pud) 237 static inline unsigned long pud_pfn(pud_t pud) 277 static inline int pud_trans_huge(pud_t pud) 296 static inline int pud_devmap(pud_t pud) 301 static inline int pud_devmap(pud_t pud) 601 static inline pud_t pud_set_flags(pud_t pud, pudval_t set) 608 static inline pud_t pud_clear_flag [all...] |
H A D | pgtable-3level.h | 53 static inline void native_set_pud(pud_t *pudp, pud_t pud) 81 static inline void native_pud_clear(pud_t *pudp) 85 static inline void pud_clear(pud_t *pudp) 113 static inline pud_t native_pudp_get_and_clear(pud_t *pudp)
|