| /linux/arch/riscv/mm/ |
| H A D | pgtable.c | 13 if (!pte_same(ptep_get(ptep), entry)) { in ptep_set_access_flags() 23 if (!pte_same(ptep_get(ptep), entry)) in ptep_set_access_flags()
|
| /linux/arch/nios2/include/asm/ |
| H A D | pgtable.h | 288 static inline int pte_same(pte_t pte_a, pte_t pte_b); 295 if (!pte_same(*ptep, entry)) in ptep_set_access_flags()
|
| /linux/arch/s390/include/asm/ |
| H A D | hugetlb.h | 68 int changed = !pte_same(huge_ptep_get(vma->vm_mm, addr, ptep), pte); in huge_ptep_set_access_flags()
|
| H A D | pgtable.h | 888 static inline int pte_same(pte_t a, pte_t b) in pte_same() function 1349 if (pte_same(*ptep, entry)) in ptep_set_access_flags()
|
| /linux/arch/powerpc/mm/ |
| H A 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/arch/parisc/mm/ |
| H A D | hugetlbpage.c | 156 changed = !pte_same(*ptep, pte); in huge_ptep_set_access_flags()
|
| /linux/mm/ |
| H A D | memory.c | 3384 same = pte_same(ptep_get(vmf->pte), vmf->orig_pte); in pte_unmap_same() 3434 if (unlikely(!vmf->pte || !pte_same(ptep_get(vmf->pte), vmf->orig_pte))) { in __wp_page_copy_user() 3462 if (unlikely(!vmf->pte || !pte_same(ptep_get(vmf->pte), vmf->orig_pte))) { in __wp_page_copy_user() 3756 if (likely(vmf->pte && pte_same(ptep_get(vmf->pte), vmf->orig_pte))) { in wp_page_copy() 3876 if (!pte_same(ptep_get(vmf->pte), vmf->orig_pte)) { in finish_mkwrite_fault() 4344 if (likely(vmf->pte && pte_same(ptep_get(vmf->pte), vmf->orig_pte))) in remove_device_exclusive_entry() 4390 if (pte_same(vmf->orig_pte, ptep_get(vmf->pte))) in pte_marker_clear() 4483 if (!pte_same(pte, pte_move_swp_offset(vmf->orig_pte, -idx))) in can_swapin_thp() 4666 !pte_same(ptep_get(vmf->pte), in do_swap_page() 4766 pte_same(ptep_get(vmf->pte), vmf->orig_pte))) in do_swap_page() [all …]
|
| H A D | userfaultfd.c | 1031 return pte_same(ptep_get(src_pte), orig_src_pte) && in is_pte_pages_stable() 1032 pte_same(ptep_get(dst_pte), orig_dst_pte) && in is_pte_pages_stable() 1334 if (src_folio && unlikely(!pte_same(src_folio_pte, orig_src_pte))) { in move_pages_ptes() 1362 if (!pte_same(orig_src_pte, ptep_get(src_pte))) { in move_pages_ptes()
|
| H A D | pgtable-generic.c | 74 int changed = !pte_same(ptep_get(ptep), entry); in ptep_set_access_flags()
|
| H A D | internal.h | 296 if (!pte_same(__pte_batch_clear_ignored(pte, flags), expected_pte)) in folio_pte_batch_flags() 396 if (!pte_same(pte, expected_pte)) in swap_pte_batch()
|
| H A D | hugetlb.c | 5001 if (!pte_same(src_pte_old, entry)) { in copy_hugetlb_page_range() 5565 pte_same(huge_ptep_get(mm, vmf->address, vmf->pte), pte))) in hugetlb_wp() 5603 if (likely(vmf->pte && pte_same(huge_ptep_get(mm, vmf->address, vmf->pte), pte))) { in hugetlb_wp() 5711 same = pte_same(huge_ptep_get(mm, addr, ptep), old_pte); in hugetlb_pte_stable() 5876 if (!pte_same(huge_ptep_get(mm, vmf->address, vmf->pte), vmf->orig_pte)) in hugetlb_no_page() 6083 if (unlikely(!pte_same(vmf.orig_pte, huge_ptep_get(mm, vmf.address, vmf.pte)))) in hugetlb_fault() 6507 if (!pte_same(pte, newpte)) in hugetlb_change_protection()
|
| H A D | mprotect.c | 376 if (!pte_same(oldpte, newpte)) { in change_pte_range()
|
| /linux/arch/mips/include/asm/ |
| H A 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/arch/arm/include/asm/ |
| H A 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/arch/um/include/asm/ |
| H A D | pgtable.h | 262 static inline int pte_same(pte_t pte_a, pte_t pte_b) in pte_same() function
|
| /linux/arch/xtensa/include/asm/ |
| H A D | pgtable.h | 273 #define pte_same(a,b) (pte_val(a) == pte_val(b)) macro
|
| /linux/arch/sparc/include/asm/ |
| H A D | pgtable_32.h | 414 int __changed = !pte_same(*(__ptep), __entry); \
|
| /linux/arch/powerpc/include/asm/book3s/32/ |
| H A D | pgtable.h | 342 #define pte_same(A,B) (((pte_val(A) ^ pte_val(B)) & ~_PAGE_HASHPTE) == 0) macro
|
| /linux/Documentation/mm/ |
| H A D | arch_pgtable_helpers.rst | 19 | pte_same | Tests whether both PTE entries are the same |
|
| /linux/arch/parisc/include/asm/ |
| H A D | pgtable.h | 473 #define pte_same(A,B) (pte_val(A) == pte_val(B)) macro
|
| /linux/arch/x86/mm/ |
| H A D | pgtable.c | 395 int changed = !pte_same(*ptep, entry); in ptep_set_access_flags()
|
| /linux/arch/x86/include/asm/ |
| H A D | pgtable.h | 953 static inline int pte_same(pte_t a, pte_t b) in pte_same() function 1716 WARN_ON_ONCE(pte_present(*ptep) && !pte_same(*ptep, pte)); \
|
| /linux/arch/arm64/mm/ |
| H A D | fault.c | 214 if (pte_same(pte, entry)) in __ptep_set_access_flags()
|
| /linux/arch/riscv/include/asm/ |
| H A D | pgtable.h | 604 static inline int pte_same(pte_t pte_a, pte_t pte_b) in pte_same() function
|
| /linux/arch/powerpc/include/asm/book3s/64/ |
| H A D | pgtable.h | 718 static inline int pte_same(pte_t pte_a, pte_t pte_b) in pte_same() function
|