Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/hv/
Dhv_balloon.c1090 #define MB2PAGES(mb) ((mb) << (20 - PAGE_SHIFT)) in compute_balloon_floor() macro
1102 if (nr_pages < MB2PAGES(128)) in compute_balloon_floor()
1103 min_pages = MB2PAGES(8) + (nr_pages >> 1); in compute_balloon_floor()
1104 else if (nr_pages < MB2PAGES(512)) in compute_balloon_floor()
1105 min_pages = MB2PAGES(40) + (nr_pages >> 2); in compute_balloon_floor()
1106 else if (nr_pages < MB2PAGES(2048)) in compute_balloon_floor()
1107 min_pages = MB2PAGES(104) + (nr_pages >> 3); in compute_balloon_floor()
1108 else if (nr_pages < MB2PAGES(8192)) in compute_balloon_floor()
1109 min_pages = MB2PAGES(232) + (nr_pages >> 4); in compute_balloon_floor()
1111 min_pages = MB2PAGES(488) + (nr_pages >> 5); in compute_balloon_floor()
[all …]