Searched refs:PAGES2KB (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/xen/ |
D | xen-balloon.c | 49 #define PAGES2KB(_p) ((_p)<<(PAGE_SHIFT-10)) macro 133 BALLOON_SHOW(current_kb, "%lu\n", PAGES2KB(balloon_stats.current_pages)); 134 BALLOON_SHOW(low_kb, "%lu\n", PAGES2KB(balloon_stats.balloon_low)); 135 BALLOON_SHOW(high_kb, "%lu\n", PAGES2KB(balloon_stats.balloon_high)); 146 return sprintf(buf, "%lu\n", PAGES2KB(balloon_stats.target_pages)); in show_target_kb()
|
/Linux-v4.19/arch/powerpc/platforms/pseries/ |
D | cmm.c | 54 #define PAGES2KB(_p) ((_p)<<(PAGE_SHIFT-10)) macro 390 CMM_SHOW(loaned_kb, "%lu\n", PAGES2KB(loaned_pages)); 391 CMM_SHOW(loaned_target_kb, "%lu\n", PAGES2KB(loaned_pages_target)); 396 return sprintf(buf, "%lu\n", PAGES2KB(oom_freed_pages)); in show_oom_pages()
|