/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))) 255 #define pmd_mkhuge(pmd) (__pmd(pmd_val(pmd) & ~PMD_TABLE_BIT)) 258 #define pfn_pmd(pfn,prot) (__pmd(((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(prot))) 264 return __pmd(pmd_val(pmd) & ~L_PMD_SECT_VALID); in pmd_mknotpresent() 289 *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 | 177 pmdp[0] = __pmd(0); \ 178 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()
|
D | page-nommu.h | 43 #define __pmd(x) (x) macro
|
/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/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/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/arm64/include/asm/ |
D | pgtable-types.h | 44 #define __pmd(x) ((pmd_t) { (x) } ) macro 70 #define __pmd(x) (x) macro
|
/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/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/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/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/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/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/powerpc/mm/ |
D | hugepage-hash64.c | 181 pa = pmd_pfn(__pmd(old_pmd)) << PAGE_SHIFT; in __hash_page_thp() 220 *pmdp = __pmd(old_pmd); in __hash_page_thp() 244 *pmdp = __pmd(new_pmd & ~_PAGE_BUSY); in __hash_page_thp()
|
/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/sparc/include/asm/ |
D | pgtable_64.h | 253 return __pmd(pte_val(pte)); in pfn_pmd() 331 return __pmd(pte_val(pte)); in pmd_modify() 401 return __pmd(pte_val(pte)); in pmd_mkhuge() 714 return __pmd(pte_val(pte)); in pmd_mkold() 723 return __pmd(pte_val(pte)); in pmd_wrprotect() 732 return __pmd(pte_val(pte)); in pmd_mkdirty() 741 return __pmd(pte_val(pte)); in pmd_mkyoung() 750 return __pmd(pte_val(pte)); in pmd_mkwrite() 759 return __pmd(pte_val(pte)); in pmd_mksplitting() 889 set_pmd_at(mm, addr, pmdp, __pmd(0UL)); in pmdp_get_and_clear()
|
D | page_64.h | 73 #define __pmd(x) ((pmd_t) { (x) } ) macro 96 #define __pmd(x) (x) macro
|
/arch/parisc/include/asm/ |
D | page.h | 55 #define __pmd(x) ((pmd_t) { (x) } ) macro 77 #define __pmd(x) (x) macro
|