Searched refs:PAGES2KB (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/xen/ |
D | xen-balloon.c | 50 #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-6.1.9/arch/powerpc/platforms/pseries/ |
D | cmm.c | 40 #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()
|