Lines Matching defs:mapcount
770 * - supports mapcount up to 2^24, or 16M;
839 int mapcount;
868 * Treat all non-present entries (where relying on the mapcount and
872 * Note that it would not be safe to read the mapcount especially for
882 mapcount = folio_average_page_mapcount(folio);
887 * We obtain a snapshot of the mapcount. Without holding the folio lock
889 * mapcount atomically.
895 mapcount = folio_precise_page_mapcount(folio, page);
896 exclusive = mapcount < 2;
899 if (mapcount >= 2)
900 pss /= mapcount;
952 int mapcount;
955 mapcount = swp_swapcount(swpent);
956 if (mapcount >= 2) {
959 do_div(pss_delta, mapcount);