Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/xen/
H A Dballoon.c147 struct balloon_stats balloon_stats; variable
148 EXPORT_SYMBOL_GPL(balloon_stats);
171 balloon_stats.balloon_high++; in balloon_append()
174 balloon_stats.balloon_low++; in balloon_append()
193 balloon_stats.balloon_high--; in balloon_retrieve()
195 balloon_stats.balloon_low--; in balloon_retrieve()
215 balloon_stats.schedule_delay = 1; in update_schedule()
216 balloon_stats.retry_count = 1; in update_schedule()
220 ++balloon_stats.retry_count; in update_schedule()
222 if (balloon_stats.max_retry_count != RETRY_UNLIMITED && in update_schedule()
[all …]
H A Dxen-balloon.c97 static_max = balloon_stats.current_pages; in watch_target()
100 : static_max - balloon_stats.target_pages; in watch_target()
145 BALLOON_SHOW(current_kb, "%lu\n", PAGES2KB(balloon_stats.current_pages));
146 BALLOON_SHOW(low_kb, "%lu\n", PAGES2KB(balloon_stats.balloon_low));
147 BALLOON_SHOW(high_kb, "%lu\n", PAGES2KB(balloon_stats.balloon_high));
149 static DEVICE_ULONG_ATTR(schedule_delay, 0444, balloon_stats.schedule_delay);
150 static DEVICE_ULONG_ATTR(max_schedule_delay, 0644, balloon_stats.max_schedule_delay);
151 static DEVICE_ULONG_ATTR(retry_count, 0444, balloon_stats.retry_count);
152 static DEVICE_ULONG_ATTR(max_retry_count, 0644, balloon_stats.max_retry_count);
158 return sprintf(buf, "%lu\n", PAGES2KB(balloon_stats.target_pages)); in show_target_kb()
[all …]
/OK3568_Linux_fs/kernel/include/xen/
H A Dballoon.h10 struct balloon_stats { struct
25 extern struct balloon_stats balloon_stats; argument