Home
last modified time | relevance | path

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

/linux/arch/x86/include/asm/
H A Dtlbflush.h439 static inline bool huge_pmd_needs_flush(pmd_t oldpmd, pmd_t newpmd) in huge_pmd_needs_flush() argument
442 if (!(pmd_flags(oldpmd) & _PAGE_PRESENT)) in huge_pmd_needs_flush()
446 if (pmd_pfn(oldpmd) != pmd_pfn(newpmd)) in huge_pmd_needs_flush()
453 return pte_flags_need_flush(pmd_flags(oldpmd), pmd_flags(newpmd), in huge_pmd_needs_flush()
/linux/arch/powerpc/include/asm/book3s/64/
H A Dtlbflush.h211 static inline bool huge_pmd_needs_flush(pmd_t oldpmd, pmd_t newpmd) in huge_pmd_needs_flush() argument
213 return __pte_flags_need_flush(pmd_val(oldpmd), pmd_val(newpmd)); in huge_pmd_needs_flush()
/linux/arch/arm64/include/asm/
H A Dtlbflush.h615 static inline bool huge_pmd_needs_flush(pmd_t oldpmd, pmd_t newpmd) in huge_pmd_needs_flush() argument
617 return __pte_flags_need_flush(pmd_val(oldpmd), pmd_val(newpmd)); in huge_pmd_needs_flush()
/linux/include/asm-generic/
H A Dtlb.h785 static inline bool huge_pmd_needs_flush(pmd_t oldpmd, pmd_t newpmd) in huge_pmd_needs_flush() argument
/linux/mm/
H A Dhuge_memory.c2564 pmd_t oldpmd, entry; in change_huge_pmd() local
2623 oldpmd = pmdp_invalidate_ad(vma, addr, pmd); in change_huge_pmd()
2625 entry = pmd_modify(oldpmd, newprot); in change_huge_pmd()
2644 if (huge_pmd_needs_flush(oldpmd, entry)) in change_huge_pmd()