Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/xen/
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()
/linux-5.19.10/arch/powerpc/platforms/pseries/
Dcmm.c43 #define PAGES2KB(_p) ((_p)<<(PAGE_SHIFT-10)) macro
345 CMM_SHOW(loaned_kb, "%lu\n", PAGES2KB(atomic_long_read(&loaned_pages)));
346 CMM_SHOW(loaned_target_kb, "%lu\n", PAGES2KB(loaned_pages_target));
351 return sprintf(buf, "%lu\n", PAGES2KB(oom_freed_pages)); in show_oom_pages()