Home
last modified time | relevance | path

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

/linux-6.15/arch/x86/include/asm/
H A Dtlbflush.h445 static inline bool huge_pmd_needs_flush(pmd_t oldpmd, pmd_t newpmd) in huge_pmd_needs_flush() argument
448 if (!(pmd_flags(oldpmd) & _PAGE_PRESENT)) in huge_pmd_needs_flush()
452 if (pmd_pfn(oldpmd) != pmd_pfn(newpmd)) in huge_pmd_needs_flush()
459 return pte_flags_need_flush(pmd_flags(oldpmd), pmd_flags(newpmd), in huge_pmd_needs_flush()
/linux-6.15/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-6.15/include/asm-generic/
H A Dtlb.h744 static inline bool huge_pmd_needs_flush(pmd_t oldpmd, pmd_t newpmd) in huge_pmd_needs_flush() argument
/linux-6.15/mm/
H A Dhuge_memory.c2372 pmd_t oldpmd, entry; in change_huge_pmd() local
2469 oldpmd = pmdp_invalidate_ad(vma, addr, pmd); in change_huge_pmd()
2471 entry = pmd_modify(oldpmd, newprot); in change_huge_pmd()
2490 if (huge_pmd_needs_flush(oldpmd, entry)) in change_huge_pmd()