Home
last modified time | relevance | path

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

12345

/linux/arch/powerpc/mm/nohash/
A D40x.c106 *pmdp++ = __pmd(val); in mmu_mapin_ram()
107 *pmdp++ = __pmd(val); in mmu_mapin_ram()
108 *pmdp++ = __pmd(val); in mmu_mapin_ram()
109 *pmdp++ = __pmd(val); in mmu_mapin_ram()
121 *pmdp = __pmd(val); in mmu_mapin_ram()
/linux/arch/powerpc/include/asm/nohash/32/
A Dpgalloc.h21 *pmdp = __pmd((unsigned long)pte | _PMD_PRESENT); in pmd_populate_kernel()
23 *pmdp = __pmd(__pa(pte) | _PMD_PRESENT); in pmd_populate_kernel()
30 *pmdp = __pmd((unsigned long)pte_page | _PMD_PRESENT); in pmd_populate()
32 *pmdp = __pmd(__pa(pte_page) | _PMD_USER | _PMD_PRESENT); in pmd_populate()
/linux/arch/powerpc/mm/book3s64/
A Dhash_hugepage.c52 } while (!pmd_xchg(pmdp, __pmd(old_pmd), __pmd(new_pmd))); in __hash_page_thp()
133 pa = pmd_pfn(__pmd(old_pmd)) << PAGE_SHIFT; in __hash_page_thp()
165 *pmdp = __pmd(old_pmd); in __hash_page_thp()
189 *pmdp = __pmd(new_pmd & ~H_PAGE_BUSY); in __hash_page_thp()
/linux/arch/hexagon/include/asm/
A Dpgalloc.h51 set_pmd(pmd, __pmd(((unsigned long)page_to_pfn(pte) << PAGE_SHIFT) | in pmd_populate()
77 set_pmd(pmd, __pmd(((unsigned long)__pa(pte)) | HEXAGON_L1_PTE_SIZE)); in pmd_populate_kernel()
85 set_pmd(ppmd, __pmd(((unsigned long)__pa(pte)) | HEXAGON_L1_PTE_SIZE)); in pmd_populate_kernel()
/linux/arch/arm/include/asm/
A Dpgtable-3level.h148 *pmdp = __pmd(0); \
207 #define pmd_mkhuge(pmd) (__pmd(pmd_val(pmd) & ~PMD_TABLE_BIT))
210 #define pfn_pmd(pfn,prot) (__pmd(((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(prot)))
219 return __pmd(pmd_val(pmd) & ~L_PMD_SECT_VALID); in pmd_mkinvalid()
244 *pmdp = __pmd(pmd_val(pmd) | PMD_SECT_nG); in set_pmd_at()
A Dpgtable-2level-types.h32 #define __pmd(x) ((pmd_t) { (x) } ) macro
50 #define __pmd(x) (x) macro
A Dpgtable-3level-types.h35 #define __pmd(x) ((pmd_t) { (x) } ) macro
52 #define __pmd(x) (x) macro
/linux/arch/arc/include/asm/
A Dhugepage.h20 return __pmd(pte_val(pte)); in pte_pmd()
41 #define pfn_pmd(pfn, prot) (__pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot)))
49 return __pmd((pmd_val(pmd) & (_PAGE_CHG_MASK | _PAGE_HW_SZ)) | pgprot_val(newprot)); in pmd_modify()
A Dpgalloc.h46 set_pmd(pmd, __pmd((unsigned long)pte)); in pmd_populate_kernel()
51 set_pmd(pmd, __pmd((unsigned long)page_address(pte_page))); in pmd_populate()
/linux/arch/arm/mm/
A Didmap.c50 *pmd = __pmd((addr & PMD_MASK) | prot); in idmap_add_pmd()
61 pmd[0] = __pmd(addr); in idmap_add_pmd()
63 pmd[1] = __pmd(addr); in idmap_add_pmd()
/linux/arch/nios2/include/asm/
A Dpgalloc.h20 set_pmd(pmd, __pmd((unsigned long)pte)); in pmd_populate_kernel()
26 set_pmd(pmd, __pmd((unsigned long)page_address(pte))); in pmd_populate()
/linux/arch/um/include/asm/
A Dpgalloc.h16 set_pmd(pmd, __pmd(_PAGE_TABLE + (unsigned long) __pa(pte)))
19 set_pmd(pmd, __pmd(_PAGE_TABLE + \
/linux/include/linux/
A Dhuge_mm.h199 #define split_huge_pmd(__vma, __pmd, __address) \ argument
201 pmd_t *____pmd = (__pmd); \
204 __split_huge_pmd(__vma, __pmd, __address, \
391 #define split_huge_pmd(__vma, __pmd, __address) \ argument
399 #define split_huge_pud(__vma, __pmd, __address) \ argument
/linux/arch/sh/include/asm/
A Dpgalloc.h25 set_pmd(pmd, __pmd((unsigned long)pte)); in pmd_populate_kernel()
31 set_pmd(pmd, __pmd((unsigned long)page_address(pte))); in pmd_populate()
/linux/arch/nds32/include/asm/
A Dpgalloc.h48 set_pmd(pmdp, __pmd(pmdval)); in pmd_populate_kernel()
59 set_pmd(pmdp, __pmd(pmdval)); in pmd_populate()
/linux/arch/openrisc/include/asm/
A Dpgalloc.h29 set_pmd(pmd, __pmd(_KERNPG_TABLE + __pa(pte)))
34 set_pmd(pmd, __pmd(_KERNPG_TABLE + in pmd_populate()
/linux/arch/sparc/include/asm/
A Dpgtable_64.h250 return __pmd(pte_val(pte)); in pfn_pmd()
342 return __pmd(pte_val(pte)); in pmd_modify()
427 return __pmd(pte_val(pte)); in pmd_mkhuge()
735 return __pmd(pte_val(pte)); in pmd_mkold()
744 return __pmd(pte_val(pte)); in pmd_wrprotect()
753 return __pmd(pte_val(pte)); in pmd_mkdirty()
762 return __pmd(pte_val(pte)); in pmd_mkclean()
771 return __pmd(pte_val(pte)); in pmd_mkyoung()
780 return __pmd(pte_val(pte)); in pmd_mkwrite()
916 set_pmd_at(mm, addr, pmdp, __pmd(0UL)); in pmdp_huge_get_and_clear()
/linux/arch/csky/include/asm/
A Dpgalloc.h16 set_pmd(pmd, __pmd(__pa(pte))); in pmd_populate_kernel()
22 set_pmd(pmd, __pmd(__pa(page_address(pte)))); in pmd_populate()
/linux/arch/powerpc/include/asm/book3s/32/
A Dpgalloc.h31 *pmdp = __pmd(__pa(pte) | _PMD_PRESENT); in pmd_populate_kernel()
37 *pmdp = __pmd(__pa(pte_page) | _PMD_PRESENT); in pmd_populate()
/linux/arch/riscv/include/asm/
A Dpgalloc.h21 set_pmd(pmd, __pmd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pmd_populate_kernel()
29 set_pmd(pmd, __pmd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pmd_populate()
A Dpgtable-64.h27 #define __pmd(x) ((pmd_t) { (x) }) macro
74 return __pmd((pfn << _PAGE_PFN_SHIFT) | pgprot_val(prot)); in pfn_pmd()
/linux/arch/x86/include/asm/
A Dpgalloc.h68 set_pmd(pmd, __pmd(__pa(pte) | _PAGE_TABLE)); in pmd_populate_kernel()
75 set_pmd_safe(pmd, __pmd(__pa(pte) | _PAGE_TABLE)); in pmd_populate_kernel_safe()
84 set_pmd(pmd, __pmd(((pteval_t)pfn << PAGE_SHIFT) | _PAGE_TABLE)); in pmd_populate()
/linux/arch/mips/include/asm/
A Dpgalloc.h23 set_pmd(pmd, __pmd((unsigned long)pte)); in pmd_populate_kernel()
29 set_pmd(pmd, __pmd((unsigned long)page_address(pte))); in pmd_populate()
/linux/arch/nds32/mm/
A Dinit.c84 set_pmd(pme, __pmd(__pa(pte) + _PAGE_KERNEL_TABLE)); in map_ram()
115 set_pmd(pmd, __pmd(__pa(fixmap_pmd_p) + _PAGE_KERNEL_TABLE)); in fixedrange_init()
128 set_pmd(pmd, __pmd(__pa(pte) + _PAGE_KERNEL_TABLE)); in fixedrange_init()
/linux/arch/xtensa/mm/
A Dkasan_init.c32 set_pmd(pmd, __pmd((unsigned long)kasan_early_shadow_pte)); in kasan_early_init()
69 set_pmd(pmd + i, __pmd((unsigned long)pte)); in populate()

Completed in 24 milliseconds

12345