Home
last modified time | relevance | path

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

12

/Linux-v5.15/arch/sh/mm/
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()
Dcache-sh4.c240 page_mapcount(page)); in sh4_flush_cache_page()
/Linux-v5.15/include/trace/events/
Dpage_ref.h33 __entry->mapcount = page_mapcount(page);
82 __entry->mapcount = page_mapcount(page);
/Linux-v5.15/mm/
Dmemfd.c43 if (page_count(page) - page_mapcount(page) > 1) in memfd_tag_pins()
93 if (page_count(page) - page_mapcount(page) != 1) { in memfd_wait_for_pins()
Dmadvise.c348 if (page_mapcount(page) != 1) in madvise_cold_or_pageout_pte_range()
417 if (page_mapcount(page) != 1) in madvise_cold_or_pageout_pte_range()
440 if (page_mapcount(page) != 1) in madvise_cold_or_pageout_pte_range()
628 if (page_mapcount(page) != 1) in madvise_free_pte_range()
659 if (page_mapcount(page) != 1) { in madvise_free_pte_range()
Ddebug.c87 mapcount = PageSlab(head) ? 0 : page_mapcount(page); in __dump_page()
Dmlock.c121 if (page_mapcount(page) > 1) in __munlock_isolated_page()
222 if (page_mapcount(page) <= 1 && page_evictable(page)) { in __putback_lru_fast_prepare()
Dkhugepaged.c636 if (page_mapcount(page) > 1 && in __collapse_huge_page_isolate()
1298 if (page_mapcount(page) > 1 && in khugepaged_scan_pmd()
2034 1 + page_mapcount(page) + page_has_private(page)) { in khugepaged_scan_file()
Dmprotect.c97 page_mapcount(page) != 1) in change_pte_range()
Dmigrate.c1717 if (page_mapcount(page) > 1 && !migrate_all) in add_page_for_migration()
2172 if (page_mapcount(page) != 1 && page_is_file_lru(page) && in migrate_misplaced_page()
2513 if ((page_count(page) - extra) > page_mapcount(page)) in migrate_vma_check_page()
Dksm.c1081 if (page_mapcount(page) + 1 + swapped != page_count(page)) { in write_protect_page()
1643 if (page_mapcount(page) > 1) in stable_tree_search()
Dmempolicy.c606 (flags & MPOL_MF_MOVE && page_mapcount(page) == 1)) { in queue_pages_hugetlb()
1027 if ((flags & MPOL_MF_MOVE_ALL) || page_mapcount(head) == 1) { in migrate_page_add()
Dmemory-failure.c1352 pfn, page_mapcount(hpage)); in hwpoison_user_mappings()
Dmemory.c1363 if (unlikely(page_mapcount(page) < 0)) in zap_pte_range()
3290 if (PageKsm(page) || page_mapcount(page) != 1 || page_count(page) != 1) { in do_wp_page()
4388 if (page_mapcount(page) > 1 && (vma->vm_flags & VM_SHARED)) in do_numa_page()
/Linux-v5.15/arch/csky/abiv1/
Dcacheflush.c26 if (mapping && !page_mapcount(page)) in flush_dcache_page()
/Linux-v5.15/arch/xtensa/mm/
Dtlb.c251 page_mapcount(p)); in check_tlb_entry()
254 else if (page_mapcount(p)) in check_tlb_entry()
/Linux-v5.15/arch/mips/mm/
Dinit.c176 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()
Dcache.c118 if (page_mapcount(page) && !Page_dcache_dirty(page)) { in __flush_anon_page()
Dc-r4k.c688 page_mapcount(page) && in local_r4k_flush_cache_page()
/Linux-v5.15/fs/proc/
Dtask_mmu.c467 int mapcount = page_mapcount(page); in smaps_account()
698 int mapcount = page_mapcount(page); in smaps_hugetlb_range()
1393 if (page && page_mapcount(page) == 1) in pte_to_pagemap_entry()
1453 if (page && page_mapcount(page) == 1) in pagemap_pmd_range()
1519 if (page_mapcount(page) == 1) in pagemap_hugetlb_range()
1716 int count = page_mapcount(page); in gather_stats()
Dpage.c72 pcount = page_mapcount(ppage); in kpagecount_read()
/Linux-v5.15/arch/arm/mm/
Dflush.c335 mapping && !page_mapcount(page)) in flush_dcache_page()
/Linux-v5.15/arch/s390/kernel/
Duv.c152 res = page_mapcount(page); in expected_page_refs()
/Linux-v5.15/arch/arc/mm/
Dcache.c775 } 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()
/Linux-v5.15/include/linux/
Dmm.h873 static inline int page_mapcount(struct page *page) in page_mapcount() function
886 return page_mapcount(page); in total_mapcount()
891 int mapcount = page_mapcount(page); in page_trans_huge_mapcount()

12