Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/arch/riscv/include/asm/
Dpgtable.h257 static inline pte_t pmd_pte(pmd_t pmd) in pmd_pte() function
389 return pte_protnone(pmd_pte(pmd)); in pmd_protnone()
589 return pte_pmd(pte_modify(pmd_pte(pmd), newprot)); in pmd_modify()
595 return pte_write(pmd_pte(pmd)); in pmd_write()
600 return pte_dirty(pmd_pte(pmd)); in pmd_dirty()
606 return pte_young(pmd_pte(pmd)); in pmd_young()
611 return pte_user(pmd_pte(pmd)); in pmd_user()
616 return pte_pmd(pte_mkold(pmd_pte(pmd))); in pmd_mkold()
621 return pte_pmd(pte_mkyoung(pmd_pte(pmd))); in pmd_mkyoung()
626 return pte_pmd(pte_mkwrite(pmd_pte(pmd))); in pmd_mkwrite()
[all …]
/Linux-v6.1/arch/powerpc/include/asm/book3s/64/
Dpgtable.h758 #define __pmd_to_swp_entry(pmd) (__pte_to_swp_entry(pmd_pte(pmd)))
1119 static inline pte_t pmd_pte(pmd_t pmd) in pmd_pte() function
1133 #define pmd_pfn(pmd) pte_pfn(pmd_pte(pmd))
1134 #define pmd_dirty(pmd) pte_dirty(pmd_pte(pmd))
1135 #define pmd_young(pmd) pte_young(pmd_pte(pmd))
1136 #define pmd_mkold(pmd) pte_pmd(pte_mkold(pmd_pte(pmd)))
1137 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd)))
1138 #define pmd_mkdirty(pmd) pte_pmd(pte_mkdirty(pmd_pte(pmd)))
1139 #define pmd_mkclean(pmd) pte_pmd(pte_mkclean(pmd_pte(pmd)))
1140 #define pmd_mkyoung(pmd) pte_pmd(pte_mkyoung(pmd_pte(pmd)))
[all …]
/Linux-v6.1/arch/arm64/include/asm/
Dpgtable.h155 (pte_access_permitted(pmd_pte(pmd), (write)))
400 static inline pte_t pmd_pte(pmd_t pmd) in pmd_pte() function
457 return pte_protnone(pmd_pte(pmd)); in pmd_protnone()
465 return pte_present(pmd_pte(pmd)) || pmd_present_invalid(pmd); in pmd_present()
479 #define pmd_dirty(pmd) pte_dirty(pmd_pte(pmd))
480 #define pmd_young(pmd) pte_young(pmd_pte(pmd))
481 #define pmd_valid(pmd) pte_valid(pmd_pte(pmd))
482 #define pmd_user(pmd) pte_user(pmd_pte(pmd))
483 #define pmd_user_exec(pmd) pte_user_exec(pmd_pte(pmd))
484 #define pmd_cont(pmd) pte_cont(pmd_pte(pmd))
[all …]
/Linux-v6.1/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-v6.1/arch/powerpc/mm/
Dpgtable_64.c136 return pte_page(pmd_pte(pmd)); in pmd_page()
/Linux-v6.1/arch/powerpc/include/asm/nohash/
Dpgtable.h49 return pte_protnone(pmd_pte(pmd)); in pmd_protnone()
/Linux-v6.1/arch/powerpc/include/asm/nohash/64/
Dpgtable.h121 static inline pte_t pmd_pte(pmd_t pmd) in pmd_pte() function
/Linux-v6.1/arch/arm64/mm/
Dhugetlbpage.c404 entry = pmd_pte(pmd_mkcont(pte_pmd(entry))); in arch_make_huge_pte()