Home
last modified time | relevance | path

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

/linux/drivers/hv/
H A Dhv_balloon.c1068 #define MB2PAGES(mb) ((mb) << (20 - PAGE_SHIFT)) in compute_balloon_floor() macro
1080 if (nr_pages < MB2PAGES(128)) in compute_balloon_floor()
1081 min_pages = MB2PAGES(8) + (nr_pages >> 1); in compute_balloon_floor()
1082 else if (nr_pages < MB2PAGES(512)) in compute_balloon_floor()
1083 min_pages = MB2PAGES(40) + (nr_pages >> 2); in compute_balloon_floor()
1084 else if (nr_pages < MB2PAGES(2048)) in compute_balloon_floor()
1085 min_pages = MB2PAGES(104) + (nr_pages >> 3); in compute_balloon_floor()
1086 else if (nr_pages < MB2PAGES(8192)) in compute_balloon_floor()
1087 min_pages = MB2PAGES(232) + (nr_pages >> 4); in compute_balloon_floor()
1089 min_pages = MB2PAGES(488) + (nr_pages >> 5); in compute_balloon_floor()
[all …]