Home
last modified time | relevance | path

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

/Linux-v6.6/include/trace/events/
Dpage_ref.h33 __entry->mapcount = page_mapcount(page);
82 __entry->mapcount = page_mapcount(page);
/Linux-v6.6/arch/xtensa/mm/
Dtlb.c261 page_mapcount(p)); in check_tlb_entry()
264 else if (page_mapcount(p)) in check_tlb_entry()
/Linux-v6.6/mm/
Ddebug.c96 mapcount = PageSlab(head) ? 0 : page_mapcount(page); in __dump_page()
Dkhugepaged.c581 if (page_mapcount(page) > 1) { in __collapse_huge_page_isolate()
1326 if (page_mapcount(page) > 1) { in hpage_collapse_scan_pmd()
2280 1 + page_mapcount(page) + page_has_private(page)) { in hpage_collapse_scan_file()
Dmigrate_device.c347 if ((page_count(page) - extra) > page_mapcount(page)) in migrate_vma_check_page()
Dmigrate.c2093 if (page_mapcount(page) > 1 && !migrate_all) in add_page_for_migration()
2553 if (page_mapcount(page) != 1 && page_is_file_lru(page) && in migrate_misplaced_page()
Dksm.c1146 if (page_mapcount(page) + 1 + swapped != page_count(page)) { in write_protect_page()
1728 if (page_mapcount(page) > 1) in stable_tree_search()
Dmemory-failure.c1628 pfn, page_mapcount(hpage)); in hwpoison_user_mappings()
Dmemory.c1457 if (unlikely(page_mapcount(page) < 0)) in zap_pte_range()
4797 if (page_mapcount(page) > 1 && (vma->vm_flags & VM_SHARED)) in do_numa_page()
Dhuge_memory.c1694 VM_BUG_ON_PAGE(page_mapcount(page) < 0, page); in zap_huge_pmd()
Dfilemap.c164 int mapcount = page_mapcount(&folio->page); in filemap_unaccount_folio()
/Linux-v6.6/fs/proc/
Dtask_mmu.c486 int mapcount = page_mapcount(page); in smaps_account()
738 if (page_mapcount(page) >= 2 || hugetlb_pmd_shared(pte)) in smaps_hugetlb_range()
1451 if (page && !migration && page_mapcount(page) == 1) in pte_to_pagemap_entry()
1517 if (page && !migration && page_mapcount(page) == 1) in pagemap_pmd_range()
1584 if (page_mapcount(page) == 1) in pagemap_hugetlb_range()
1793 int count = page_mapcount(page); in gather_stats()
Dpage.c73 pcount = page_mapcount(ppage); in kpagecount_read()
/Linux-v6.6/arch/sh/mm/
Dcache-sh4.c250 page_mapcount(page)); in sh4_flush_cache_page()
Dcache.c87 if (boot_cpu_data.dcache.n_aliases && page_mapcount(page) && in copy_from_user_page()
/Linux-v6.6/arch/s390/kernel/
Duv.c193 res = page_mapcount(page); in expected_page_refs()
/Linux-v6.6/arch/arc/mm/
Dcache.c982 if (page_mapcount(from) && addr_not_cache_congruent(kfrom, u_vaddr)) { in copy_user_highpage()
/Linux-v6.6/include/linux/
Dmm.h1191 static inline int page_mapcount(struct page *page) in page_mapcount() function
2139 return page_mapcount(folio_page(folio, 0)); in folio_estimated_sharers()
/Linux-v6.6/Documentation/admin-guide/cgroup-v1/
Dmemory.rst805 | | page_mapcount(page) > 1). You must enable Swap Extension (see 2.4) to |