Searched refs:page_mapcount (Results 1 – 25 of 28) sorted by relevance
12
64 if (boot_cpu_data.dcache.n_aliases && page_mapcount(page) && in copy_to_user_page()83 if (boot_cpu_data.dcache.n_aliases && page_mapcount(page) && in copy_from_user_page()102 if (boot_cpu_data.dcache.n_aliases && page_mapcount(from) && in copy_user_highpage()158 if (boot_cpu_data.dcache.n_aliases && page_mapcount(page) && in __flush_anon_page()
240 page_mapcount(page)); in sh4_flush_cache_page()
33 __entry->mapcount = page_mapcount(page);82 __entry->mapcount = page_mapcount(page);
26 if (mapping && !page_mapcount(page)) in flush_dcache_page()
257 page_mapcount(p)); in check_tlb_entry()260 else if (page_mapcount(p)) in check_tlb_entry()
176 page_mapcount(from) && !Page_dcache_dirty(from)) { in copy_user_highpage()198 page_mapcount(page) && !Page_dcache_dirty(page)) { in copy_to_user_page()216 page_mapcount(page) && !Page_dcache_dirty(page)) { in copy_from_user_page()
118 if (page_mapcount(page) && !Page_dcache_dirty(page)) { in __flush_anon_page()
687 page_mapcount(page) && in local_r4k_flush_cache_page()
91 mapcount = PageSlab(head) ? 0 : page_mapcount(page); in __dump_page()
364 if (page_mapcount(page) != 1) in madvise_cold_or_pageout_pte_range()433 if (page_mapcount(page) != 1) in madvise_cold_or_pageout_pte_range()459 if (!PageLRU(page) || page_mapcount(page) != 1) in madvise_cold_or_pageout_pte_range()
572 if (page_mapcount(page) > 1) { in __collapse_huge_page_isolate()1201 if (page_mapcount(page) > 1) { in hpage_collapse_scan_pmd()2178 1 + page_mapcount(page) + page_has_private(page)) { in hpage_collapse_scan_file()
353 if ((page_count(page) - extra) > page_mapcount(page)) in migrate_vma_check_page()
1717 if (page_mapcount(page) > 1 && !migrate_all) in add_page_for_migration()2177 if (page_mapcount(page) != 1 && page_is_file_lru(page) && in migrate_misplaced_page()
1069 if (page_mapcount(page) + 1 + swapped != page_count(page)) { in write_protect_page()1642 if (page_mapcount(page) > 1) in stable_tree_search()
603 (flags & MPOL_MF_MOVE && page_mapcount(page) == 1)) { in queue_pages_hugetlb()1036 if ((flags & MPOL_MF_MOVE_ALL) || page_mapcount(head) == 1) { in migrate_page_add()
1483 pfn, page_mapcount(hpage)); in hwpoison_user_mappings()
1448 if (unlikely(page_mapcount(page) < 0)) in zap_pte_range()4760 if (page_mapcount(page) > 1 && (vma->vm_flags & VM_SHARED)) in do_numa_page()
1861 VM_BUG_ON_PAGE(page_mapcount(page), page); in free_huge_page()5508 if (page_mapcount(old_page) == 1 && PageAnon(old_page)) { in hugetlb_wp()
490 int mapcount = page_mapcount(page); in smaps_account()740 int mapcount = page_mapcount(page); in smaps_hugetlb_range()1452 if (page && !migration && page_mapcount(page) == 1) in pte_to_pagemap_entry()1518 if (page && !migration && page_mapcount(page) == 1) in pagemap_pmd_range()1584 if (page_mapcount(page) == 1) in pagemap_hugetlb_range()1787 int count = page_mapcount(page); in gather_stats()
73 pcount = page_mapcount(ppage); in kpagecount_read()
335 mapping && !page_mapcount(page)) in flush_dcache_page()
775 } else if (page_mapcount(page)) { in flush_dcache_page()1007 if (page_mapcount(from) && addr_not_cache_congruent(kfrom, u_vaddr)) { in copy_user_highpage()
184 res = page_mapcount(page); in expected_page_refs()
859 static inline int page_mapcount(struct page *page) in page_mapcount() function877 return page_mapcount(page); in total_mapcount()
769 if (page_mapcount(page) || in fuse_check_page()