Home
last modified time | relevance | path

Searched refs:__pmd (Results 1 – 25 of 87) sorted by relevance

1234

/arch/arm/include/asm/
Dpgtable-3level.h185 *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()
Dpgtable-2level-types.h44 #define __pmd(x) ((pmd_t) { (x) } ) macro
62 #define __pmd(x) (x) macro
Dpgtable-3level-types.h47 #define __pmd(x) ((pmd_t) { (x) } ) macro
64 #define __pmd(x) (x) macro
Dpgtable-2level.h207 pmdp[0] = __pmd(0); \
208 pmdp[1] = __pmd(0); \
Dpgalloc.h135 pmdp[0] = __pmd(pmdval); in __pmd_populate()
137 pmdp[1] = __pmd(pmdval + 256 * sizeof(pte_t)); in __pmd_populate()
/arch/mn10300/include/asm/
Dpgalloc.h23 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/
Dpgalloc.h103 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/
Dhugepage.h23 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/
Didmap.c47 *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/
Dpgalloc.h14 set_pmd(pmd, __pmd(_PAGE_TABLE + (unsigned long) __pa(pte)))
17 set_pmd(pmd, __pmd(_PAGE_TABLE + \
Dpage.h53 #define __pmd(x) ((pmd_t) { (x) } ) macro
66 #define __pmd(x) ((pmd_t) { (x) } ) macro
/arch/nios2/include/asm/
Dpgalloc.h18 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/
Dpgalloc.h31 set_pmd(pmd, __pmd(_KERNPG_TABLE + __pa(pte)))
36 set_pmd(pmd, __pmd(_KERNPG_TABLE + in pmd_populate()
/arch/arm64/include/asm/
Dpgtable-types.h44 #define __pmd(x) ((pmd_t) { (x) } ) macro
70 #define __pmd(x) (x) macro
/arch/metag/include/asm/
Dpgalloc.h8 set_pmd(pmd, __pmd(_PAGE_TABLE | __pa(pte)))
11 set_pmd(pmd, __pmd(_PAGE_TABLE | page_to_phys(pte)))
/arch/powerpc/mm/
Dhugepage-hash64.c131 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/
Dpgalloc.h9 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/
Dpgalloc.h21 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/
Dpgalloc.h9 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/
Dpgalloc.h22 set_pmd(pmd, __pmd((unsigned long)pte)); in pmd_populate_kernel()
28 set_pmd(pmd, __pmd((unsigned long)page_address(pte))); in pmd_populate()
Dpgtable-2level.h43 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
/arch/x86/include/asm/
Dpgtable-2level.h31 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/
Dpgalloc.h19 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/
Dpgtable_64.h251 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()
Dpage_64.h74 #define __pmd(x) ((pmd_t) { (x) } ) macro
97 #define __pmd(x) (x) macro

1234