Lines Matching refs:MB2PAGES
970 #define MB2PAGES(mb) ((mb) << (20 - PAGE_SHIFT)) in compute_balloon_floor() macro
982 if (totalram_pages < MB2PAGES(128)) in compute_balloon_floor()
983 min_pages = MB2PAGES(8) + (totalram_pages >> 1); in compute_balloon_floor()
984 else if (totalram_pages < MB2PAGES(512)) in compute_balloon_floor()
985 min_pages = MB2PAGES(40) + (totalram_pages >> 2); in compute_balloon_floor()
986 else if (totalram_pages < MB2PAGES(2048)) in compute_balloon_floor()
987 min_pages = MB2PAGES(104) + (totalram_pages >> 3); in compute_balloon_floor()
988 else if (totalram_pages < MB2PAGES(8192)) in compute_balloon_floor()
989 min_pages = MB2PAGES(232) + (totalram_pages >> 4); in compute_balloon_floor()
991 min_pages = MB2PAGES(488) + (totalram_pages >> 5); in compute_balloon_floor()
992 #undef MB2PAGES in compute_balloon_floor()