Searched refs:kMegabyte (Results 1 – 5 of 5) sorted by relevance
317 if (regionsize_ < 512 * kMegabyte) in FindRegion()318 regionsize_ = 512 * kMegabyte; in FindRegion()421 int64 hugepagesize = FindHugePages() * 2 * kMegabyte; in FindFreeMemSize()443 if (physsize < 2048LL * kMegabyte) { in FindFreeMemSize()446 minsize = ((pages * 95) / 100) * pagesize - (192 * kMegabyte); in FindFreeMemSize()451 int64 reserve_kb = reserve_mb_ * kMegabyte; in FindFreeMemSize()468 hugepagesize / kMegabyte, in FindFreeMemSize()469 minsize / kMegabyte); in FindFreeMemSize()483 physsize / kMegabyte, in FindFreeMemSize()484 avphyssize / kMegabyte, in FindFreeMemSize()[all …]
156 size_mb_ = os_->FindFreeMemSize() / kMegabyte; in CheckEnvironment()157 size_ = static_cast<int64>(size_mb_) * kMegabyte; in CheckEnvironment()197 size_ = size_mb_ * kMegabyte; in CheckEnvironment()589 os_->SetMinimumHugepagesSize(min_hugepages_mbytes_ * kMegabyte); in Initialize()629 static_cast<int>(size_/kMegabyte), in Initialize()668 size_ = size_mb_ * kMegabyte; in Sat()1014 size_ = static_cast<int64>(size_mb_) * kMegabyte; in ParseArgs()
239 static const int kMegabyte = (1024LL*1024LL); variable
678 blocks_read_ * read_block_size_) / kMegabyte;} in GetDeviceCopiedData()
874 return pages_copied_ * sat_->page_length() / kMegabyte; in GetCopiedData()