Lines Matching refs:bs
79 #define bs balloon_stats
86 &bs.current_pages, 0, "Current allocation");
88 &bs.target_pages, 0, "Target allocation");
90 &bs.driver_pages, 0, "Driver pages");
92 &bs.hard_limit, 0, "Xen hard limit");
94 &bs.balloon_low, 0, "Low-mem balloon");
96 &bs.balloon_high, 0, "High-mem balloon");
112 unsigned long target = min(bs.target_pages, bs.hard_limit);
113 if (target > (bs.current_pages + bs.balloon_low + bs.balloon_high))
114 target = bs.current_pages + bs.balloon_low + bs.balloon_high;
189 bs.hard_limit = (bs.current_pages + rc -
190 bs.driver_pages);
198 bs.balloon_low--;
206 bs.current_pages += nr_pages;
253 bs.balloon_low++;
261 bs.current_pages -= nr_pages;
283 credit = current_target() - bs.current_pages;
292 if (current_target() != bs.current_pages)
308 bs.hard_limit = ~0UL;
309 bs.target_pages = max(target, minimum_target());
388 bs.current_pages = realmem;
389 bs.target_pages = bs.current_pages;
390 bs.balloon_low = 0;
391 bs.balloon_high = 0;
392 bs.driver_pages = 0UL;
393 bs.hard_limit = ~0UL;