Home
last modified time | relevance | path

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

/openbmc/linux/drivers/xen/
H A Dxen-balloon.c50 #define PAGES2KB(_p) ((_p)<<(PAGE_SHIFT-10)) macro
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));
158 return sprintf(buf, "%lu\n", PAGES2KB(balloon_stats.target_pages)); in target_kb_show()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dcmm.c40 #define PAGES2KB(_p) ((_p)<<(PAGE_SHIFT-10)) macro
342 CMM_SHOW(loaned_kb, "%lu\n", PAGES2KB(atomic_long_read(&loaned_pages)));
343 CMM_SHOW(loaned_target_kb, "%lu\n", PAGES2KB(loaned_pages_target));
348 return sprintf(buf, "%lu\n", PAGES2KB(oom_freed_pages)); in show_oom_pages()