Searched refs:page_mapcount (Results 1 – 25 of 31) sorted by relevance
12
/Linux-v5.4/arch/sh/mm/ |
D | cache.c | 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()
|
D | cache-sh4.c | 244 page_mapcount(page)); in sh4_flush_cache_page()
|
/Linux-v5.4/include/trace/events/ |
D | page_ref.h | 33 __entry->mapcount = page_mapcount(page); 82 __entry->mapcount = page_mapcount(page);
|
/Linux-v5.4/arch/xtensa/mm/ |
D | tlb.c | 243 page_mapcount(p)); in check_tlb_entry() 246 else if (page_mapcount(p)) in check_tlb_entry()
|
/Linux-v5.4/mm/ |
D | memfd.c | 43 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()
|
D | madvise.c | 341 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()
|
D | debug.c | 68 mapcount = PageSlab(page) ? 0 : page_mapcount(page); in __dump_page()
|
D | mlock.c | 137 if (page_mapcount(page) > 1) in __munlock_isolated_page() 252 if (page_mapcount(page) <= 1 && page_evictable(page)) { in __putback_lru_fast_prepare()
|
D | mprotect.c | 89 page_mapcount(page) != 1) in change_pte_range()
|
D | migrate.c | 1554 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()
|
D | khugepaged.c | 675 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()
|
D | ksm.c | 1086 if (page_mapcount(page) + 1 + swapped != page_count(page)) { in write_protect_page() 1648 if (page_mapcount(page) > 1) in stable_tree_search()
|
D | mempolicy.c | 574 (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()
|
D | memory-failure.c | 1036 pfn, page_mapcount(hpage)); in hwpoison_user_mappings()
|
D | rmap.c | 1734 return !page_mapcount(page) ? true : false; in try_to_unmap()
|
D | huge_memory.c | 1723 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/ |
D | init.c | 178 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()
|
D | cache.c | 117 if (page_mapcount(page) && !Page_dcache_dirty(page)) { in __flush_anon_page()
|
/Linux-v5.4/arch/csky/abiv1/ |
D | cacheflush.c | 25 if (mapping && !page_mapcount(page)) in flush_dcache_page()
|
/Linux-v5.4/fs/proc/ |
D | task_mmu.c | 497 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()
|
D | page.c | 54 pcount = page_mapcount(ppage); in kpagecount_read()
|
/Linux-v5.4/arch/arm/mm/ |
D | flush.c | 335 mapping && !page_mapcount(page)) in flush_dcache_page()
|
/Linux-v5.4/arch/arc/mm/ |
D | cache.c | 857 } 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/ |
D | mm.h | 717 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/ |
D | dev.c | 765 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