Home
last modified time | relevance | path

Searched refs:orig_pte (Results 1 – 5 of 5) sorted by relevance

/mm/
Dmadvise.c196 pte_t *orig_pte; in swapin_walk_pmd_entry() local
209 orig_pte = pte_offset_map_lock(vma->vm_mm, pmd, start, &ptl); in swapin_walk_pmd_entry()
210 pte = *(orig_pte + ((index - start) / PAGE_SIZE)); in swapin_walk_pmd_entry()
211 pte_unmap_unlock(orig_pte, ptl); in swapin_walk_pmd_entry()
318 pte_t *orig_pte, *pte, ptent; in madvise_free_pte_range() local
332 orig_pte = pte = pte_offset_map_lock(mm, pmd, addr, &ptl); in madvise_free_pte_range()
374 pte_unmap_unlock(orig_pte, ptl); in madvise_free_pte_range()
437 pte_unmap_unlock(orig_pte, ptl); in madvise_free_pte_range()
Dmemory.c2312 pte_t *page_table, pte_t orig_pte) in pte_unmap_same() argument
2319 same = pte_same(*page_table, orig_pte); in pte_unmap_same()
2457 flush_cache_page(vma, vmf->address, pte_pfn(vmf->orig_pte)); in wp_page_reuse()
2458 entry = pte_mkyoung(vmf->orig_pte); in wp_page_reuse()
2496 if (is_zero_pfn(pte_pfn(vmf->orig_pte))) { in wp_page_copy()
2520 if (likely(pte_same(*vmf->pte, vmf->orig_pte))) { in wp_page_copy()
2530 flush_cache_page(vma, vmf->address, pte_pfn(vmf->orig_pte)); in wp_page_copy()
2634 if (!pte_same(*vmf->pte, vmf->orig_pte)) { in finish_mkwrite_fault()
2720 vmf->page = vm_normal_page(vma, vmf->address, vmf->orig_pte); in do_wp_page()
2749 if (!pte_same(*vmf->pte, vmf->orig_pte)) { in do_wp_page()
[all …]
Dksm.c1015 pte_t *orig_pte) in write_protect_page() argument
1076 *orig_pte = *pvmw.pte; in write_protect_page()
1097 struct page *kpage, pte_t orig_pte) in replace_page() argument
1122 if (!pte_same(*ptep, orig_pte)) { in replace_page()
1176 pte_t orig_pte = __pte(0); in try_to_merge_one_page() local
1206 if (write_protect_page(vma, page, &orig_pte) == 0) { in try_to_merge_one_page()
1223 err = replace_page(vma, page, kpage, orig_pte); in try_to_merge_one_page()
Dkhugepaged.c900 vmf.orig_pte = *vmf.pte; in __collapse_huge_page_swapin()
901 if (!is_swap_pte(vmf.orig_pte)) in __collapse_huge_page_swapin()
Dswap_state.c673 entry = pte_to_swp_entry(vmf->orig_pte); in swap_readahead_detect()