Searched refs:PageAnonExclusive (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | rmap.h | 254 if (!PageAnonExclusive(page)) in page_try_dup_anon_rmap() 298 VM_BUG_ON_PAGE(!PageAnon(page) || !PageAnonExclusive(page), page); in page_try_share_anon_rmap()
|
H A D | page-flags.h | 1039 static __always_inline int PageAnonExclusive(struct page *page) in PageAnonExclusive() function
|
/openbmc/linux/mm/ |
H A D | huge_memory.c | 1309 if (PageAnonExclusive(page)) in do_huge_pmd_wp_page() 1327 if (PageAnonExclusive(page)) { in do_huge_pmd_wp_page() 1391 return page && PageAnon(page) && PageAnonExclusive(page); in can_change_pmd_writable() 1427 if (!page || !PageAnon(page) || !PageAnonExclusive(page)) in can_follow_write_pmd() 1465 !PageAnonExclusive(page), page); in follow_trans_huge_pmd() 2183 anon_exclusive = PageAnon(page) && PageAnonExclusive(page); in __split_huge_pmd_locked() 3229 anon_exclusive = PageAnon(page) && PageAnonExclusive(page); in set_pmd_migration_entry() 3297 VM_BUG_ON(pmd_write(pmde) && PageAnon(new) && !PageAnonExclusive(new)); in remove_migration_pmd()
|
H A D | rmap.c | 1240 VM_BUG_ON_PAGE(!first && PageAnonExclusive(page), page); in page_add_anon_rmap() 1541 PageAnonExclusive(subpage); in try_to_unmap_one() 1911 PageAnonExclusive(subpage); in try_to_migrate_one() 2555 VM_BUG_ON_PAGE(!first && PageAnonExclusive(page), page); in hugepage_add_anon_rmap()
|
H A D | gup.c | 59 VM_BUG_ON_PAGE(!PageAnonExclusive(&folio->page), page); in sanity_check_pinned_pages() 62 VM_BUG_ON_PAGE(!PageAnonExclusive(&folio->page) && in sanity_check_pinned_pages() 63 !PageAnonExclusive(page), page); in sanity_check_pinned_pages() 482 if (!page || !PageAnon(page) || !PageAnonExclusive(page)) in can_follow_write_pte() 560 !PageAnonExclusive(page), page); in follow_page_pte()
|
H A D | ksm.c | 917 VM_BUG_ON_PAGE(PageAnon(page) && PageAnonExclusive(page), page); in set_page_stable_node() 1121 anon_exclusive = PageAnonExclusive(page); in write_protect_page() 1227 VM_BUG_ON_PAGE(PageAnonExclusive(page), page); in replace_page() 1228 VM_BUG_ON_PAGE(PageAnon(kpage) && PageAnonExclusive(kpage), kpage); in replace_page()
|
H A D | migrate_device.c | 198 anon_exclusive = PageAnon(page) && PageAnonExclusive(page); in migrate_vma_collect_pmd()
|
H A D | mprotect.c | 70 return page && PageAnon(page) && PageAnonExclusive(page); in can_change_pte_writable()
|
H A D | memory.c | 715 VM_BUG_ON(pte_write(pte) && !(PageAnon(page) && PageAnonExclusive(page))); in restore_exclusive_pte() 965 VM_BUG_ON(page && folio_test_anon(folio) && PageAnonExclusive(page)); in copy_present_pte() 3034 VM_BUG_ON(page && PageAnon(page) && !PageAnonExclusive(page)); in wp_page_reuse() 3408 if (PageAnonExclusive(vmf->page)) in do_wp_page() 3956 BUG_ON(folio_test_anon(folio) && PageAnonExclusive(page)); in do_swap_page() 4044 (pte_write(pte) && !PageAnonExclusive(page))); in do_swap_page()
|
H A D | internal.h | 1069 return !PageAnonExclusive(page); in gup_must_unshare()
|
H A D | hugetlb.c | 5610 if (!PageAnonExclusive(&old_folio->page)) in hugetlb_wp() 5619 PageAnonExclusive(&old_folio->page), &old_folio->page); in hugetlb_wp()
|
H A D | swapfile.c | 1802 BUG_ON(PageAnon(page) && PageAnonExclusive(page)); in unuse_pte()
|