Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dmprotect.c90 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()
128 folio = vm_normal_folio(vma, addr, oldpte); in change_pte_range()
169 oldpte = ptep_modify_prot_start(vma, addr, pte); in change_pte_range()
170 ptent = pte_modify(oldpte, newprot); in change_pte_range()
195 ptep_modify_prot_commit(vma, addr, pte, oldpte, ptent); 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()
[all …]
/linux-6.12.1/arch/x86/include/asm/
Dtlbflush.h352 static inline bool pte_needs_flush(pte_t oldpte, pte_t newpte) in pte_needs_flush() argument
355 if (!(pte_flags(oldpte) & _PAGE_PRESENT)) in pte_needs_flush()
359 if (pte_pfn(oldpte) != pte_pfn(newpte)) in pte_needs_flush()
366 return pte_flags_need_flush(pte_flags(oldpte), pte_flags(newpte), in pte_needs_flush()
/linux-6.12.1/arch/powerpc/include/asm/book3s/64/
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-6.12.1/arch/sparc/include/asm/
Dpgtable_64.h1062 unsigned long addr, pte_t oldpte);
1068 pte_t pte, pte_t oldpte) in arch_do_swap_page() argument
1074 if (pte_none(oldpte)) in arch_do_swap_page()
1084 unsigned long addr, pte_t oldpte) in arch_unmap_one() argument
1086 if (adi_state.enabled && (pte_val(oldpte) & _PAGE_MCD_4V)) in arch_unmap_one()
1087 return adi_save_tags(mm, vma, addr, oldpte); in arch_unmap_one()
/linux-6.12.1/arch/sparc/kernel/
Dadi_64.c371 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.12.1/drivers/gpu/drm/xe/
Dxe_pt.c902 struct xe_pt *oldpte = entries[i].pt_entries[j].pt; in xe_pt_commit() local
904 xe_pt_destroy(oldpte, xe_vma_vm(vma)->flags, deferred); in xe_pt_commit()
931 struct xe_pt *oldpte = entries[i].pt_entries[j].pt; in xe_pt_abort_bind() local
933 pt_dir->children[j_] = oldpte ? &oldpte->base : 0; in xe_pt_abort_bind()
961 struct xe_pt *oldpte = NULL; in xe_pt_commit_prepare_bind() local
964 oldpte = xe_pt_entry(pt_dir, j_); in xe_pt_commit_prepare_bind()
967 entries[i].pt_entries[j].pt = oldpte; in xe_pt_commit_prepare_bind()
/linux-6.12.1/include/linux/
Dpgtable.h1101 pte_t pte, pte_t oldpte, in arch_do_swap_page_nr() argument
1118 pte_t pte, pte_t oldpte, in arch_do_swap_page_nr() argument
1124 pte_advance_pfn(oldpte, i)); in arch_do_swap_page_nr()
/linux-6.12.1/arch/s390/mm/
Dpgtable.c1043 unsigned long *oldpte, unsigned long *oldpgste) in pgste_perform_essa() argument
1064 if (oldpte) in pgste_perform_essa()
1065 *oldpte = pte_val(*ptep); in pgste_perform_essa()
/linux-6.12.1/include/asm-generic/
Dtlb.h738 static inline bool pte_needs_flush(pte_t oldpte, pte_t newpte) in pte_needs_flush() argument
/linux-6.12.1/arch/s390/include/asm/
Dpgtable.h1359 unsigned long *oldpte, unsigned long *oldpgste);