Home
last modified time | relevance | path

Searched refs:old_page (Results 1 – 2 of 2) sorted by relevance

/mm/
Dmemory.c2449 struct page *old_page = vmf->page; in wp_page_copy() local
2470 if (!cow_user_page(new_page, old_page, vmf)) { in wp_page_copy()
2478 if (old_page) in wp_page_copy()
2479 put_page(old_page); in wp_page_copy()
2499 if (old_page) { in wp_page_copy()
2500 if (!PageAnon(old_page)) { in wp_page_copy()
2502 mm_counter_file(old_page)); in wp_page_copy()
2528 if (old_page) { in wp_page_copy()
2551 page_remove_rmap(old_page, false); in wp_page_copy()
2555 new_page = old_page; in wp_page_copy()
[all …]
Dhugetlb.c3808 struct page *old_page, *new_page; in hugetlb_cow() local
3815 old_page = pte_page(pte); in hugetlb_cow()
3820 if (page_mapcount(old_page) == 1 && PageAnon(old_page)) { in hugetlb_cow()
3821 page_move_anon_rmap(old_page, vma); in hugetlb_cow()
3836 old_page != pagecache_page) in hugetlb_cow()
3839 get_page(old_page); in hugetlb_cow()
3857 put_page(old_page); in hugetlb_cow()
3859 unmap_ref_private(mm, vma, old_page, haddr); in hugetlb_cow()
3886 copy_user_huge_page(new_page, old_page, address, vma, in hugetlb_cow()
3908 page_remove_rmap(old_page, true); in hugetlb_cow()
[all …]