Home
last modified time | relevance | path

Searched refs:old_pte (Results 1 – 3 of 3) sorted by relevance

/mm/
Dmremap.c121 pte_t *old_pte, *new_pte, pte; in move_ptes() local
151 old_pte = pte_offset_map_lock(mm, old_pmd, old_addr, &old_ptl); in move_ptes()
159 for (; old_addr < old_end; old_pte++, old_addr += PAGE_SIZE, in move_ptes()
161 if (pte_none(*old_pte)) in move_ptes()
164 pte = ptep_get_and_clear(mm, old_addr, old_pte); in move_ptes()
189 pte_unmap_unlock(old_pte - 1, old_ptl); in move_ptes()
Dhugetlb.c4612 pte_t old_pte; in hugetlb_change_protection() local
4614 old_pte = huge_ptep_modify_prot_start(vma, address, ptep); in hugetlb_change_protection()
4615 pte = pte_mkhuge(huge_pte_modify(old_pte, newprot)); in hugetlb_change_protection()
4617 huge_ptep_modify_prot_commit(vma, address, ptep, old_pte, pte); in hugetlb_change_protection()
Dmemory.c3690 pte_t pte, old_pte; in do_numa_page() local
3710 old_pte = ptep_modify_prot_start(vma, vmf->address, vmf->pte); in do_numa_page()
3711 pte = pte_modify(old_pte, vma->vm_page_prot); in do_numa_page()
3715 ptep_modify_prot_commit(vma, vmf->address, vmf->pte, old_pte, pte); in do_numa_page()