Searched refs:balloon_stats (Results 1 – 3 of 3) sorted by relevance
/linux-6.3-rc2/drivers/xen/ |
A D | balloon.c | 149 struct balloon_stats balloon_stats; variable 222 ++balloon_stats.retry_count; in update_schedule() 225 balloon_stats.retry_count > balloon_stats.max_retry_count) { in update_schedule() 234 if (balloon_stats.schedule_delay > balloon_stats.max_schedule_delay) in update_schedule() 235 balloon_stats.schedule_delay = balloon_stats.max_schedule_delay; in update_schedule() 285 credit = balloon_stats.target_pages + balloon_stats.target_unpopulated in reserve_additional_memory() 388 balloon_stats.target_pages = balloon_stats.current_pages + in reserve_additional_memory() 396 return balloon_stats.target_pages - balloon_stats.current_pages; in current_credit() 401 return balloon_stats.balloon_low || balloon_stats.balloon_high; in balloon_is_inflated() 737 balloon_stats.target_pages = balloon_stats.current_pages; in balloon_init() [all …]
|
A D | xen-balloon.c | 97 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 target_kb_show() [all …]
|
/linux-6.3-rc2/include/xen/ |
A D | balloon.h | 10 struct balloon_stats { struct 25 extern struct balloon_stats balloon_stats; argument
|
Completed in 8 milliseconds