Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/arch/powerpc/include/asm/book3s/64/
Dtlbflush.h216 static inline bool huge_pmd_needs_flush(pmd_t oldpmd, pmd_t newpmd) in huge_pmd_needs_flush() argument
218 return __pte_flags_need_flush(pmd_val(oldpmd), pmd_val(newpmd)); in huge_pmd_needs_flush()
/linux-6.6.21/mm/
Dhuge_memory.c1491 pmd_t oldpmd = vmf->orig_pmd; in do_huge_pmd_numa_page() local
1501 if (unlikely(!pmd_same(oldpmd, *vmf->pmd))) { in do_huge_pmd_numa_page()
1506 pmd = pmd_modify(oldpmd, vma->vm_page_prot); in do_huge_pmd_numa_page()
1550 if (unlikely(!pmd_same(oldpmd, *vmf->pmd))) { in do_huge_pmd_numa_page()
1566 pmd = pmd_modify(oldpmd, vma->vm_page_prot); in do_huge_pmd_numa_page()
1810 pmd_t oldpmd, entry; in change_huge_pmd() local
1907 oldpmd = pmdp_invalidate_ad(vma, addr, pmd); in change_huge_pmd()
1909 entry = pmd_modify(oldpmd, newprot); in change_huge_pmd()
1928 if (huge_pmd_needs_flush(oldpmd, entry)) in change_huge_pmd()
/linux-6.6.21/include/asm-generic/
Dtlb.h715 static inline bool huge_pmd_needs_flush(pmd_t oldpmd, pmd_t newpmd) in huge_pmd_needs_flush() argument