Home
last modified time | relevance | path

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

/linux/arch/x86/xen/
H A Denlighten_pvh.c71 unsigned int i, ram_pages = 0, extra_pages; in pvh_reserve_extra_memory() local
78 ram_pages += PFN_DOWN(e->addr + e->size) - PFN_UP(e->addr); in pvh_reserve_extra_memory()
82 extra_pages = EXTRA_MEM_RATIO * ram_pages; in pvh_reserve_extra_memory()
/linux/mm/
H A Dmm_init.c168 unsigned long ram_pages = totalram_pages(); in mm_compute_batch()
177 memsized_batch = min_t(u64, ram_pages/nr/256, INT_MAX); in mm_compute_batch()
179 memsized_batch = min_t(u64, ram_pages/nr/4, INT_MAX); in mm_compute_batch()
169 unsigned long ram_pages = totalram_pages(); mm_compute_batch() local