Home
last modified time | relevance | path

Searched refs:oldpte (Results 1 – 4 of 4) sorted by relevance

/linux/arch/s390/kvm/
H A Dgmap.c558 union pte newpte, oldpte = READ_ONCE(*f->ptep); in _gmap_handle_minor_pte_fault() local
560 f->pfn = oldpte.h.pfra; in _gmap_handle_minor_pte_fault()
561 f->writable = oldpte.s.w; in _gmap_handle_minor_pte_fault()
564 if (!oldpte.h.i && !(f->write_attempt && oldpte.h.p)) in _gmap_handle_minor_pte_fault()
567 if (!oldpte.s.pr || (f->write_attempt && !oldpte.s.w)) in _gmap_handle_minor_pte_fault()
570 newpte = oldpte; in _gmap_handle_minor_pte_fault()
654 union pte newpte, oldpte; in _gmap_link() local
671 oldpte = *f->ptep; in _gmap_link()
672 newpte = _pte(f->pfn, f->writable, f->write_attempt | oldpte.s.d, !f->page); in _gmap_link()
673 newpte.s.sd = oldpte.s.sd; in _gmap_link()
[all …]
/linux/arch/powerpc/include/asm/book3s/64/
H A Dtlbflush.h205 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/arm64/include/asm/
H A Dtlbflush.h742 static inline bool pte_needs_flush(pte_t oldpte, pte_t newpte) in pte_needs_flush() argument
744 return __pte_flags_need_flush(pte_val(oldpte), pte_val(newpte)); in pte_needs_flush()
/linux/drivers/gpu/drm/xe/
H A Dxe_pt.c1100 struct xe_pt *oldpte = entries[i].pt_entries[j].pt; in xe_pt_commit() local
1104 xe_pt_destroy(oldpte, (vma == XE_INVALID_VMA) ? 0 : in xe_pt_commit()
1132 struct xe_pt *oldpte = entries[i].pt_entries[j].pt; in xe_pt_abort_bind() local
1134 pt_dir->staging[j_] = oldpte ? &oldpte->base : 0; in xe_pt_abort_bind()
1162 struct xe_pt *oldpte = NULL; in xe_pt_commit_prepare_bind() local
1165 oldpte = xe_pt_entry_staging(pt_dir, j_); in xe_pt_commit_prepare_bind()
1168 entries[i].pt_entries[j].pt = oldpte; in xe_pt_commit_prepare_bind()