/arch/arm/include/asm/ |
D | pgtable-3level.h | 185 *pmdp = __pmd(0); \ 228 #define pud_page(pud) pmd_page(__pmd(pud_val(pud))) 229 #define pud_write(pud) pmd_write(__pmd(pud_val(pud))) 256 #define pmd_mkhuge(pmd) (__pmd(pmd_val(pmd) & ~PMD_TABLE_BIT)) 259 #define pfn_pmd(pfn,prot) (__pmd(((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(prot))) 265 return __pmd(pmd_val(pmd) & ~L_PMD_SECT_VALID); in pmd_mknotpresent() 290 *pmdp = __pmd(pmd_val(pmd) | PMD_SECT_nG); in set_pmd_at()
|
D | pgtable-2level-types.h | 44 #define __pmd(x) ((pmd_t) { (x) } ) macro 62 #define __pmd(x) (x) macro
|
D | pgtable-3level-types.h | 47 #define __pmd(x) ((pmd_t) { (x) } ) macro 64 #define __pmd(x) (x) macro
|
D | pgtable-2level.h | 207 pmdp[0] = __pmd(0); \ 208 pmdp[1] = __pmd(0); \
|
D | pgalloc.h | 135 pmdp[0] = __pmd(pmdval); in __pmd_populate() 137 pmdp[1] = __pmd(pmdval + 256 * sizeof(pte_t)); in __pmd_populate()
|
/arch/mn10300/include/asm/ |
D | pgalloc.h | 23 set_pmd(pmd, __pmd(__pa(pte) | _PAGE_TABLE)) 28 set_pmd(pmd, __pmd((page_to_pfn(pte) << PAGE_SHIFT) | _PAGE_TABLE)); in pmd_populate()
|
/arch/hexagon/include/asm/ |
D | pgalloc.h | 103 set_pmd(pmd, __pmd(((unsigned long)page_to_pfn(pte) << PAGE_SHIFT) | in pmd_populate() 129 set_pmd(pmd, __pmd(((unsigned long)__pa(pte)) | HEXAGON_L1_PTE_SIZE)); in pmd_populate_kernel() 137 set_pmd(ppmd, __pmd(((unsigned long)__pa(pte)) | HEXAGON_L1_PTE_SIZE)); in pmd_populate_kernel()
|
/arch/arc/include/asm/ |
D | hugepage.h | 23 return __pmd(pte_val(pte)); in pte_pmd() 47 #define pfn_pmd(pfn, prot) (__pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))) 55 return __pmd((pmd_val(pmd) & (_PAGE_CHG_MASK | _PAGE_HW_SZ)) | pgprot_val(newprot)); in pmd_modify()
|
/arch/arm/mm/ |
D | idmap.c | 47 *pmd = __pmd((addr & PMD_MASK) | prot); in idmap_add_pmd() 58 pmd[0] = __pmd(addr); in idmap_add_pmd() 60 pmd[1] = __pmd(addr); in idmap_add_pmd()
|
/arch/um/include/asm/ |
D | pgalloc.h | 14 set_pmd(pmd, __pmd(_PAGE_TABLE + (unsigned long) __pa(pte))) 17 set_pmd(pmd, __pmd(_PAGE_TABLE + \
|
D | page.h | 53 #define __pmd(x) ((pmd_t) { (x) } ) macro 66 #define __pmd(x) ((pmd_t) { (x) } ) macro
|
/arch/nios2/include/asm/ |
D | pgalloc.h | 18 set_pmd(pmd, __pmd((unsigned long)pte)); in pmd_populate_kernel() 24 set_pmd(pmd, __pmd((unsigned long)page_address(pte))); in pmd_populate()
|
/arch/openrisc/include/asm/ |
D | pgalloc.h | 31 set_pmd(pmd, __pmd(_KERNPG_TABLE + __pa(pte))) 36 set_pmd(pmd, __pmd(_KERNPG_TABLE + in pmd_populate()
|
/arch/arm64/include/asm/ |
D | pgtable-types.h | 44 #define __pmd(x) ((pmd_t) { (x) } ) macro 70 #define __pmd(x) (x) macro
|
/arch/metag/include/asm/ |
D | pgalloc.h | 8 set_pmd(pmd, __pmd(_PAGE_TABLE | __pa(pte))) 11 set_pmd(pmd, __pmd(_PAGE_TABLE | page_to_phys(pte)))
|
/arch/powerpc/mm/ |
D | hugepage-hash64.c | 131 pa = pmd_pfn(__pmd(old_pmd)) << PAGE_SHIFT; in __hash_page_thp() 170 *pmdp = __pmd(old_pmd); in __hash_page_thp() 194 *pmdp = __pmd(new_pmd & ~_PAGE_BUSY); in __hash_page_thp()
|
/arch/m32r/include/asm/ |
D | pgalloc.h | 9 set_pmd(pmd, __pmd(_PAGE_TABLE + __pa(pte))) 14 set_pmd(pmd, __pmd(_PAGE_TABLE + page_to_phys(pte))); in pmd_populate()
|
/arch/sh/include/asm/ |
D | pgalloc.h | 21 set_pmd(pmd, __pmd((unsigned long)pte)); in pmd_populate_kernel() 27 set_pmd(pmd, __pmd((unsigned long)page_address(pte))); in pmd_populate()
|
/arch/score/include/asm/ |
D | pgalloc.h | 9 set_pmd(pmd, __pmd((unsigned long)pte)); in pmd_populate_kernel() 15 set_pmd(pmd, __pmd((unsigned long)page_address(pte))); in pmd_populate()
|
/arch/avr32/include/asm/ |
D | pgalloc.h | 22 set_pmd(pmd, __pmd((unsigned long)pte)); in pmd_populate_kernel() 28 set_pmd(pmd, __pmd((unsigned long)page_address(pte))); in pmd_populate()
|
D | pgtable-2level.h | 43 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
|
/arch/x86/include/asm/ |
D | pgtable-2level.h | 31 native_set_pmd(pmdp, __pmd(0)); in native_pmd_clear() 52 return __pmd(xchg((pmdval_t *)xp, 0)); in native_pmdp_get_and_clear()
|
/arch/mips/include/asm/ |
D | pgalloc.h | 19 set_pmd(pmd, __pmd((unsigned long)pte)); in pmd_populate_kernel() 25 set_pmd(pmd, __pmd((unsigned long)page_address(pte))); in pmd_populate()
|
/arch/sparc/include/asm/ |
D | pgtable_64.h | 251 return __pmd(pte_val(pte)); in pfn_pmd() 343 return __pmd(pte_val(pte)); in pmd_modify() 414 return __pmd(pte_val(pte)); in pmd_mkhuge() 716 return __pmd(pte_val(pte)); in pmd_mkold() 725 return __pmd(pte_val(pte)); in pmd_wrprotect() 734 return __pmd(pte_val(pte)); in pmd_mkdirty() 743 return __pmd(pte_val(pte)); in pmd_mkyoung() 752 return __pmd(pte_val(pte)); in pmd_mkwrite() 761 return __pmd(pte_val(pte)); in pmd_mksplitting() 904 set_pmd_at(mm, addr, pmdp, __pmd(0UL)); in pmdp_huge_get_and_clear()
|
D | page_64.h | 74 #define __pmd(x) ((pmd_t) { (x) } ) macro 97 #define __pmd(x) (x) macro
|