Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/include/asm/
Dtlbflush.h341 static inline bool huge_pmd_needs_flush(pmd_t oldpmd, pmd_t newpmd) in huge_pmd_needs_flush() argument
344 if (!(pmd_flags(oldpmd) & _PAGE_PRESENT)) in huge_pmd_needs_flush()
348 if (pmd_pfn(oldpmd) != pmd_pfn(newpmd)) in huge_pmd_needs_flush()
355 return pte_flags_need_flush(pmd_flags(oldpmd), pmd_flags(newpmd), in huge_pmd_needs_flush()
/linux-6.1.9/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.1.9/mm/
Dhuge_memory.c1478 pmd_t oldpmd = vmf->orig_pmd; in do_huge_pmd_numa_page() local
1485 bool was_writable = pmd_savedwrite(oldpmd); in do_huge_pmd_numa_page()
1489 if (unlikely(!pmd_same(oldpmd, *vmf->pmd))) { in do_huge_pmd_numa_page()
1494 pmd = pmd_modify(oldpmd, vma->vm_page_prot); in do_huge_pmd_numa_page()
1527 if (unlikely(!pmd_same(oldpmd, *vmf->pmd))) { in do_huge_pmd_numa_page()
1543 pmd = pmd_modify(oldpmd, vma->vm_page_prot); in do_huge_pmd_numa_page()
1785 pmd_t oldpmd, entry; in change_huge_pmd() local
1880 oldpmd = pmdp_invalidate_ad(vma, addr, pmd); in change_huge_pmd()
1882 entry = pmd_modify(oldpmd, newprot); in change_huge_pmd()
1899 if (huge_pmd_needs_flush(oldpmd, entry)) in change_huge_pmd()
/linux-6.1.9/include/asm-generic/
Dtlb.h677 static inline bool huge_pmd_needs_flush(pmd_t oldpmd, pmd_t newpmd) in huge_pmd_needs_flush() argument