/arch/arc/include/asm/ |
D | hugepage.h | 17 static inline pte_t pmd_pte(pmd_t pmd) in pmd_pte() 27 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd))) argument 28 #define pmd_mkwrite(pmd) pte_pmd(pte_mkwrite(pmd_pte(pmd))) argument 29 #define pmd_mkdirty(pmd) pte_pmd(pte_mkdirty(pmd_pte(pmd))) argument 30 #define pmd_mkold(pmd) pte_pmd(pte_mkold(pmd_pte(pmd))) argument 31 #define pmd_mkyoung(pmd) pte_pmd(pte_mkyoung(pmd_pte(pmd))) argument 32 #define pmd_mkhuge(pmd) pte_pmd(pte_mkhuge(pmd_pte(pmd))) argument 33 #define pmd_mknotpresent(pmd) pte_pmd(pte_mknotpresent(pmd_pte(pmd))) argument 34 #define pmd_mkclean(pmd) pte_pmd(pte_mkclean(pmd_pte(pmd))) argument 36 #define pmd_write(pmd) pte_write(pmd_pte(pmd)) argument [all …]
|
/arch/arm/include/asm/ |
D | pgtable-3level.h | 144 #define pmd_table(pmd) ((pmd_val(pmd) & PMD_TYPE_MASK) == \ argument 146 #define pmd_sect(pmd) ((pmd_val(pmd) & PMD_TYPE_MASK) == \ argument 148 #define pmd_large(pmd) pmd_sect(pmd) argument 174 #define pmd_bad(pmd) (!(pmd_val(pmd) & 2)) argument 210 #define pmd_isset(pmd, val) ((u32)(val) == (val) ? pmd_val(pmd) & (val) \ argument 212 #define pmd_isclear(pmd, val) (!(pmd_val(pmd) & (val))) argument 214 #define pmd_present(pmd) (pmd_isset((pmd), L_PMD_SECT_VALID)) argument 215 #define pmd_young(pmd) (pmd_isset((pmd), PMD_SECT_AF)) argument 225 #define pmd_write(pmd) (pmd_isclear((pmd), L_PMD_SECT_RDONLY)) argument 226 #define pmd_dirty(pmd) (pmd_isset((pmd), L_PMD_SECT_DIRTY)) argument [all …]
|
D | pgalloc.h | 35 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free() 41 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate() 52 #define pmd_free(mm, pmd) do { } while (0) argument 53 #define pud_populate(mm,pmd,pte) BUG() argument 170 #define pmd_pgtable(pmd) pmd_page(pmd) argument
|
/arch/parisc/include/asm/ |
D | pgalloc.h | 59 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmd) in pgd_populate() 67 pmd_t *pmd = (pmd_t *)__get_free_pages(GFP_KERNEL, PMD_ORDER); in pmd_alloc_one() local 73 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free() 99 #define pgd_populate(mm, pmd, pte) BUG() argument 104 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate_kernel() 120 #define pmd_populate(mm, pmd, pte_page) \ argument 122 #define pmd_pgtable(pmd) pmd_page(pmd) argument
|
/arch/m68k/include/asm/ |
D | motorola_pgalloc.h | 75 static inline int pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free() 80 static inline int __pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmd, in __pmd_free_tlb() 98 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate_kernel() 103 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t page) in pmd_populate() 107 #define pmd_pgtable(pmd) pmd_page(pmd) argument 109 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmd) in pgd_populate()
|
D | mcf_pgalloc.h | 37 #define pmd_populate(mm, pmd, page) (pmd_val(*pmd) = \ argument 40 #define pmd_populate_kernel(mm, pmd, pte) (pmd_val(*pmd) = (unsigned long)(pte)) argument 42 #define pmd_pgtable(pmd) pmd_page(pmd) argument 51 #define __pmd_free_tlb(tlb, pmd, address) do { } while (0) argument 88 #define pmd_free(mm, pmd) BUG() argument 107 #define pgd_populate(mm, pmd, pte) BUG() argument
|
D | sun3_pgalloc.h | 67 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate_kernel() 72 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t page) in pmd_populate() 76 #define pmd_pgtable(pmd) pmd_page(pmd) argument 100 #define pgd_populate(mm, pmd, pte) BUG() argument
|
D | sun3_pgtable.h | 120 #define __pmd_page(pmd) \ argument 135 #define pmd_page(pmd) virt_to_page(__pmd_page(pmd)) argument 138 static inline int pmd_none2 (pmd_t *pmd) { return !pmd_val (*pmd); } in pmd_none2() 139 #define pmd_none(pmd) pmd_none2(&(pmd)) argument 141 static inline int pmd_bad2 (pmd_t *pmd) { return 0; } in pmd_bad2() 142 #define pmd_bad(pmd) pmd_bad2(&(pmd)) argument 143 static inline int pmd_present2 (pmd_t *pmd) { return pmd_val (*pmd) & SUN3_PMD_VALID; } in pmd_present2() 145 #define pmd_present(pmd) (!pmd_none2(&(pmd))) argument 205 #define pte_offset_kernel(pmd, address) ((pte_t *) __pmd_page(*pmd) + pte_index(address)) argument 206 #define pte_offset_map(pmd, address) ((pte_t *)page_address(pmd_page(*pmd)) + pte_index(address)) argument
|
/arch/mips/include/asm/ |
D | pgtable.h | 92 #define pmd_phys(pmd) virt_to_phys((void *)pmd_val(pmd)) argument 94 #define __pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) argument 96 #define pmd_page(pmd) __pmd_page(pmd) argument 99 #define pmd_page_vaddr(pmd) pmd_val(pmd) argument 540 static inline int pmd_trans_huge(pmd_t pmd) 545 static inline pmd_t pmd_mkhuge(pmd_t pmd) 556 static inline int pmd_write(pmd_t pmd) 561 static inline pmd_t pmd_wrprotect(pmd_t pmd) 567 static inline pmd_t pmd_mkwrite(pmd_t pmd) 576 static inline int pmd_dirty(pmd_t pmd) [all …]
|
D | pgalloc.h | 16 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, in pmd_populate_kernel() 22 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate() 27 #define pmd_pgtable(pmd) pmd_page(pmd) argument 36 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate() 96 pmd_t *pmd; in pmd_alloc_one() local 104 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
|
/arch/powerpc/include/asm/nohash/64/ |
D | pgalloc.h | 70 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate() 75 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, in pmd_populate_kernel() 81 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate() 87 #define pmd_pgtable(pmd) pmd_page(pmd) argument 143 #define pud_populate(mm, pud, pmd) pud_set(pud, (unsigned long)pmd) argument 145 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, in pmd_populate_kernel() 151 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate() 157 static inline pgtable_t pmd_pgtable(pmd_t pmd) in pmd_pgtable() 198 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free() 203 #define __pmd_free_tlb(tlb, pmd, addr) \ argument
|
/arch/alpha/include/asm/ |
D | pgalloc.h | 15 pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t pte) in pmd_populate() 19 #define pmd_pgtable(pmd) pmd_page(pmd) argument 22 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate_kernel() 28 pgd_populate(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmd) in pgd_populate() 49 pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
|
/arch/um/include/asm/ |
D | pgalloc.h | 13 #define pmd_populate_kernel(mm, pmd, pte) \ argument 16 #define pmd_populate(mm, pmd, pte) \ argument 20 #define pmd_pgtable(pmd) pmd_page(pmd) argument 50 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
|
/arch/sh/mm/ |
D | hugetlbpage.c | 30 pmd_t *pmd; in huge_pte_alloc() local 51 pmd_t *pmd; in huge_pte_offset() local 67 int pmd_huge(pmd_t pmd) in pmd_huge()
|
/arch/tile/include/asm/ |
D | pgtable.h | 366 static inline int pmd_none(pmd_t pmd) in pmd_none() 375 static inline int pmd_present(pmd_t pmd) in pmd_present() 380 static inline int pmd_bad(pmd_t pmd) in pmd_bad() 439 #define pmd_ptfn(pmd) hv_pte_get_ptfn(pmd_pte(pmd)) argument 447 static inline unsigned long pmd_page_vaddr(pmd_t pmd) in pmd_page_vaddr() 461 #define pmd_page(pmd) pfn_to_page(PFN_DOWN(HV_PTFN_TO_CPA(pmd_ptfn(pmd)))) argument 468 #define pmd_mknotpresent(pmd) pte_pmd(pte_mknotpresent(pmd_pte(pmd))) argument 469 #define pmd_young(pmd) pte_young(pmd_pte(pmd)) argument 470 #define pmd_mkyoung(pmd) pte_pmd(pte_mkyoung(pmd_pte(pmd))) argument 471 #define pmd_mkold(pmd) pte_pmd(pte_mkold(pmd_pte(pmd))) argument [all …]
|
D | pgalloc.h | 41 static inline void set_pmd(pmd_t *pmdp, pmd_t pmd) in set_pmd() 51 pmd_t *pmd, pte_t *ptep) in pmd_populate_kernel() 57 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate() 86 #define pmd_pgtable(pmd) pmd_page(pmd) argument 125 #define pud_populate(mm, pud, pmd) \ argument
|
/arch/mn10300/include/asm/ |
D | pgalloc.h | 22 #define pmd_populate_kernel(mm, pmd, pte) \ argument 26 void pmd_populate(struct mm_struct *mm, pmd_t *pmd, struct page *pte) in pmd_populate() 30 #define pmd_pgtable(pmd) pmd_page(pmd) argument
|
/arch/arm64/include/asm/ |
D | pgtable.h | 115 #define pmd_access_permitted(pmd, write) \ argument 195 static inline pmd_t pmd_mkcont(pmd_t pmd) in pmd_mkcont() 284 static inline pte_t pmd_pte(pmd_t pmd) in pmd_pte() 308 static inline int pmd_protnone(pmd_t pmd) in pmd_protnone() 319 #define pmd_trans_huge(pmd) (pmd_val(pmd) && !(pmd_val(pmd) & PMD_TABLE_BIT)) argument 322 #define pmd_present(pmd) pte_present(pmd_pte(pmd)) argument 323 #define pmd_dirty(pmd) pte_dirty(pmd_pte(pmd)) argument 324 #define pmd_young(pmd) pte_young(pmd_pte(pmd)) argument 325 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd))) argument 326 #define pmd_mkold(pmd) pte_pmd(pte_mkold(pmd_pte(pmd))) argument [all …]
|
D | pgalloc.h | 39 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free() 45 static inline void __pud_populate(pud_t *pud, phys_addr_t pmd, pudval_t prot) in __pud_populate() 50 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate() 55 static inline void __pud_populate(pud_t *pud, phys_addr_t pmd, pudval_t prot) in __pud_populate() 153 #define pmd_pgtable(pmd) pmd_page(pmd) argument
|
/arch/x86/include/asm/ |
D | pgtable.h | 64 #define set_pmd(pmdp, pmd) native_set_pmd(pmdp, pmd) argument 88 #define pmd_clear(pmd) native_pmd_clear(pmd) argument 143 static inline int pmd_dirty(pmd_t pmd) in pmd_dirty() 148 static inline int pmd_young(pmd_t pmd) in pmd_young() 199 static inline unsigned long pmd_pfn(pmd_t pmd) in pmd_pfn() 237 static inline int pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() 256 static inline int pmd_devmap(pmd_t pmd) in pmd_devmap() 359 static inline pmd_t pmd_set_flags(pmd_t pmd, pmdval_t set) in pmd_set_flags() 366 static inline pmd_t pmd_clear_flags(pmd_t pmd, pmdval_t clear) in pmd_clear_flags() 373 static inline pmd_t pmd_mkold(pmd_t pmd) in pmd_mkold() [all …]
|
/arch/sparc/include/asm/ |
D | pgalloc_32.h | 47 static inline void free_pmd_fast(pmd_t * pmd) in free_pmd_fast() 52 #define pmd_free(mm, pmd) free_pmd_fast(pmd) argument 53 #define __pmd_free_tlb(tlb, pmd, addr) pmd_free((tlb)->mm, pmd) argument 56 #define pmd_pgtable(pmd) pmd_page(pmd) argument
|
/arch/openrisc/include/asm/ |
D | pgalloc.h | 29 #define pmd_populate_kernel(mm, pmd, pte) \ argument 32 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate() 103 #define pmd_pgtable(pmd) pmd_page(pmd) argument
|
/arch/sh/include/asm/ |
D | pgalloc.h | 19 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, in pmd_populate_kernel() 25 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate() 30 #define pmd_pgtable(pmd) pmd_page(pmd) argument
|
/arch/powerpc/include/asm/book3s/64/ |
D | pgalloc.h | 111 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate() 133 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free() 138 static inline void __pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmd, in __pmd_free_tlb() 149 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, in pmd_populate_kernel() 155 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate() 161 static inline pgtable_t pmd_pgtable(pmd_t pmd) in pmd_pgtable()
|
/arch/m32r/include/asm/ |
D | pgalloc.h | 9 #define pmd_populate_kernel(mm, pmd, pte) \ argument 12 static __inline__ void pmd_populate(struct mm_struct *mm, pmd_t *pmd, in pmd_populate() 17 #define pmd_pgtable(pmd) pmd_page(pmd) argument 78 #define pgd_populate(mm, pmd, pte) BUG() argument
|