Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/include/asm/
Dtlbflush.h375 static inline bool huge_pmd_needs_flush(pmd_t oldpmd, pmd_t newpmd) in huge_pmd_needs_flush() argument
378 if (!(pmd_flags(oldpmd) & _PAGE_PRESENT)) in huge_pmd_needs_flush()
382 if (pmd_pfn(oldpmd) != pmd_pfn(newpmd)) in huge_pmd_needs_flush()
389 return pte_flags_need_flush(pmd_flags(oldpmd), pmd_flags(newpmd), in huge_pmd_needs_flush()
/linux-6.12.1/arch/powerpc/include/asm/book3s/64/
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.12.1/include/asm-generic/
Dtlb.h745 static inline bool huge_pmd_needs_flush(pmd_t oldpmd, pmd_t newpmd) in huge_pmd_needs_flush() argument
/linux-6.12.1/mm/
Dhuge_memory.c2197 pmd_t oldpmd, entry; in change_huge_pmd() local
2294 oldpmd = pmdp_invalidate_ad(vma, addr, pmd); in change_huge_pmd()
2296 entry = pmd_modify(oldpmd, newprot); in change_huge_pmd()
2315 if (huge_pmd_needs_flush(oldpmd, entry)) in change_huge_pmd()