Home
last modified time | relevance | path

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

/linux/arch/parisc/mm/
H A Dhugetlbpage.c156 changed = !pte_same(*ptep, pte); in huge_ptep_set_access_flags()
/linux/mm/
H A Dmemory.c3540 same = pte_same(ptep_get(vmf->pte), vmf->orig_pte); in pte_unmap_same()
3590 if (unlikely(!vmf->pte || !pte_same(ptep_get(vmf->pte), vmf->orig_pte))) { in __wp_page_copy_user()
3618 if (unlikely(!vmf->pte || !pte_same(ptep_get(vmf->pte), vmf->orig_pte))) { in __wp_page_copy_user()
3912 if (likely(vmf->pte && pte_same(ptep_get(vmf->pte), vmf->orig_pte))) { in wp_page_copy()
4032 if (!pte_same(ptep_get(vmf->pte), vmf->orig_pte)) { in finish_mkwrite_fault()
4494 if (likely(vmf->pte && pte_same(ptep_get(vmf->pte), vmf->orig_pte))) in remove_device_exclusive_entry()
4555 if (pte_same(vmf->orig_pte, ptep_get(vmf->pte))) in pte_marker_clear()
4626 if (!pte_same(pte, pte_move_swp_offset(vmf->orig_pte, -idx))) in __alloc_swap_folio()
4789 !pte_same(ptep_get(vmf->pte),
4846 pte_same(ptep_ge in do_swap_page()
[all...]
H A Duserfaultfd.c1199 return pte_same(ptep_get(src_pte), orig_src_pte) && in check_ptes_for_batched_move()
1200 pte_same(ptep_get(dst_pte), orig_dst_pte) && in check_ptes_for_batched_move()
1439 * since dst_pte needs to be none, the subsequent pte_same() check in move_pages_ptes()
1453 * Unlike dst_pte, the subsequent pte_same() check can ensure the in move_pages_ptes()
1498 if (src_folio && unlikely(!pte_same(src_folio_pte, orig_src_pte))) { in move_pages_ptes()
1526 if (!pte_same(orig_src_pte, ptep_get(src_pte))) { in move_pages_ptes()
H A Dhugetlb.c4991 if (!pte_same(src_pte_old, entry)) { in copy_hugetlb_page_range()
5417 * Keep the pte_same checks anyway to make transition from the mutex easier.
5539 pte_same(huge_ptep_get(mm, vmf->address, vmf->pte), pte))) in hugetlb_wp()
5577 if (likely(vmf->pte && pte_same(huge_ptep_get(mm, vmf->address, vmf->pte), pte))) { in hugetlb_wp()
5685 same = pte_same(huge_ptep_get(mm, addr, ptep), old_pte); in hugetlb_pte_stable()
5850 if (!pte_same(huge_ptep_get(mm, vmf->address, vmf->pte), vmf->orig_pte)) in hugetlb_no_page()
6057 if (unlikely(!pte_same(vmf.orig_pte, huge_ptep_get(mm, vmf.address, vmf.pte)))) in hugetlb_fault()
6482 if (!pte_same(pte, newpte)) in hugetlb_change_protection()
/linux/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/arch/powerpc/include/asm/book3s/32/
H A Dpgtable.h343 #define pte_same(A,B) (((pte_val(A) ^ pte_val(B)) & ~_PAGE_HASHPTE) == 0) macro
/linux/Documentation/mm/
H A Darch_pgtable_helpers.rst19 | pte_same | Tests whether both PTE entries are the same |
/linux/arch/arm64/mm/
H A Dcontpte.c287 if (!pte_same(subpte, expected_pte)) in __contpte_try_fold()
H A Dfault.c217 if (pte_same(pte, entry)) in __ptep_set_access_flags_anysz()
/linux/arch/parisc/include/asm/
H A Dpgtable.h463 #define pte_same(A,B) (pte_val(A) == pte_val(B)) macro
/linux/arch/x86/include/asm/
H A Dpgtable.h946 static inline int pte_same(pte_t a, pte_t b) in pte_same() function
1721 WARN_ON_ONCE(pte_present(*ptep) && !pte_same(*ptep, pte)); \
/linux/arch/s390/include/asm/
H A Dpgtable.h840 static inline int pte_same(pte_t a, pte_t b) in pte_same() function
1343 if (pte_same(*ptep, entry)) in set_ptes()
/linux/arch/riscv/include/asm/
H A Dpgtable.h605 static inline int pte_same(pte_t pte_a, pte_t pte_b) in set_pte()
595 static inline int pte_same(pte_t pte_a, pte_t pte_b) pte_same() function
/linux/arch/powerpc/include/asm/book3s/64/
H A Dpgtable.h733 static inline int pte_same(pte_t pte_a, pte_t pte_b) in pte_same() function