Home
last modified time | relevance | path

Searched refs:page_mapcount (Results 1 – 25 of 32) sorted by relevance

12

/OK3568_Linux_fs/kernel/arch/sh/mm/
H A Dcache.c64 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()
H A Dcache-sh4.c239 page_mapcount(page)); in sh4_flush_cache_page()
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dpage_ref.h33 __entry->mapcount = page_mapcount(page);
82 __entry->mapcount = page_mapcount(page);
/OK3568_Linux_fs/kernel/arch/xtensa/mm/
H A Dtlb.c251 page_mapcount(p)); in check_tlb_entry()
254 else if (page_mapcount(p)) in check_tlb_entry()
/OK3568_Linux_fs/kernel/arch/mips/mm/
H A Dinit.c177 page_mapcount(from) && !Page_dcache_dirty(from)) { in copy_user_highpage()
199 page_mapcount(page) && !Page_dcache_dirty(page)) { in copy_to_user_page()
217 page_mapcount(page) && !Page_dcache_dirty(page)) { in copy_from_user_page()
H A Dcache.c116 if (page_mapcount(page) && !Page_dcache_dirty(page)) { in __flush_anon_page()
H A Dc-r4k.c688 page_mapcount(page) && in local_r4k_flush_cache_page()
/OK3568_Linux_fs/kernel/mm/
H A Dmadvise.c353 if (page_mapcount(page) != 1) in madvise_cold_or_pageout_pte_range()
425 if (page_mapcount(page) != 1) in madvise_cold_or_pageout_pte_range()
453 if (!allow_shared && (!PageLRU(page) || page_mapcount(page) != 1)) in madvise_cold_or_pageout_pte_range()
651 if (page_mapcount(page) != 1) in madvise_free_pte_range()
682 if (page_mapcount(page) != 1) { in madvise_free_pte_range()
H A Dmlock.c141 if (page_mapcount(page) > 1) in __munlock_isolated_page()
258 if (page_mapcount(page) <= 1 && page_evictable(page)) { in __putback_lru_fast_prepare()
H A Ddebug.c97 mapcount = PageSlab(head) ? 0 : page_mapcount(page); in __dump_page()
H A Dpage_pinner.c128 record->mapcount = page_mapcount(page); in capture_page_state()
H A Dkhugepaged.c634 if (page_mapcount(page) > 1 && in __collapse_huge_page_isolate()
1311 if (page_mapcount(page) > 1 && in khugepaged_scan_pmd()
2078 1 + page_mapcount(page) + page_has_private(page)) { in khugepaged_scan_file()
H A Dmigrate.c1640 if (page_mapcount(page) > 1 && !migrate_all) in add_page_for_migration()
2074 if (page_mapcount(page) != 1 && page_is_file_lru(page) && in migrate_misplaced_page()
2554 if ((page_count(page) - extra) > page_mapcount(page)) in migrate_vma_check_page()
H A Drmap.c1726 map_count = page_mapcount(page); in try_to_unmap_one()
1870 return !page_mapcount(page); in try_to_unmap()
H A Dksm.c1088 if (page_mapcount(page) + 1 + swapped != page_count(page)) { in write_protect_page()
1650 if (page_mapcount(page) > 1) in stable_tree_search()
H A Dmempolicy.c628 (flags & MPOL_MF_MOVE && page_mapcount(page) == 1)) { in queue_pages_hugetlb()
1051 if ((flags & MPOL_MF_MOVE_ALL) || page_mapcount(head) == 1) { in migrate_page_add()
H A Dmemory-failure.c1083 pfn, page_mapcount(hpage)); in hwpoison_user_mappings()
H A Dmemory.c1327 if (unlikely(page_mapcount(page) < 0)) in zap_pte_range()
3442 if (PageKsm(page) || page_mapcount(page) != 1 || page_count(page) != 1) { in do_wp_page()
4588 if (page_mapcount(page) > 1 && (vmf->vma_flags & VM_SHARED)) in do_numa_page()
/OK3568_Linux_fs/kernel/arch/csky/abiv1/
H A Dcacheflush.c25 if (mapping && !page_mapcount(page)) in flush_dcache_page()
/OK3568_Linux_fs/kernel/fs/proc/
H A Dtask_mmu.c532 int mapcount = page_mapcount(page); in smaps_account()
777 int mapcount = page_mapcount(page); in smaps_hugetlb_range()
1483 if (page && !migration && page_mapcount(page) == 1) in pte_to_pagemap_entry()
1541 if (page && !migration && page_mapcount(page) == 1) in pagemap_pmd_range()
1607 if (page_mapcount(page) == 1) in pagemap_hugetlb_range()
1804 int count = page_mapcount(page); in gather_stats()
H A Dpage.c72 pcount = page_mapcount(ppage); in kpagecount_read()
/OK3568_Linux_fs/kernel/arch/arm/mm/
H A Dflush.c335 mapping && !page_mapcount(page)) in flush_dcache_page()
/OK3568_Linux_fs/kernel/arch/arc/mm/
H A Dcache.c857 } else if (page_mapcount(page)) { in flush_dcache_page()
1089 if (page_mapcount(from) && addr_not_cache_congruent(kfrom, u_vaddr)) { in copy_user_highpage()
/OK3568_Linux_fs/kernel/arch/s390/kernel/
H A Duv.c173 res = page_mapcount(page); in expected_page_refs()
/OK3568_Linux_fs/kernel/include/linux/
H A Dmm.h890 static inline int page_mapcount(struct page *page) in page_mapcount() function
903 return page_mapcount(page); in total_mapcount()
908 int mapcount = page_mapcount(page); in page_trans_huge_mapcount()

12