/linux-master/include/asm-generic/ |
H A D | pgtable_uffd.h | 10 static __always_inline int pmd_uffd_wp(pmd_t pmd) 20 static __always_inline pmd_t pmd_mkuffd_wp(pmd_t pmd) 30 static __always_inline pmd_t pmd_clear_uffd_wp(pmd_t pmd) 50 static inline pmd_t pmd_swp_mkuffd_wp(pmd_t pmd) 55 static inline int pmd_swp_uffd_wp(pmd_t pmd) 60 static inline pmd_t pmd_swp_clear_uffd_wp(pmd_t pm [all...] |
H A D | pgtable-nopmd.h | 18 typedef struct { pud_t pud; } pmd_t; typedef in typeref:struct:__anon268 44 #define set_pud(pudptr, pudval) set_pmd((pmd_t *)(pudptr), (pmd_t) { pudval }) 46 static inline pmd_t * pmd_offset(pud_t * pud, unsigned long address) 48 return (pmd_t *)pud; 53 #define __pmd(x) ((pmd_t) { __pud(x) } ) 55 #define pud_page(pud) (pmd_page((pmd_t){ pud })) 56 #define pud_pgtable(pud) ((pmd_t *)(pmd_page_vaddr((pmd_t){ pud }))) 63 static inline void pmd_free(struct mm_struct *mm, pmd_t *pm [all...] |
/linux-master/arch/powerpc/include/asm/book3s/64/ |
H A D | hash-4k.h | 37 #define H_PMD_TABLE_SIZE (sizeof(pmd_t) << H_PMD_INDEX_SIZE) 109 static inline char *get_hpte_slot_array(pmd_t *pmdp) 134 static inline int hash__pmd_trans_huge(pmd_t pmd) 139 static inline pmd_t hash__pmd_mkhuge(pmd_t pmd) 146 unsigned long addr, pmd_t *pmdp, 148 extern pmd_t hash__pmdp_collapse_flush(struct vm_area_struct *vma, 149 unsigned long address, pmd_t *pmdp); 150 extern void hash__pgtable_trans_huge_deposit(struct mm_struct *mm, pmd_t *pmdp, 152 extern pgtable_t hash__pgtable_trans_huge_withdraw(struct mm_struct *mm, pmd_t *pmd [all...] |
H A D | radix.h | 137 #define RADIX_PMD_TABLE_SIZE (sizeof(pmd_t) << RADIX_PMD_INDEX_SIZE) 238 static inline int radix__pmd_bad(pmd_t pmd) 243 static inline int radix__pmd_same(pmd_t pmd_a, pmd_t pmd_b) 265 static inline int radix__pmd_trans_huge(pmd_t pmd) 270 static inline pmd_t radix__pmd_mkhuge(pmd_t pmd) 286 pmd_t *pmdp, unsigned long clr, 291 extern pmd_t radix__pmdp_collapse_flush(struct vm_area_struct *vma, 292 unsigned long address, pmd_t *pmd [all...] |
/linux-master/arch/sh/include/asm/ |
H A D | pgalloc.h | 17 extern void pud_populate(struct mm_struct *mm, pud_t *pudp, pmd_t *pmd); 18 extern pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address); 19 extern void pmd_free(struct mm_struct *mm, pmd_t *pmd); 23 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, 29 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd,
|
H A D | pgtable-3level.h | 37 } pmd_t; typedef in typeref:union:__anon1 39 #define __pmd(x) ((pmd_t) { .pmd = (x) } ) 41 static inline pmd_t *pud_pgtable(pud_t pud) 43 return (pmd_t *)(unsigned long)pud_val(pud);
|
/linux-master/arch/alpha/include/asm/ |
H A D | pgalloc.h | 17 pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t pte) 23 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) 29 pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd)
|
/linux-master/include/linux/ |
H A D | page_table_check.h | 18 void __page_table_check_pmd_clear(struct mm_struct *mm, pmd_t pmd); 22 void __page_table_check_pmd_set(struct mm_struct *mm, pmd_t *pmdp, pmd_t pmd); 26 pmd_t pmd); 52 static inline void page_table_check_pmd_clear(struct mm_struct *mm, pmd_t pmd) 77 static inline void page_table_check_pmd_set(struct mm_struct *mm, pmd_t *pmdp, 78 pmd_t pmd) 97 pmd_t pmd) 119 static inline void page_table_check_pmd_clear(struct mm_struct *mm, pmd_t pmd) 132 static inline void page_table_check_pmd_set(struct mm_struct *mm, pmd_t *pmd [all...] |
H A D | pgtable.h | 92 static inline pte_t *pte_offset_kernel(pmd_t *pmd, unsigned long address) 107 static inline pte_t *__pte_map(pmd_t *pmd, unsigned long address) 121 static inline pmd_t *pmd_offset(pud_t *pud, unsigned long address) 163 static inline pmd_t *pmd_off(struct mm_struct *mm, unsigned long va) 168 static inline pmd_t *pmd_off_k(unsigned long va) 175 pmd_t *pmd = pmd_off_k(vaddr); 181 static inline int pmd_young(pmd_t pmd) 188 static inline int pmd_dirty(pmd_t pmd) 291 unsigned long address, pmd_t *pmdp, 292 pmd_t entr [all...] |
/linux-master/arch/m68k/include/asm/ |
H A D | motorola_pgalloc.h | 54 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) 59 static inline int pmd_free(struct mm_struct *mm, pmd_t *pmd) 64 static inline int __pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmd, 82 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) 87 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t page) 92 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd)
|
/linux-master/arch/parisc/include/asm/ |
H A D | pgalloc.h | 41 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) 47 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) 49 pmd_t *pmd; 51 pmd = (pmd_t *)__get_free_pages(GFP_PGTABLE_KERNEL, PMD_TABLE_ORDER); 57 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) 64 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte)
|
/linux-master/arch/arc/include/asm/ |
H A D | hugepage.h | 20 static inline pte_t pmd_pte(pmd_t pmd) 25 static inline pmd_t pte_pmd(pte_t pte) 49 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) 59 pmd_t *pmdp, pmd_t pmd) 65 pmd_t *pmd);
|
/linux-master/arch/powerpc/include/asm/nohash/64/ |
H A D | pgalloc.h | 34 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) 39 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, 45 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, 51 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr) 57 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd)
|
/linux-master/arch/arm/include/asm/ |
H A D | pgtable-2level-types.h | 22 typedef struct { pmdval_t pmd; } pmd_t; typedef in typeref:struct:__anon43 32 #define __pmd(x) ((pmd_t) { (x) } ) 40 typedef pmdval_t pmd_t; typedef
|
/linux-master/mm/ |
H A D | pgtable-generic.c | 52 void pmd_clear_bad(pmd_t *pmd) 110 unsigned long address, pmd_t *pmdp, 111 pmd_t entry, int dirty) 125 unsigned long address, pmd_t *pmdp) 137 pmd_t pmdp_huge_clear_flush(struct vm_area_struct *vma, unsigned long address, 138 pmd_t *pmdp) 140 pmd_t pmd; 165 void pgtable_trans_huge_deposit(struct mm_struct *mm, pmd_t *pmdp, 181 pgtable_t pgtable_trans_huge_withdraw(struct mm_struct *mm, pmd_t *pmdp) 198 pmd_t pmdp_invalidat [all...] |
/linux-master/arch/powerpc/include/asm/nohash/32/ |
H A D | pgalloc.h | 12 /* #define pmd_alloc_one(mm,address) ({ BUG(); ((pmd_t *)2); }) */ 17 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmdp, 26 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmdp,
|
/linux-master/arch/powerpc/include/asm/ |
H A D | pgtable-be-types.h | 23 typedef struct { __be64 pmd; } pmd_t; typedef in typeref:struct:__anon20 24 #define __pmd(x) ((pmd_t) { cpu_to_be64(x) }) 25 #define __pmd_raw(x) ((pmd_t) { (x) }) 26 static inline unsigned long pmd_val(pmd_t x) 31 static inline __be64 pmd_raw(pmd_t x) 93 static inline bool pmd_xchg(pmd_t *pmdp, pmd_t old, pmd_t new)
|
/linux-master/arch/nios2/include/asm/ |
H A D | pgalloc.h | 17 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, 23 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd,
|
/linux-master/arch/riscv/mm/ |
H A D | pgtable.c | 77 pmd_t *pmd = pud_pgtable(pudp_get(pud)); 97 int pmd_set_huge(pmd_t *pmd, phys_addr_t phys, pgprot_t prot) 99 pmd_t new_pmd = pfn_pmd(__phys_to_pfn(phys), prot); 105 int pmd_clear_huge(pmd_t *pmd) 113 int pmd_free_pte_page(pmd_t *pmd, unsigned long addr) 126 pmd_t pmdp_collapse_flush(struct vm_area_struct *vma, 127 unsigned long address, pmd_t *pmdp) 129 pmd_t pmd = pmdp_huge_get_and_clear(vma->vm_mm, address, pmdp);
|
/linux-master/arch/x86/include/asm/ |
H A D | pgtable.h | 144 static inline bool pmd_dirty(pmd_t pmd) 149 static inline bool pmd_shstk(pmd_t pmd) 157 static inline int pmd_young(pmd_t pmd) 182 static inline int pmd_write(pmd_t pmd) 230 static inline unsigned long pmd_pfn(pmd_t pmd) 264 static inline bool pmd_leaf(pmd_t pte) 271 static inline int pmd_trans_huge(pmd_t pmd) 290 static inline int pmd_devmap(pmd_t pmd) 493 static inline pmd_t pmd_set_flags(pmd_t pm [all...] |
/linux-master/arch/loongarch/include/asm/ |
H A D | pgtable.h | 172 typedef struct { unsigned long pmd; } pmd_t; typedef in typeref:struct:__anon6 174 #define __pmd(x) ((pmd_t) { (x) }) 176 extern pmd_t invalid_pmd_table[PTRS_PER_PMD]; 201 static inline pmd_t *pud_pgtable(pud_t pud) 203 return (pmd_t *)pud_val(pud); 216 static inline int pmd_none(pmd_t pmd) 221 static inline int pmd_bad(pmd_t pmd) 226 static inline int pmd_present(pmd_t pmd) 234 static inline void pmd_clear(pmd_t *pmdp) 249 extern pmd_t mk_pm [all...] |
H A D | pgalloc.h | 16 pmd_t *pmd, pte_t *pte) 21 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t pte) 28 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) 55 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) 57 pmd_t *pmd;
|
/linux-master/arch/hexagon/include/asm/ |
H A D | pgalloc.h | 44 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, 64 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, 68 pmd_t *ppmd; 84 ppmd = (pmd_t *)current->active_mm->pgd + pmdindex;
|
/linux-master/arch/mips/mm/ |
H A D | pgtable-32.c | 34 pmd_t mk_pmd(struct page *page, pgprot_t prot) 36 pmd_t pmd; 45 pmd_t *pmdp, pmd_t pmd) 59 pmd_t *pmd;
|
/linux-master/arch/mips/include/asm/ |
H A D | pgalloc.h | 21 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, 27 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, 40 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) 65 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) 67 pmd_t *pmd;
|