Home
last modified time | relevance | path

Searched refs:pte_same (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.15/arch/riscv/mm/
H A Dpgtable.c15 if (!pte_same(ptep_get(ptep), entry)) in ptep_set_access_flags()
24 if (!pte_same(ptep_get(ptep), entry)) { in ptep_set_access_flags()
/linux-6.15/arch/sparc/include/asm/
H A Dhugetlb.h45 int changed = !pte_same(*ptep, pte); in huge_ptep_set_access_flags()
H A Dpgtable_32.h423 int __changed = !pte_same(*(__ptep), __entry); \
/linux-6.15/arch/mips/include/asm/
H A Dhugetlb.h71 int changed = !pte_same(*ptep, pte); in huge_ptep_set_access_flags()
H A Dpgtable.h488 static inline int pte_same(pte_t pte_a, pte_t pte_b) function
498 if (!pte_same(*ptep, entry))
/linux-6.15/arch/loongarch/include/asm/
H A Dhugetlb.h75 int changed = !pte_same(ptep_get(ptep), pte); in huge_ptep_set_access_flags()
/linux-6.15/arch/s390/include/asm/
H A Dhugetlb.h68 int changed = !pte_same(huge_ptep_get(vma->vm_mm, addr, ptep), pte); in huge_ptep_set_access_flags()
/linux-6.15/arch/parisc/mm/
H A Dhugetlbpage.c156 changed = !pte_same(*ptep, pte); in huge_ptep_set_access_flags()
/linux-6.15/arch/powerpc/mm/
H A Dpgtable.c248 changed = !pte_same(*(ptep), entry); in ptep_set_access_flags()
274 changed = !pte_same(*(ptep), pte); in huge_ptep_set_access_flags()
/linux-6.15/mm/
H A Dmemory.c3143 same = pte_same(ptep_get(vmf->pte), vmf->orig_pte); in pte_unmap_same()
3635 if (!pte_same(ptep_get(vmf->pte), vmf->orig_pte)) { in finish_mkwrite_fault()
4103 if (likely(vmf->pte && pte_same(ptep_get(vmf->pte), vmf->orig_pte))) in remove_device_exclusive_entry()
4149 if (pte_same(vmf->orig_pte, ptep_get(vmf->pte))) in pte_marker_clear()
4262 if (!pte_same(pte, pte_move_swp_offset(vmf->orig_pte, -idx))) in can_swapin_thp()
4445 !pte_same(ptep_get(vmf->pte), in do_swap_page()
4545 pte_same(ptep_get(vmf->pte), vmf->orig_pte))) in do_swap_page()
5267 return !pte_same(ptep_get(vmf->pte), vmf->orig_pte); in vmf_pte_changed()
5787 if (unlikely(!pte_same(old_pte, vmf->orig_pte))) { in do_numa_page()
5836 if (unlikely(!pte_same(ptep_get(vmf->pte), vmf->orig_pte))) { in do_numa_page()
[all …]
H A Duserfaultfd.c1024 return pte_same(ptep_get(src_pte), orig_src_pte) && in is_pte_pages_stable()
1025 pte_same(ptep_get(dst_pte), orig_dst_pte) && in is_pte_pages_stable()
1236 if (src_folio && unlikely(!pte_same(src_folio_pte, orig_src_pte))) { in move_pages_pte()
1264 if (!pte_same(orig_src_pte, ptep_get(src_pte))) { in move_pages_pte()
H A Dpgtable-generic.c72 int changed = !pte_same(ptep_get(ptep), entry); in ptep_set_access_flags()
H A Dinternal.h284 if (!pte_same(pte, expected_pte)) in folio_pte_batch()
375 if (!pte_same(pte, expected_pte)) in swap_pte_batch()
H A Dhugetlb.c5702 if (!pte_same(src_pte_old, entry)) { in copy_hugetlb_page_range()
6260 pte_same(huge_ptep_get(mm, vmf->address, vmf->pte), pte))) in hugetlb_wp()
6298 if (likely(vmf->pte && pte_same(huge_ptep_get(mm, vmf->address, vmf->pte), pte))) { in hugetlb_wp()
6406 same = pte_same(huge_ptep_get(mm, addr, ptep), old_pte); in hugetlb_pte_stable()
6572 if (!pte_same(huge_ptep_get(mm, vmf->address, vmf->pte), vmf->orig_pte)) in hugetlb_no_page()
6778 if (unlikely(!pte_same(vmf.orig_pte, huge_ptep_get(mm, vmf.address, vmf.pte)))) in hugetlb_fault()
7192 if (!pte_same(pte, newpte)) in hugetlb_change_protection()
H A Dmprotect.c256 if (!pte_same(oldpte, newpte)) { in change_pte_range()
/linux-6.15/arch/arm/include/asm/
H A Dpgtable-3level.h166 #define pte_same(pte_a,pte_b) ((pte_present(pte_a) ? pte_val(pte_a) & ~PTE_EXT_NG \ macro
/linux-6.15/arch/um/include/asm/
H A Dpgtable.h258 static inline int pte_same(pte_t pte_a, pte_t pte_b) in pte_same() function
/linux-6.15/arch/xtensa/include/asm/
H A Dpgtable.h279 #define pte_same(a,b) (pte_val(a) == pte_val(b)) macro
/linux-6.15/arch/arm64/mm/
H A Dcontpte.c129 if (!pte_same(subpte, expected_pte)) in __contpte_try_fold()
H A Dfault.c220 if (pte_same(pte, entry)) in __ptep_set_access_flags()
/linux-6.15/arch/powerpc/include/asm/book3s/32/
H A Dpgtable.h342 #define pte_same(A,B) (((pte_val(A) ^ pte_val(B)) & ~_PAGE_HASHPTE) == 0) macro
/linux-6.15/Documentation/mm/
H A Darch_pgtable_helpers.rst19 | pte_same | Tests whether both PTE entries are the same |
/linux-6.15/arch/parisc/include/asm/
H A Dpgtable.h478 #define pte_same(A,B) (pte_val(A) == pte_val(B)) macro
/linux-6.15/arch/x86/mm/
H A Dpgtable.c465 int changed = !pte_same(*ptep, entry); in ptep_set_access_flags()
/linux-6.15/arch/x86/include/asm/
H A Dpgtable.h997 static inline int pte_same(pte_t a, pte_t b) in pte_same() function
1788 WARN_ON_ONCE(pte_present(*ptep) && !pte_same(*ptep, pte)); \

12