Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/ia64/include/asm/
H A Dpgtable.h393 pte_same (pte_t a, pte_t b) in pte_same() function
488 int __changed = !pte_same(*(__ptep), __entry); \
498 int __changed = !pte_same(*(__ptep), __entry); \
/openbmc/linux/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); \
/openbmc/linux/arch/mips/include/asm/
H A Dhugetlb.h76 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))
/openbmc/linux/arch/loongarch/include/asm/
H A Dhugetlb.h80 int changed = !pte_same(*ptep, pte); in huge_ptep_set_access_flags()
/openbmc/linux/arch/powerpc/mm/
H A Dpgtable.c251 changed = !pte_same(*(ptep), entry); in ptep_set_access_flags()
277 changed = !pte_same(*(ptep), pte); in huge_ptep_set_access_flags()
/openbmc/linux/arch/riscv/mm/
H A Dpgtable.c12 if (!pte_same(ptep_get(ptep), entry)) in ptep_set_access_flags()
/openbmc/linux/arch/s390/include/asm/
H A Dhugetlb.h74 int changed = !pte_same(huge_ptep_get(ptep), pte);
H A Dpgtable.h818 static inline int pte_same(pte_t a, pte_t b) in pte_same() function
1274 if (pte_same(*ptep, entry)) in ptep_set_access_flags()
/openbmc/linux/arch/parisc/mm/
H A Dhugetlbpage.c177 changed = !pte_same(*ptep, pte); in huge_ptep_set_access_flags()
/openbmc/linux/mm/
H A Dmemory.c2809 same = pte_same(ptep_get(vmf->pte), vmf->orig_pte); in pte_unmap_same()
2860 if (unlikely(!vmf->pte || !pte_same(ptep_get(vmf->pte), vmf->orig_pte))) { in __wp_page_copy_user()
2888 if (unlikely(!vmf->pte || !pte_same(ptep_get(vmf->pte), vmf->orig_pte))) { in __wp_page_copy_user()
3135 if (likely(vmf->pte && pte_same(ptep_get(vmf->pte), vmf->orig_pte))) { in wp_page_copy()
3259 if (!pte_same(ptep_get(vmf->pte), vmf->orig_pte)) { in finish_mkwrite_fault()
3635 if (likely(vmf->pte && pte_same(ptep_get(vmf->pte), vmf->orig_pte))) in remove_device_exclusive_entry()
3680 if (pte_same(vmf->orig_pte, ptep_get(vmf->pte))) in pte_marker_clear()
3781 !pte_same(ptep_get(vmf->pte), in do_swap_page()
3822 * pte_same() returns true due to entry reuse. in do_swap_page()
3874 pte_same(ptep_ge in do_swap_page()
[all...]
H A Dpgtable-generic.c72 int changed = !pte_same(ptep_get(ptep), entry); in ptep_set_access_flags()
H A Dhugetlb.c5174 if (!pte_same(src_pte_old, entry)) { in copy_hugetlb_page_range()
5560 * Keep the pte_same checks anyway to make transition from the mutex easier.
5678 pte_same(huge_ptep_get(ptep), pte))) in hugetlb_wp()
5717 if (likely(ptep && pte_same(huge_ptep_get(ptep), pte))) { in hugetlb_wp()
5841 same = pte_same(huge_ptep_get(ptep), old_pte); in hugetlb_pte_stable()
6007 if (!pte_same(huge_ptep_get(ptep), old_pte)) in hugetlb_no_page()
6198 if (unlikely(!pte_same(entry, huge_ptep_get(ptep)))) in hugetlb_fault()
6648 if (!pte_same(pte, newpte)) in hugetlb_change_protection()
H A Dmprotect.c257 if (!pte_same(oldpte, newpte)) { in change_pte_range()
/openbmc/linux/arch/arm/include/asm/
H A Dpgtable-3level.h167 #define pte_same(pte_a,pte_b) ((pte_present(pte_a) ? pte_val(pte_a) & ~PTE_EXT_NG \ macro
/openbmc/linux/arch/um/include/asm/
H A Dpgtable.h248 static inline int pte_same(pte_t pte_a, pte_t pte_b) in pte_same() function
/openbmc/linux/arch/xtensa/include/asm/
H A Dpgtable.h279 #define pte_same(a,b) (pte_val(a) == pte_val(b)) macro
/openbmc/linux/include/linux/
H A Dpgtable.h768 static inline int pte_same(pte_t pte_a, pte_t pte_b) in pte_same() function
851 WARN_ON_ONCE(pte_present(*ptep) && !pte_same(*ptep, pte)); \
/openbmc/linux/arch/powerpc/include/asm/book3s/32/
H A Dpgtable.h363 #define pte_same(A,B) (((pte_val(A) ^ pte_val(B)) & ~_PAGE_HASHPTE) == 0) macro
/openbmc/linux/arch/parisc/include/asm/
H A Dpgtable.h478 #define pte_same(A,B) (pte_val(A) == pte_val(B)) macro
/openbmc/linux/Documentation/mm/
H A Darch_pgtable_helpers.rst19 | pte_same | Tests whether both PTE entries are the same |
/openbmc/linux/arch/x86/mm/
H A Dpgtable.c503 int changed = !pte_same(*ptep, entry); in ptep_set_access_flags()
/openbmc/linux/arch/arm64/mm/
H A Dfault.c219 if (pte_same(pte, entry)) in ptep_set_access_flags()
/openbmc/linux/arch/riscv/include/asm/
H A Dpgtable.h506 static inline int pte_same(pte_t pte_a, pte_t pte_b) in pte_same() function

12