| /linux/mm/ |
| H A D | mprotect.c | 121 pte_t *ptep, pte_t oldpte, pte_t ptent, int nr_ptes, in prot_commit_flush_ptes() argument 130 oldpte = pte_advance_pfn(oldpte, idx); in prot_commit_flush_ptes() 136 modify_prot_commit_ptes(vma, addr, ptep, oldpte, ptent, nr_ptes); in prot_commit_flush_ptes() 137 if (pte_needs_flush(oldpte, ptent)) in prot_commit_flush_ptes() 174 pte_t oldpte, pte_t ptent, int nr_ptes, struct mmu_gather *tlb) in commit_anon_folio_batch() argument 184 prot_commit_flush_ptes(vma, addr, ptep, oldpte, ptent, len, in commit_anon_folio_batch() 193 pte_t oldpte, pte_t ptent, int nr_ptes, struct mmu_gather *tlb) in set_write_prot_commit_flush_ptes() argument 199 prot_commit_flush_ptes(vma, addr, ptep, oldpte, ptent, nr_ptes, in set_write_prot_commit_flush_ptes() 207 prot_commit_flush_ptes(vma, addr, ptep, oldpte, pten in set_write_prot_commit_flush_ptes() 218 pte_t *pte, oldpte; change_pte_range() local [all...] |
| /linux/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/arch/s390/kvm/ |
| H A D | gmap.c | 551 union pte newpte, oldpte = READ_ONCE(*f->ptep); in _gmap_handle_minor_pte_fault() local 553 f->pfn = oldpte.h.pfra; in _gmap_handle_minor_pte_fault() 554 f->writable = oldpte.s.w; in _gmap_handle_minor_pte_fault() 557 if (!oldpte.h.i && !(f->write_attempt && oldpte.h.p)) in _gmap_handle_minor_pte_fault() 560 if (!oldpte.s.pr || (f->write_attempt && !oldpte.s.w)) in _gmap_handle_minor_pte_fault() 563 newpte = oldpte; in _gmap_handle_minor_pte_fault() 571 if (!oldpte.s.d && newpte.s.d) in _gmap_handle_minor_pte_fault()
|
| H A D | dat.c | 1028 union pte newpte, oldpte; in dat_link() local 1043 oldpte = *f->ptep; in dat_link() 1044 newpte = _pte(f->pfn, f->writable, f->write_attempt | oldpte.s.d, !f->page); in dat_link() 1045 newpte.s.sd = oldpte.s.sd; in dat_link() 1046 oldpte.s.sd = 0; in dat_link() 1047 if (oldpte.val == _PTE_EMPTY.val || oldpte.h.pfra == f->pfn) { in dat_link()
|
| /linux/arch/sparc/include/asm/ |
| H A D | pgtable_64.h | 1055 unsigned long addr, pte_t oldpte); 1061 pte_t pte, pte_t oldpte) in arch_do_swap_page() argument 1067 if (pte_none(oldpte)) in arch_do_swap_page() 1077 unsigned long addr, pte_t oldpte) in arch_unmap_one() argument 1079 if (adi_state.enabled && (pte_val(oldpte) & _PAGE_MCD_4V)) in arch_unmap_one() 1080 return adi_save_tags(mm, vma, addr, oldpte); in arch_unmap_one()
|
| /linux/arch/arm64/include/asm/ |
| H A D | tlbflush.h | 609 static inline bool pte_needs_flush(pte_t oldpte, pte_t newpte) in pte_needs_flush() argument 611 return __pte_flags_need_flush(pte_val(oldpte), pte_val(newpte)); in pte_needs_flush()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_pt.c | 1074 struct xe_pt *oldpte = entries[i].pt_entries[j].pt; in xe_pt_commit() local 1078 xe_pt_destroy(oldpte, (vma == XE_INVALID_VMA) ? 0 : in xe_pt_commit() 1106 struct xe_pt *oldpte = entries[i].pt_entries[j].pt; in xe_pt_abort_bind() local 1108 pt_dir->staging[j_] = oldpte ? &oldpte->base : 0; in xe_pt_abort_bind() 1136 struct xe_pt *oldpte = NULL; in xe_pt_commit_prepare_bind() local 1139 oldpte = xe_pt_entry_staging(pt_dir, j_); in xe_pt_commit_prepare_bind() 1142 entries[i].pt_entries[j].pt = oldpte; in xe_pt_commit_prepare_bind()
|
| /linux/include/linux/ |
| H A D | pgtable.h | 1305 pte_t pte, pte_t oldpte, in arch_do_swap_page_nr() argument 1322 pte_t pte, pte_t oldpte, in arch_do_swap_page_nr() argument 1328 pte_advance_pfn(oldpte, i)); in arch_do_swap_page_nr()
|
| /linux/include/asm-generic/ |
| H A D | tlb.h | 778 static inline bool pte_needs_flush(pte_t oldpte, pte_t newpte) in pte_needs_flush() argument
|