Home
last modified time | relevance | path

Searched refs:pmd_pte (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/arch/arc/include/asm/
Dhugepage.h13 static inline pte_t pmd_pte(pmd_t pmd) in pmd_pte() 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)))
32 #define pmd_write(pmd) pte_write(pmd_pte(pmd))
[all …]
/linux-5.19.10/arch/riscv/include/asm/
Dpgtable.h277 static inline pte_t pmd_pte(pmd_t pmd) in pmd_pte() function
409 return pte_protnone(pmd_pte(pmd)); in pmd_protnone()
609 return pte_pmd(pte_modify(pmd_pte(pmd), newprot)); in pmd_modify()
615 return pte_write(pmd_pte(pmd)); in pmd_write()
620 return pte_dirty(pmd_pte(pmd)); in pmd_dirty()
625 return pte_young(pmd_pte(pmd)); in pmd_young()
630 return pte_user(pmd_pte(pmd)); in pmd_user()
635 return pte_pmd(pte_mkold(pmd_pte(pmd))); in pmd_mkold()
640 return pte_pmd(pte_mkyoung(pmd_pte(pmd))); in pmd_mkyoung()
645 return pte_pmd(pte_mkwrite(pmd_pte(pmd))); in pmd_mkwrite()
[all …]
/linux-5.19.10/arch/powerpc/include/asm/book3s/64/
Dpgtable.h775 #define __pmd_to_swp_entry(pmd) (__pte_to_swp_entry(pmd_pte(pmd)))
1136 static inline pte_t pmd_pte(pmd_t pmd) in pmd_pte() function
1150 #define pmd_pfn(pmd) pte_pfn(pmd_pte(pmd))
1151 #define pmd_dirty(pmd) pte_dirty(pmd_pte(pmd))
1152 #define pmd_young(pmd) pte_young(pmd_pte(pmd))
1153 #define pmd_mkold(pmd) pte_pmd(pte_mkold(pmd_pte(pmd)))
1154 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd)))
1155 #define pmd_mkdirty(pmd) pte_pmd(pte_mkdirty(pmd_pte(pmd)))
1156 #define pmd_mkclean(pmd) pte_pmd(pte_mkclean(pmd_pte(pmd)))
1157 #define pmd_mkyoung(pmd) pte_pmd(pte_mkyoung(pmd_pte(pmd)))
[all …]
/linux-5.19.10/arch/arm64/include/asm/
Dpgtable.h149 (pte_access_permitted(pmd_pte(pmd), (write)))
394 static inline pte_t pmd_pte(pmd_t pmd) in pmd_pte() function
441 return pte_protnone(pmd_pte(pmd)); in pmd_protnone()
449 return pte_present(pmd_pte(pmd)) || pmd_present_invalid(pmd); in pmd_present()
463 #define pmd_dirty(pmd) pte_dirty(pmd_pte(pmd))
464 #define pmd_young(pmd) pte_young(pmd_pte(pmd))
465 #define pmd_valid(pmd) pte_valid(pmd_pte(pmd))
466 #define pmd_user(pmd) pte_user(pmd_pte(pmd))
467 #define pmd_user_exec(pmd) pte_user_exec(pmd_pte(pmd))
468 #define pmd_cont(pmd) pte_cont(pmd_pte(pmd))
[all …]
/linux-5.19.10/arch/powerpc/mm/book3s64/
Dpgtable.c62 pmd_pte(entry), address, MMU_PAGE_2M); in pmdp_set_access_flags()
85 WARN_ON(pte_hw_valid(pmd_pte(*pmdp)) && !pte_protnone(pmd_pte(*pmdp))); in set_pmd_at()
90 return set_pte_at(mm, addr, pmdp_ptep(pmdp), pmd_pte(pmd)); in set_pmd_at()
/linux-5.19.10/arch/powerpc/mm/
Dpgtable_64.c136 return pte_page(pmd_pte(pmd)); in pmd_page()
/linux-5.19.10/arch/powerpc/include/asm/nohash/
Dpgtable.h69 return pte_protnone(pmd_pte(pmd)); in pmd_protnone()
/linux-5.19.10/arch/powerpc/include/asm/nohash/64/
Dpgtable.h134 static inline pte_t pmd_pte(pmd_t pmd) in pmd_pte() function
/linux-5.19.10/arch/arm64/mm/
Dhugetlbpage.c392 entry = pmd_pte(pmd_mkcont(pte_pmd(entry))); in arch_make_huge_pte()