Home
last modified time | relevance | path

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

12

/Linux-v5.4/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.c244 page_mapcount(page)); in sh4_flush_cache_page()
/Linux-v5.4/include/trace/events/
Dpage_ref.h33 __entry->mapcount = page_mapcount(page);
82 __entry->mapcount = page_mapcount(page);
/Linux-v5.4/arch/xtensa/mm/
Dtlb.c243 page_mapcount(p)); in check_tlb_entry()
246 else if (page_mapcount(p)) in check_tlb_entry()
/Linux-v5.4/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.c341 if (page_mapcount(page) != 1) in madvise_cold_or_pageout_pte_range()
407 if (page_mapcount(page) != 1) in madvise_cold_or_pageout_pte_range()
613 if (page_mapcount(page) != 1) in madvise_free_pte_range()
644 if (page_mapcount(page) != 1) { in madvise_free_pte_range()
Ddebug.c68 mapcount = PageSlab(page) ? 0 : page_mapcount(page); in __dump_page()
Dmlock.c137 if (page_mapcount(page) > 1) in __munlock_isolated_page()
252 if (page_mapcount(page) <= 1 && page_evictable(page)) { in __putback_lru_fast_prepare()
Dmprotect.c89 page_mapcount(page) != 1) in change_pte_range()
Dmigrate.c1554 if (page_mapcount(page) > 1 && !migrate_all) in add_page_for_migration()
1949 if (page_mapcount(page) != 1 && page_is_file_cache(page) && in migrate_misplaced_page()
2395 if ((page_count(page) - extra) > page_mapcount(page)) in migrate_vma_check_page()
Dkhugepaged.c675 VM_BUG_ON_PAGE(page_mapcount(src_page) != 1, src_page); in __collapse_huge_page_copy()
1858 1 + page_mapcount(page) + page_has_private(page)) { in khugepaged_scan_file()
Dksm.c1086 if (page_mapcount(page) + 1 + swapped != page_count(page)) { in write_protect_page()
1648 if (page_mapcount(page) > 1) in stable_tree_search()
Dmempolicy.c574 (flags & MPOL_MF_MOVE && page_mapcount(page) == 1)) in queue_pages_hugetlb()
978 if ((flags & MPOL_MF_MOVE_ALL) || page_mapcount(head) == 1) { in migrate_page_add()
Dmemory-failure.c1036 pfn, page_mapcount(hpage)); in hwpoison_user_mappings()
Drmap.c1734 return !page_mapcount(page) ? true : false; in try_to_unmap()
Dhuge_memory.c1723 if (page_mapcount(page) != 1) in madvise_free_huge_pmd()
1809 VM_BUG_ON_PAGE(page_mapcount(page) < 0, page); in zap_huge_pmd()
/Linux-v5.4/arch/mips/mm/
Dinit.c178 page_mapcount(from) && !Page_dcache_dirty(from)) { in copy_user_highpage()
200 page_mapcount(page) && !Page_dcache_dirty(page)) { in copy_to_user_page()
218 page_mapcount(page) && !Page_dcache_dirty(page)) { in copy_from_user_page()
Dcache.c117 if (page_mapcount(page) && !Page_dcache_dirty(page)) { in __flush_anon_page()
/Linux-v5.4/arch/csky/abiv1/
Dcacheflush.c25 if (mapping && !page_mapcount(page)) in flush_dcache_page()
/Linux-v5.4/fs/proc/
Dtask_mmu.c497 int mapcount = page_mapcount(page); in smaps_account()
726 int mapcount = page_mapcount(page); in smaps_hugetlb_range()
1355 if (page && page_mapcount(page) == 1) in pte_to_pagemap_entry()
1411 if (page && page_mapcount(page) == 1) in pagemap_pmd_range()
1477 if (page_mapcount(page) == 1) in pagemap_hugetlb_range()
1670 int count = page_mapcount(page); in gather_stats()
Dpage.c54 pcount = page_mapcount(ppage); in kpagecount_read()
/Linux-v5.4/arch/arm/mm/
Dflush.c335 mapping && !page_mapcount(page)) in flush_dcache_page()
/Linux-v5.4/arch/arc/mm/
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()
/Linux-v5.4/include/linux/
Dmm.h717 static inline int page_mapcount(struct page *page) in page_mapcount() function
732 return page_mapcount(page); in total_mapcount()
737 int mapcount = page_mapcount(page); in page_trans_huge_mapcount()
/Linux-v5.4/fs/fuse/
Ddev.c765 if (page_mapcount(page) || in fuse_check_page()
776 …=%i, mapping=%p\n", page, page->index, page->flags, page_count(page), page_mapcount(page), page->m… in fuse_check_page()

12