Home
last modified time | relevance | path

Searched refs:__pmd (Results 1 – 25 of 82) 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)))
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()
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.h177 pmdp[0] = __pmd(0); \
178 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()
Dpage-nommu.h43 #define __pmd(x) (x) macro
/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/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/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/arm64/include/asm/
Dpgtable-types.h44 #define __pmd(x) ((pmd_t) { (x) } ) macro
70 #define __pmd(x) (x) macro
/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/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/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/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/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/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/powerpc/mm/
Dhugepage-hash64.c181 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/
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/sparc/include/asm/
Dpgtable_64.h253 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()
Dpage_64.h73 #define __pmd(x) ((pmd_t) { (x) } ) macro
96 #define __pmd(x) (x) macro
/arch/parisc/include/asm/
Dpage.h55 #define __pmd(x) ((pmd_t) { (x) } ) macro
77 #define __pmd(x) (x) macro

1234