Searched refs:orig_pte (Results 1 – 5 of 5) sorted by relevance
/mm/ |
D | madvise.c | 192 pte_t *orig_pte; in swapin_walk_pmd_entry() local 205 orig_pte = pte_offset_map_lock(vma->vm_mm, pmd, start, &ptl); in swapin_walk_pmd_entry() 206 pte = *(orig_pte + ((index - start) / PAGE_SIZE)); in swapin_walk_pmd_entry() 207 pte_unmap_unlock(orig_pte, ptl); in swapin_walk_pmd_entry() 320 pte_t *orig_pte, *pte, ptent; in madvise_cold_or_pageout_pte_range() local 407 orig_pte = pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); in madvise_cold_or_pageout_pte_range() 441 pte_unmap_unlock(orig_pte, ptl); in madvise_cold_or_pageout_pte_range() 498 pte_unmap_unlock(orig_pte, ptl); in madvise_cold_or_pageout_pte_range() 609 pte_t *orig_pte, *pte, ptent; in madvise_free_pte_range() local 623 orig_pte = pte = pte_offset_map_lock(mm, pmd, addr, &ptl); in madvise_free_pte_range() [all …]
|
D | memory.c | 2890 if (!pte_same(*vmf->pte, vmf->orig_pte)) in pte_unmap_same() 2930 if (arch_faults_on_old_pte() && !pte_young(vmf->orig_pte)) { in cow_user_page() 2935 if (!likely(pte_same(*vmf->pte, vmf->orig_pte))) { in cow_user_page() 2945 entry = pte_mkyoung(vmf->orig_pte); in cow_user_page() 2963 if (!likely(pte_same(*vmf->pte, vmf->orig_pte))) { in cow_user_page() 3117 flush_cache_page(vma, vmf->address, pte_pfn(vmf->orig_pte)); in wp_page_reuse() 3118 entry = pte_mkyoung(vmf->orig_pte); in wp_page_reuse() 3156 if (is_zero_pfn(pte_pfn(vmf->orig_pte))) { in wp_page_copy() 3200 if (likely(pte_same(*vmf->pte, vmf->orig_pte))) { in wp_page_copy() 3210 flush_cache_page(vma, vmf->address, pte_pfn(vmf->orig_pte)); in wp_page_copy() [all …]
|
D | swap_state.c | 763 pte_t *pte, *orig_pte; in swap_ra_info() local 777 orig_pte = pte = pte_offset_map(vmf->pmd, faddr); in swap_ra_info() 780 pte_unmap(orig_pte); in swap_ra_info() 795 pte_unmap(orig_pte); in swap_ra_info() 820 pte_unmap(orig_pte); in swap_ra_info()
|
D | ksm.c | 1035 pte_t *orig_pte) in write_protect_page() argument 1101 *orig_pte = *pvmw.pte; in write_protect_page() 1122 struct page *kpage, pte_t orig_pte) in replace_page() argument 1146 if (!pte_same(*ptep, orig_pte)) { in replace_page() 1206 pte_t orig_pte = __pte(0); in try_to_merge_one_page() local 1236 if (write_protect_page(vma, page, &orig_pte) == 0) { in try_to_merge_one_page() 1253 err = replace_page(vma, page, kpage, orig_pte); in try_to_merge_one_page()
|
D | khugepaged.c | 1027 vmf.orig_pte = *vmf.pte; in __collapse_huge_page_swapin() 1028 if (!is_swap_pte(vmf.orig_pte)) { in __collapse_huge_page_swapin()
|