Home
last modified time | relevance | path

Searched refs:pte_pmd (Results 1 – 5 of 5) sorted by relevance

/arch/arc/include/asm/
Dhugepage.h18 static inline pmd_t pte_pmd(pte_t pte) in pte_pmd() function
23 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd)))
24 #define pmd_mkwrite(pmd) pte_pmd(pte_mkwrite(pmd_pte(pmd)))
25 #define pmd_mkdirty(pmd) pte_pmd(pte_mkdirty(pmd_pte(pmd)))
26 #define pmd_mkold(pmd) pte_pmd(pte_mkold(pmd_pte(pmd)))
27 #define pmd_mkyoung(pmd) pte_pmd(pte_mkyoung(pmd_pte(pmd)))
28 #define pmd_mkhuge(pmd) pte_pmd(pte_mkhuge(pmd_pte(pmd)))
29 #define pmd_mkinvalid(pmd) pte_pmd(pte_mknotpresent(pmd_pte(pmd)))
30 #define pmd_mkclean(pmd) pte_pmd(pte_mkclean(pmd_pte(pmd)))
37 #define mk_pmd(page, prot) pte_pmd(mk_pte(page, prot))
/arch/riscv/include/asm/
Dpgtable.h500 static inline pmd_t pte_pmd(pte_t pte) in pte_pmd() function
524 return pte_pmd(pte_modify(pmd_pte(pmd), newprot)); in pmd_modify()
546 return pte_pmd(pte_mkold(pmd_pte(pmd))); in pmd_mkold()
551 return pte_pmd(pte_mkyoung(pmd_pte(pmd))); in pmd_mkyoung()
556 return pte_pmd(pte_mkwrite(pmd_pte(pmd))); in pmd_mkwrite()
561 return pte_pmd(pte_wrprotect(pmd_pte(pmd))); in pmd_wrprotect()
566 return pte_pmd(pte_mkclean(pmd_pte(pmd))); in pmd_mkclean()
571 return pte_pmd(pte_mkdirty(pmd_pte(pmd))); in pmd_mkdirty()
611 return pte_pmd(ptep_get_and_clear(mm, address, (pte_t *)pmdp)); in pmdp_huge_get_and_clear()
/arch/powerpc/include/asm/book3s/64/
Dpgtable.h774 #define __swp_entry_to_pmd(x) (pte_pmd(__swp_entry_to_pte(x)))
1111 static inline pmd_t pte_pmd(pte_t pte) in pte_pmd() function
1123 #define pmd_mkold(pmd) pte_pmd(pte_mkold(pmd_pte(pmd)))
1124 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd)))
1125 #define pmd_mkdirty(pmd) pte_pmd(pte_mkdirty(pmd_pte(pmd)))
1126 #define pmd_mkclean(pmd) pte_pmd(pte_mkclean(pmd_pte(pmd)))
1127 #define pmd_mkyoung(pmd) pte_pmd(pte_mkyoung(pmd_pte(pmd)))
1128 #define pmd_mkwrite(pmd) pte_pmd(pte_mkwrite(pmd_pte(pmd)))
1129 #define pmd_mk_savedwrite(pmd) pte_pmd(pte_mk_savedwrite(pmd_pte(pmd)))
1130 #define pmd_clear_savedwrite(pmd) pte_pmd(pte_clear_savedwrite(pmd_pte(pmd)))
[all …]
/arch/arm64/include/asm/
Dpgtable.h393 static inline pmd_t pte_pmd(pte_t pte) in pte_pmd() function
445 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd)))
446 #define pmd_mkold(pmd) pte_pmd(pte_mkold(pmd_pte(pmd)))
447 #define pmd_mkwrite(pmd) pte_pmd(pte_mkwrite(pmd_pte(pmd)))
448 #define pmd_mkclean(pmd) pte_pmd(pte_mkclean(pmd_pte(pmd)))
449 #define pmd_mkdirty(pmd) pte_pmd(pte_mkdirty(pmd_pte(pmd)))
450 #define pmd_mkyoung(pmd) pte_pmd(pte_mkyoung(pmd_pte(pmd)))
471 return pte_pmd(set_pte_bit(pmd_pte(pmd), __pgprot(PTE_DEVMAP))); in pmd_mkdevmap()
797 return pte_pmd(pte_modify(pmd_pte(pmd), newprot)); in pmd_modify()
897 return pte_pmd(ptep_get_and_clear(mm, address, (pte_t *)pmdp)); in pmdp_huge_get_and_clear()
/arch/arm64/mm/
Dhugetlbpage.c349 entry = pmd_pte(pmd_mkcont(pte_pmd(entry))); in arch_make_huge_pte()