Searched refs:PageAnonExclusive (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.1/include/linux/ |
D | rmap.h | 243 if (!PageAnonExclusive(page)) in page_try_dup_anon_rmap() 287 VM_BUG_ON_PAGE(!PageAnon(page) || !PageAnonExclusive(page), page); in page_try_share_anon_rmap()
|
D | page-flags.h | 1018 static __always_inline int PageAnonExclusive(struct page *page) in PageAnonExclusive() function
|
D | mm.h | 3091 return !PageAnonExclusive(page); in gup_must_unshare()
|
/Linux-v6.1/mm/ |
D | huge_memory.c | 1334 if (PageAnonExclusive(page)) in do_huge_pmd_wp_page() 1352 if (PageAnonExclusive(page)) { in do_huge_pmd_wp_page() 1422 if (!page || !PageAnon(page) || !PageAnonExclusive(page)) in can_follow_write_pmd() 1460 !PageAnonExclusive(page), page); in follow_trans_huge_pmd() 2161 anon_exclusive = PageAnon(page) && PageAnonExclusive(page); in __split_huge_pmd_locked() 3210 anon_exclusive = PageAnon(page) && PageAnonExclusive(page); in set_pmd_migration_entry() 3276 VM_BUG_ON(pmd_write(pmde) && PageAnon(new) && !PageAnonExclusive(new)); in remove_migration_pmd()
|
D | rmap.c | 1215 VM_BUG_ON_PAGE(!first && PageAnonExclusive(page), page); in page_add_anon_rmap() 1534 PageAnonExclusive(subpage); in try_to_unmap_one() 1929 PageAnonExclusive(subpage); in try_to_migrate_one() 2562 VM_BUG_ON_PAGE(!first && PageAnonExclusive(page), page); in hugepage_add_anon_rmap()
|
D | gup.c | 57 VM_BUG_ON_PAGE(!PageAnonExclusive(&folio->page), page); in sanity_check_pinned_pages() 60 VM_BUG_ON_PAGE(!PageAnonExclusive(&folio->page) && in sanity_check_pinned_pages() 61 !PageAnonExclusive(page), page); in sanity_check_pinned_pages() 517 if (!page || !PageAnon(page) || !PageAnonExclusive(page)) in can_follow_write_pte() 624 !PageAnonExclusive(page), page); in follow_page_pte()
|
D | ksm.c | 846 VM_BUG_ON_PAGE(PageAnon(page) && PageAnonExclusive(page), page); in set_page_stable_node() 1042 anon_exclusive = PageAnonExclusive(page); in write_protect_page() 1149 VM_BUG_ON_PAGE(PageAnonExclusive(page), page); in replace_page() 1150 VM_BUG_ON_PAGE(PageAnon(kpage) && PageAnonExclusive(kpage), kpage); in replace_page()
|
D | migrate_device.c | 205 anon_exclusive = PageAnon(page) && PageAnonExclusive(page); in migrate_vma_collect_pmd()
|
D | mprotect.c | 68 if (!page || !PageAnon(page) || !PageAnonExclusive(page)) in can_change_pte_writable()
|
D | memory.c | 734 VM_BUG_ON(pte_write(pte) && !(PageAnon(page) && PageAnonExclusive(page))); in restore_exclusive_pte() 981 VM_BUG_ON(page && PageAnon(page) && PageAnonExclusive(page)); in copy_present_pte() 3060 VM_BUG_ON(page && PageAnon(page) && !PageAnonExclusive(page)); in wp_page_reuse() 3425 if (PageAnonExclusive(vmf->page)) in do_wp_page() 3919 BUG_ON(folio_test_anon(folio) && PageAnonExclusive(page)); in do_swap_page() 4007 (pte_write(pte) && !PageAnonExclusive(page))); in do_swap_page()
|
D | hugetlb.c | 5342 if (!PageAnonExclusive(old_page)) in hugetlb_wp() 5350 VM_BUG_ON_PAGE(PageAnon(old_page) && PageAnonExclusive(old_page), in hugetlb_wp() 6341 !PageAnonExclusive(page), page); in follow_hugetlb_page()
|
D | swapfile.c | 1793 BUG_ON(PageAnon(page) && PageAnonExclusive(page)); in unuse_pte()
|