Searched refs:PAGES2KB (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/drivers/xen/ |
D | xen-balloon.c | 46 #define PAGES2KB(_p) ((_p)<<(PAGE_SHIFT-10)) macro 129 BALLOON_SHOW(current_kb, "%lu\n", PAGES2KB(balloon_stats.current_pages)); 130 BALLOON_SHOW(low_kb, "%lu\n", PAGES2KB(balloon_stats.balloon_low)); 131 BALLOON_SHOW(high_kb, "%lu\n", PAGES2KB(balloon_stats.balloon_high)); 141 return sprintf(buf, "%lu\n", PAGES2KB(balloon_stats.target_pages)); in show_target_kb()
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
D | cmm.c | 52 #define PAGES2KB(_p) ((_p)<<(PAGE_SHIFT-10)) macro 356 CMM_SHOW(loaned_kb, "%lu\n", PAGES2KB(loaned_pages)); 357 CMM_SHOW(loaned_target_kb, "%lu\n", PAGES2KB(loaned_pages_target)); 362 return sprintf(buf, "%lu\n", PAGES2KB(oom_freed_pages)); in show_oom_pages()
|