Home
last modified time | relevance | path

Searched refs:total_mapcount (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/mm/
H A Dmemfd.c47 page_count(page) - total_mapcount(page) != cache_count) in memfd_tag_pins()
106 page_count(page) - total_mapcount(page)) { in memfd_wait_for_pins()
H A Dhuge_memory.c1601 if (total_mapcount(page) != 1) in madvise_free_huge_pmd()
2533 int total_mapcount(struct page *page) in total_mapcount() function
2562 * copying them. At the same time this returns the total_mapcount too.
2569 * The total_mapcount is instead counting all virtual mappings of the
2570 * subpages. If the total_mapcount is equal to "one", it tells the
2581 int page_trans_huge_mapcount(struct page *page, int *total_mapcount) in page_trans_huge_mapcount() argument
2590 if (total_mapcount) in page_trans_huge_mapcount()
2591 *total_mapcount = mapcount; in page_trans_huge_mapcount()
2610 if (total_mapcount) in page_trans_huge_mapcount()
2611 *total_mapcount in page_trans_huge_mapcount()
[all...]
H A Dswapfile.c1647 static int page_trans_huge_map_swapcount(struct page *page, int *total_mapcount, in page_trans_huge_map_swapcount() argument
1661 mapcount = page_trans_huge_mapcount(page, total_mapcount); in page_trans_huge_map_swapcount()
1701 if (total_mapcount) in page_trans_huge_map_swapcount()
1702 *total_mapcount = _total_mapcount; in page_trans_huge_map_swapcount()
1721 int count, total_mapcount, total_swapcount; in reuse_swap_page() local
1726 count = page_trans_huge_map_swapcount(page, &total_mapcount, in reuse_swap_page()
1729 *total_map_swapcount = total_mapcount + total_swapcount; in reuse_swap_page()
H A Drmap.c869 .mapcount = total_mapcount(page), in page_referenced()
H A Dkhugepaged.c591 expected_refcount = total_mapcount(page); in is_refcount_suitable()
1353 * khugepaged may see total_mapcount > refcount. in khugepaged_scan_pmd()
/kernel/linux/linux-6.6/mm/
H A Dmemfd.c48 page_count(page) - total_mapcount(page) != cache_count) in memfd_tag_pins()
107 page_count(page) - total_mapcount(page)) { in memfd_wait_for_pins()
H A Dmigrate.c2512 if (PageTransHuge(page) && total_mapcount(page) > 1) in numamigrate_isolate_page()
H A Dkhugepaged.c531 expected_refcount = total_mapcount(page); in is_refcount_suitable()
1367 * it may see total_mapcount > refcount in some cases? in hpage_collapse_scan_pmd()
/kernel/linux/linux-5.10/include/linux/
H A Dmm.h871 int total_mapcount(struct page *page);
872 int page_trans_huge_mapcount(struct page *page, int *total_mapcount);
874 static inline int total_mapcount(struct page *page) in total_mapcount() function
879 int *total_mapcount) in page_trans_huge_mapcount()
882 if (total_mapcount) in page_trans_huge_mapcount()
883 *total_mapcount = mapcount; in page_trans_huge_mapcount()
878 page_trans_huge_mapcount(struct page *page, int *total_mapcount) page_trans_huge_mapcount() argument
/kernel/linux/linux-6.6/include/linux/
H A Dmm.h1187 * at folio_mapcount() or page_mapcount() or total_mapcount() instead.
1247 static inline int total_mapcount(struct page *page) in total_mapcount() function

Completed in 30 milliseconds