Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dmprotect.c44 pte_t *pte, oldpte; in change_pte_range() local
77 oldpte = *pte; in change_pte_range()
78 if (pte_present(oldpte)) { in change_pte_range()
80 bool preserve_write = prot_numa && pte_write(oldpte); in change_pte_range()
90 if (pte_protnone(oldpte)) in change_pte_range()
93 page = vm_normal_page(vma, addr, oldpte); in change_pte_range()
118 oldpte = ptep_modify_prot_start(vma, addr, pte); in change_pte_range()
119 ptent = pte_modify(oldpte, newprot); in change_pte_range()
144 if(pte_user_mkexec(oldpte, ptent) && in change_pte_range()
146 vm_normal_page(vma, addr, oldpte)))) in change_pte_range()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dxpm.h93 #define pte_user_mkexec(oldpte, ptent) \ argument
94 ((!pte_user_exec(oldpte) && pte_user_exec(ptent)))
96 #define pte_user_mkexec(oldpte, ptent) 1 argument
Dpgtable.h613 pte_t pte, pte_t oldpte) in arch_do_swap_page() argument
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dpgtable_64.h1015 unsigned long addr, pte_t oldpte);
1021 pte_t pte, pte_t oldpte) in arch_do_swap_page() argument
1027 if (pte_none(oldpte)) in arch_do_swap_page()
1037 unsigned long addr, pte_t oldpte) in arch_unmap_one() argument
1039 if (adi_state.enabled && (pte_val(oldpte) & _PAGE_MCD_4V)) in arch_unmap_one()
1040 return adi_save_tags(mm, vma, addr, oldpte); in arch_unmap_one()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/s390/mm/
Dpgtable.c989 unsigned long *oldpte, unsigned long *oldpgste) in pgste_perform_essa() argument
1010 if (oldpte) in pgste_perform_essa()
1011 *oldpte = pte_val(*ptep); in pgste_perform_essa()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dpgtable.h1183 unsigned long *oldpte, unsigned long *oldpgste);