/openbmc/linux/arch/ia64/include/asm/ |
H A D | pgtable.h | 393 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 D | hugetlb.h | 45 int changed = !pte_same(*ptep, pte); in huge_ptep_set_access_flags()
|
H A D | pgtable_32.h | 423 int __changed = !pte_same(*(__ptep), __entry); \
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | hugetlb.h | 76 int changed = !pte_same(*ptep, pte); in huge_ptep_set_access_flags()
|
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))
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | hugetlb.h | 80 int changed = !pte_same(*ptep, pte); in huge_ptep_set_access_flags()
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | pgtable.c | 251 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 D | pgtable.c | 12 if (!pte_same(ptep_get(ptep), entry)) in ptep_set_access_flags()
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | hugetlb.h | 74 int changed = !pte_same(huge_ptep_get(ptep), pte);
|
H A D | pgtable.h | 818 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 D | hugetlbpage.c | 177 changed = !pte_same(*ptep, pte); in huge_ptep_set_access_flags()
|
/openbmc/linux/mm/ |
H A D | memory.c | 2809 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 D | pgtable-generic.c | 72 int changed = !pte_same(ptep_get(ptep), entry); in ptep_set_access_flags()
|
H A D | hugetlb.c | 5174 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 D | mprotect.c | 257 if (!pte_same(oldpte, newpte)) { in change_pte_range()
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | pgtable-3level.h | 167 #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 D | pgtable.h | 248 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 D | pgtable.h | 279 #define pte_same(a,b) (pte_val(a) == pte_val(b)) macro
|
/openbmc/linux/include/linux/ |
H A D | pgtable.h | 768 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 D | pgtable.h | 363 #define pte_same(A,B) (((pte_val(A) ^ pte_val(B)) & ~_PAGE_HASHPTE) == 0) macro
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | pgtable.h | 478 #define pte_same(A,B) (pte_val(A) == pte_val(B)) macro
|
/openbmc/linux/Documentation/mm/ |
H A D | arch_pgtable_helpers.rst | 19 | pte_same | Tests whether both PTE entries are the same |
|
/openbmc/linux/arch/x86/mm/ |
H A D | pgtable.c | 503 int changed = !pte_same(*ptep, entry); in ptep_set_access_flags()
|
/openbmc/linux/arch/arm64/mm/ |
H A D | fault.c | 219 if (pte_same(pte, entry)) in ptep_set_access_flags()
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | pgtable.h | 506 static inline int pte_same(pte_t pte_a, pte_t pte_b) in pte_same() function
|