Lines Matching defs:mapcount
398 * - supports mapcount up to 2^24, or 16M;
487 * The page_mapcount() is called to get a snapshot of the mapcount.
489 * we cannot always read the mapcount atomically. It is not safe to
492 * as mapcount == 1.
500 int mapcount = page_mapcount(page);
502 if (mapcount >= 2)
503 pss /= mapcount;
505 mapcount < 2);
541 int mapcount;
544 mapcount = swp_swapcount(swpent);
545 if (mapcount >= 2) {
548 do_div(pss_delta, mapcount);