Searched refs:ram_pages (Results 1 – 3 of 3) sorted by relevance
71 unsigned int i, ram_pages = 0, extra_pages; in pvh_reserve_extra_memory() local78 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()
169 unsigned long ram_pages = totalram_pages(); in mm_compute_batch() local178 memsized_batch = min_t(u64, ram_pages/nr/256, INT_MAX); in mm_compute_batch()180 memsized_batch = min_t(u64, ram_pages/nr/4, INT_MAX); in mm_compute_batch()
1153 unsigned long ram_pages = 0; in kvm_s390_vm_start_migration() local1178 ram_pages += ms->npages; in kvm_s390_vm_start_migration()1180 atomic64_set(&kvm->arch.cmma_dirty_pages, ram_pages); in kvm_s390_vm_start_migration()