/linux-6.12.1/arch/riscv/mm/ |
D | pgtable.c | 15 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.12.1/arch/sparc/include/asm/ |
D | hugetlb.h | 45 int changed = !pte_same(*ptep, pte); in huge_ptep_set_access_flags()
|
D | pgtable_32.h | 423 int __changed = !pte_same(*(__ptep), __entry); \
|
/linux-6.12.1/arch/mips/include/asm/ |
D | hugetlb.h | 74 int changed = !pte_same(*ptep, pte); in huge_ptep_set_access_flags()
|
D | pgtable.h | 488 static inline int pte_same(pte_t pte_a, pte_t pte_b) function 498 if (!pte_same(*ptep, entry))
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | hugetlb.h | 68 int changed = !pte_same(ptep_get(ptep), pte); in huge_ptep_set_access_flags()
|
/linux-6.12.1/mm/ |
D | userfaultfd.c | 1037 if (!pte_same(ptep_get(src_pte), orig_src_pte) || in move_present_pte() 1038 !pte_same(ptep_get(dst_pte), orig_dst_pte)) { in move_present_pte() 1081 if (!pte_same(ptep_get(src_pte), orig_src_pte) || in move_swap_pte() 1082 !pte_same(ptep_get(dst_pte), orig_dst_pte)) { in move_swap_pte() 1105 if (!pte_same(ptep_get(src_pte), orig_src_pte) || in move_zeropage_pte() 1106 !pte_same(ptep_get(dst_pte), orig_dst_pte)) { in move_zeropage_pte() 1197 if (src_folio && unlikely(!pte_same(src_folio_pte, orig_src_pte))) { in move_pages_pte() 1224 if (!pte_same(orig_src_pte, ptep_get(src_pte))) { in move_pages_pte()
|
D | memory.c | 3018 same = pte_same(ptep_get(vmf->pte), vmf->orig_pte); in pte_unmap_same() 3068 if (unlikely(!vmf->pte || !pte_same(ptep_get(vmf->pte), vmf->orig_pte))) { in __wp_page_copy_user() 3096 if (unlikely(!vmf->pte || !pte_same(ptep_get(vmf->pte), vmf->orig_pte))) { in __wp_page_copy_user() 3390 if (likely(vmf->pte && pte_same(ptep_get(vmf->pte), vmf->orig_pte))) { in wp_page_copy() 3510 if (!pte_same(ptep_get(vmf->pte), vmf->orig_pte)) { in finish_mkwrite_fault() 3909 if (likely(vmf->pte && pte_same(ptep_get(vmf->pte), vmf->orig_pte))) in remove_device_exclusive_entry() 3954 if (pte_same(vmf->orig_pte, ptep_get(vmf->pte))) in pte_marker_clear() 4064 if (!pte_same(pte, pte_move_swp_offset(vmf->orig_pte, -idx))) in can_swapin_thp() 4245 !pte_same(ptep_get(vmf->pte), in do_swap_page() 4337 pte_same(ptep_get(vmf->pte), vmf->orig_pte))) in do_swap_page() [all …]
|
D | pgtable-generic.c | 72 int changed = !pte_same(ptep_get(ptep), entry); in ptep_set_access_flags()
|
D | internal.h | 238 if (!pte_same(pte, expected_pte)) in folio_pte_batch() 336 if (!pte_same(pte, expected_pte)) in swap_pte_batch()
|
D | hugetlb.c | 5348 if (!pte_same(src_pte_old, entry)) { in copy_hugetlb_page_range() 5900 pte_same(huge_ptep_get(mm, vmf->address, vmf->pte), pte))) in hugetlb_wp() 5938 if (likely(vmf->pte && pte_same(huge_ptep_get(mm, vmf->address, vmf->pte), pte))) { in hugetlb_wp() 6046 same = pte_same(huge_ptep_get(mm, addr, ptep), old_pte); in hugetlb_pte_stable() 6212 if (!pte_same(huge_ptep_get(mm, vmf->address, vmf->pte), vmf->orig_pte)) in hugetlb_no_page() 6415 if (unlikely(!pte_same(vmf.orig_pte, huge_ptep_get(mm, vmf.address, vmf.pte)))) in hugetlb_fault() 6835 if (!pte_same(pte, newpte)) in hugetlb_change_protection()
|
D | mprotect.c | 262 if (!pte_same(oldpte, newpte)) { in change_pte_range()
|
/linux-6.12.1/arch/s390/include/asm/ |
D | hugetlb.h | 67 int changed = !pte_same(huge_ptep_get(vma->vm_mm, addr, ptep), pte); in huge_ptep_set_access_flags()
|
D | pgtable.h | 861 static inline int pte_same(pte_t a, pte_t b) in pte_same() function 1318 if (pte_same(*ptep, entry)) in ptep_set_access_flags()
|
/linux-6.12.1/arch/powerpc/mm/ |
D | pgtable.c | 248 changed = !pte_same(*(ptep), entry); in ptep_set_access_flags() 274 changed = !pte_same(*(ptep), pte); in huge_ptep_set_access_flags()
|
/linux-6.12.1/arch/parisc/mm/ |
D | hugetlbpage.c | 177 changed = !pte_same(*ptep, pte); in huge_ptep_set_access_flags()
|
/linux-6.12.1/arch/arm/include/asm/ |
D | pgtable-3level.h | 166 #define pte_same(pte_a,pte_b) ((pte_present(pte_a) ? pte_val(pte_a) & ~PTE_EXT_NG \ macro
|
/linux-6.12.1/arch/xtensa/include/asm/ |
D | pgtable.h | 279 #define pte_same(a,b) (pte_val(a) == pte_val(b)) macro
|
/linux-6.12.1/arch/um/include/asm/ |
D | pgtable.h | 280 static inline int pte_same(pte_t pte_a, pte_t pte_b) in pte_same() function
|
/linux-6.12.1/arch/arm64/mm/ |
D | contpte.c | 129 if (!pte_same(subpte, expected_pte)) in __contpte_try_fold()
|
/linux-6.12.1/arch/powerpc/include/asm/book3s/32/ |
D | pgtable.h | 342 #define pte_same(A,B) (((pte_val(A) ^ pte_val(B)) & ~_PAGE_HASHPTE) == 0) macro
|
/linux-6.12.1/Documentation/mm/ |
D | arch_pgtable_helpers.rst | 19 | pte_same | Tests whether both PTE entries are the same |
|
/linux-6.12.1/arch/parisc/include/asm/ |
D | pgtable.h | 478 #define pte_same(A,B) (pte_val(A) == pte_val(B)) macro
|
/linux-6.12.1/include/linux/ |
D | pgtable.h | 986 static inline int pte_same(pte_t pte_a, pte_t pte_b) in pte_same() function 1069 WARN_ON_ONCE(pte_present(*ptep) && !pte_same(*ptep, pte)); \
|
/linux-6.12.1/arch/x86/mm/ |
D | pgtable.c | 506 int changed = !pte_same(*ptep, entry); in ptep_set_access_flags()
|