Home
last modified time | relevance | path

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

/linux-6.6.21/mm/
Dmprotect.c87 pte_t *pte, oldpte; in change_pte_range() local
108 oldpte = ptep_get(pte); in change_pte_range()
109 if (pte_present(oldpte)) { in change_pte_range()
122 if (pte_protnone(oldpte)) in change_pte_range()
125 page = vm_normal_page(vma, addr, oldpte); in change_pte_range()
164 oldpte = ptep_modify_prot_start(vma, addr, pte); in change_pte_range()
165 ptent = pte_modify(oldpte, newprot); in change_pte_range()
190 ptep_modify_prot_commit(vma, addr, pte, oldpte, ptent); in change_pte_range()
191 if (pte_needs_flush(oldpte, ptent)) in change_pte_range()
194 } else if (is_swap_pte(oldpte)) { in change_pte_range()
[all …]
/linux-6.6.21/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.6.21/arch/powerpc/include/asm/book3s/64/
Dtlbflush.h210 static inline bool pte_needs_flush(pte_t oldpte, pte_t newpte) in pte_needs_flush() argument
212 return __pte_flags_need_flush(pte_val(oldpte), pte_val(newpte)); in pte_needs_flush()
/linux-6.6.21/arch/sparc/include/asm/
Dpgtable_64.h1057 unsigned long addr, pte_t oldpte);
1063 pte_t pte, pte_t oldpte) in arch_do_swap_page() argument
1069 if (pte_none(oldpte)) in arch_do_swap_page()
1079 unsigned long addr, pte_t oldpte) in arch_unmap_one() argument
1081 if (adi_state.enabled && (pte_val(oldpte) & _PAGE_MCD_4V)) in arch_unmap_one()
1082 return adi_save_tags(mm, vma, addr, oldpte); in arch_unmap_one()
/linux-6.6.21/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.6.21/include/asm-generic/
Dtlb.h708 static inline bool pte_needs_flush(pte_t oldpte, pte_t newpte) in pte_needs_flush() argument
/linux-6.6.21/arch/s390/mm/
Dpgtable.c1052 unsigned long *oldpte, unsigned long *oldpgste) in pgste_perform_essa() argument
1073 if (oldpte) in pgste_perform_essa()
1074 *oldpte = pte_val(*ptep); in pgste_perform_essa()
/linux-6.6.21/include/linux/
Dpgtable.h870 pte_t pte, pte_t oldpte) in arch_do_swap_page() argument
/linux-6.6.21/arch/s390/include/asm/
Dpgtable.h1305 unsigned long *oldpte, unsigned long *oldpgste);