Searched refs:PageAnonExclusive (Results 1 – 11 of 11) sorted by relevance
/linux/mm/ |
H A D | gup.c | 66 VM_BUG_ON_PAGE(!PageAnonExclusive(&folio->page), page); in sanity_check_pinned_pages() 69 VM_BUG_ON_PAGE(!PageAnonExclusive(&folio->page) && in sanity_check_pinned_pages() 70 !PageAnonExclusive(page), page); in sanity_check_pinned_pages() 709 if (!page || !PageAnon(page) || !PageAnonExclusive(page)) in can_follow_write_pmd() 746 !PageAnonExclusive(page), page); in follow_huge_pmd() 830 if (!page || !PageAnon(page) || !PageAnonExclusive(page)) in can_follow_write_pte() 910 !PageAnonExclusive(page), page); in follow_page_pte()
|
H A D | huge_memory.c | 1867 if (PageAnonExclusive(page)) in do_huge_pmd_wp_page() 1885 if (PageAnonExclusive(page)) { in do_huge_pmd_wp_page() 1950 return page && PageAnon(page) && PageAnonExclusive(page); in can_change_pmd_writable() 2490 if (unlikely(!PageAnonExclusive(src_page))) { in move_pages_huge_pmd() 2533 !PageAnonExclusive(&src_folio->page)) { in move_pages_huge_pmd() 2853 anon_exclusive = PageAnonExclusive(page); in __split_huge_pmd_locked() 4244 anon_exclusive = folio_test_anon(folio) && PageAnonExclusive(page); in set_pmd_migration_entry() 4313 VM_BUG_ON(pmd_write(pmde) && folio_test_anon(folio) && !PageAnonExclusive(new)); in remove_migration_pmd()
|
H A D | rmap.c | 1350 PageAnonExclusive(cur_page), folio); in __folio_add_anon_rmap() 1729 PageAnonExclusive(subpage); in try_to_unmap_one() 2105 PageAnonExclusive(subpage); in try_to_migrate_one() 2757 PageAnonExclusive(&folio->page), folio); in hugetlb_add_new_anon_rmap()
|
H A D | userfaultfd.c | 1044 !PageAnonExclusive(&src_folio->page)) { in move_present_pte() 1240 if (!folio || !PageAnonExclusive(&folio->page)) { in move_pages_pte() 1706 !PageAnonExclusive(&folio->page))) { in move_pages()
|
H A D | ksm.c | 1068 VM_WARN_ON_FOLIO(folio_test_anon(folio) && PageAnonExclusive(&folio->page), folio); in folio_set_stable_node() 1273 anon_exclusive = PageAnonExclusive(&folio->page); in write_protect_page() 1381 VM_BUG_ON_PAGE(PageAnonExclusive(page), page); in replace_page() 1382 VM_BUG_ON_FOLIO(folio_test_anon(kfolio) && PageAnonExclusive(kpage), in replace_page()
|
H A D | memory.c | 739 PageAnonExclusive(page)), folio); in restore_exclusive_pte() 1015 VM_WARN_ON_FOLIO(PageAnonExclusive(page), folio); in copy_present_ptes() 1043 VM_WARN_ON_FOLIO(PageAnonExclusive(page), folio); in copy_present_ptes() 3262 !PageAnonExclusive(vmf->page)); in wp_page_reuse() 3738 (PageAnonExclusive(vmf->page) || wp_can_reuse_anon_folio(folio, vma))) { in do_wp_page() 3739 if (!PageAnonExclusive(vmf->page)) in do_wp_page() 4492 BUG_ON(folio_test_anon(folio) && PageAnonExclusive(page)); in do_swap_page() 4596 (pte_write(pte) && !PageAnonExclusive(page))); in do_swap_page()
|
H A D | migrate_device.c | 201 PageAnonExclusive(page); in migrate_vma_collect_pmd()
|
H A D | mprotect.c | 71 return page && PageAnon(page) && PageAnonExclusive(page); in can_change_pte_writable()
|
H A D | internal.h | 1393 return !PageAnonExclusive(page); in gup_must_unshare()
|
H A D | hugetlb.c | 5835 if (!PageAnonExclusive(&old_folio->page)) { in hugetlb_wp() 5846 PageAnonExclusive(&old_folio->page), &old_folio->page); in hugetlb_wp()
|
/linux/include/linux/ |
H A D | page-flags.h | 1120 static __always_inline int PageAnonExclusive(const struct page *page) in PageAnonExclusive() function
|