| /linux-6.15/mm/ |
| H A D | mprotect.c | 90 pte_t *pte, oldpte; in change_pte_range() local 111 oldpte = ptep_get(pte); in change_pte_range() 112 if (pte_present(oldpte)) { in change_pte_range() 125 if (pte_protnone(oldpte)) in change_pte_range() 196 if (pte_needs_flush(oldpte, ptent)) in change_pte_range() 199 } else if (is_swap_pte(oldpte)) { in change_pte_range() 216 if (pte_swp_soft_dirty(oldpte)) in change_pte_range() 226 if (pte_swp_uffd_wp(oldpte)) in change_pte_range() 248 newpte = oldpte; in change_pte_range() 256 if (!pte_same(oldpte, newpte)) { in change_pte_range() [all …]
|
| /linux-6.15/arch/x86/include/asm/ |
| H A D | tlbflush.h | 422 static inline bool pte_needs_flush(pte_t oldpte, pte_t newpte) in pte_needs_flush() argument 425 if (!(pte_flags(oldpte) & _PAGE_PRESENT)) in pte_needs_flush() 429 if (pte_pfn(oldpte) != pte_pfn(newpte)) in pte_needs_flush() 436 return pte_flags_need_flush(pte_flags(oldpte), pte_flags(newpte), in pte_needs_flush()
|
| /linux-6.15/arch/powerpc/include/asm/book3s/64/ |
| H A D | tlbflush.h | 205 static inline bool pte_needs_flush(pte_t oldpte, pte_t newpte) in pte_needs_flush() argument 207 return __pte_flags_need_flush(pte_val(oldpte), pte_val(newpte)); in pte_needs_flush()
|
| /linux-6.15/arch/sparc/include/asm/ |
| H A D | pgtable_64.h | 1060 unsigned long addr, pte_t oldpte); 1066 pte_t pte, pte_t oldpte) in arch_do_swap_page() argument 1072 if (pte_none(oldpte)) in arch_do_swap_page() 1082 unsigned long addr, pte_t oldpte) in arch_unmap_one() argument 1084 if (adi_state.enabled && (pte_val(oldpte) & _PAGE_MCD_4V)) in arch_unmap_one() 1085 return adi_save_tags(mm, vma, addr, oldpte); in arch_unmap_one()
|
| /linux-6.15/arch/sparc/kernel/ |
| H A D | adi_64.c | 371 unsigned long addr, pte_t oldpte) in adi_save_tags() argument 382 paddr = pte_val(oldpte) & _PAGE_PADDR_4V; in adi_save_tags()
|
| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_pt.c | 1021 struct xe_pt *oldpte = entries[i].pt_entries[j].pt; in xe_pt_commit() local 1025 xe_pt_destroy(oldpte, (vma == XE_INVALID_VMA) ? 0 : in xe_pt_commit() 1053 struct xe_pt *oldpte = entries[i].pt_entries[j].pt; in xe_pt_abort_bind() local 1055 pt_dir->staging[j_] = oldpte ? &oldpte->base : 0; in xe_pt_abort_bind() 1083 struct xe_pt *oldpte = NULL; in xe_pt_commit_prepare_bind() local 1086 oldpte = xe_pt_entry_staging(pt_dir, j_); in xe_pt_commit_prepare_bind() 1089 entries[i].pt_entries[j].pt = oldpte; in xe_pt_commit_prepare_bind()
|
| /linux-6.15/include/linux/ |
| H A D | pgtable.h | 1093 pte_t pte, pte_t oldpte, in arch_do_swap_page_nr() argument 1110 pte_t pte, pte_t oldpte, in arch_do_swap_page_nr() argument 1116 pte_advance_pfn(oldpte, i)); in arch_do_swap_page_nr()
|
| /linux-6.15/include/asm-generic/ |
| H A D | tlb.h | 737 static inline bool pte_needs_flush(pte_t oldpte, pte_t newpte) in pte_needs_flush() argument
|
| /linux-6.15/arch/s390/mm/ |
| H A D | pgtable.c | 1033 unsigned long *oldpte, unsigned long *oldpgste) in pgste_perform_essa() argument 1054 if (oldpte) in pgste_perform_essa() 1055 *oldpte = pte_val(*ptep); in pgste_perform_essa()
|
| /linux-6.15/arch/s390/include/asm/ |
| H A D | pgtable.h | 1398 unsigned long *oldpte, unsigned long *oldpgste);
|