Home
last modified time | relevance | path

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

/linux/mm/
H A Dmprotect.c121 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, ptent, nr_ptes, in set_write_prot_commit_flush_ptes()
211 commit_anon_folio_batch(vma, folio, page, addr, ptep, oldpte, ptent, nr_ptes, tlb); in set_write_prot_commit_flush_ptes()
[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/sparc/include/asm/
H A Dpgtable_64.h1055 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/drivers/gpu/drm/xe/
H A Dxe_pt.c1074 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 Dpgtable.h1149 pte_t pte, pte_t oldpte, in arch_do_swap_page_nr() argument
1166 pte_t pte, pte_t oldpte, in arch_do_swap_page_nr() argument
1172 pte_advance_pfn(oldpte, i)); in arch_do_swap_page_nr()
/linux/arch/s390/mm/
H A Dpgtable.c1000 unsigned long *oldpte, unsigned long *oldpgste) in pgste_perform_essa() argument
1021 if (oldpte) in pgste_perform_essa()
1022 *oldpte = pte_val(*ptep); in pgste_perform_essa()
/linux/arch/s390/include/asm/
H A Dpgtable.h1390 unsigned long *oldpte, unsigned long *oldpgste);