Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A 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 …]
/openbmc/linux/arch/x86/include/asm/
H A Dtlbflush.h353 static inline bool pte_needs_flush(pte_t oldpte, pte_t newpte) in pte_needs_flush() argument
356 if (!(pte_flags(oldpte) & _PAGE_PRESENT)) in pte_needs_flush()
360 if (pte_pfn(oldpte) != pte_pfn(newpte)) in pte_needs_flush()
367 return pte_flags_need_flush(pte_flags(oldpte), pte_flags(newpte), in pte_needs_flush()
/openbmc/linux/arch/powerpc/include/asm/book3s/64/
H A 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()
/openbmc/linux/arch/sparc/include/asm/
H A 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()
/openbmc/linux/arch/sparc/kernel/
H A 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()
/openbmc/linux/arch/s390/mm/
H A 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()
/openbmc/linux/include/asm-generic/
H A Dtlb.h708 static inline bool pte_needs_flush(pte_t oldpte, pte_t newpte) in pte_needs_flush() argument
/openbmc/linux/include/linux/
H A Dpgtable.h891 pte_t pte, pte_t oldpte) in arch_do_swap_page() argument
/openbmc/linux/arch/s390/include/asm/
H A Dpgtable.h1315 unsigned long *oldpte, unsigned long *oldpgste);