Searched refs:KB_PER_MB (Results 1 – 6 of 6) sorted by relevance
91 purgeable *= KB_PER_MB; in ParseConfig()92 moderate *= KB_PER_MB; in ParseConfig()93 low *= KB_PER_MB; in ParseConfig()94 critical *= KB_PER_MB; in ParseConfig()
92 if ((memoryMB * KB_PER_MB) > UINT_MAX) { in ParseKillLevelNode()96 unsigned int memoryKB = memoryMB * KB_PER_MB; /* MB to KB */ in ParseKillLevelNode()
135 const int KB_PER_MB = 1024; variable138 const int HM_MAX_BUFFER_SIZE = 1024 * KB_PER_MB; // 1024 MB320 …oleLog("error: buffer size must be from 256 KB to " + std::to_string(maxBufferSizeKB / KB_PER_MB) + in ParseLongOpt()406 …oleLog("error: buffer size must be from 256 KB to " + std::to_string(maxBufferSizeKB / KB_PER_MB) + in ParseOpt()
30 #define KB_PER_MB 1024 macro
81 const int KB_PER_MB = 1024; variable731 int fileSizeThreshold = DEFAULT_FILE_SIZE * KB_PER_MB; in WriteFile()733 fileSizeThreshold = std::stoi(g_currentTraceParams.fileSize) * KB_PER_MB; in WriteFile()997 int fileSizeThreshold = DEFAULT_FILE_SIZE * KB_PER_MB; in DumpTraceLoop()999 fileSizeThreshold = std::stoi(g_currentTraceParams.fileSize) * KB_PER_MB; in DumpTraceLoop()
366 return atoi(result[ZWAPD_PRESSURE_SHOW_BUFFER_SIZE].c_str()) * KB_PER_MB; in GetCurrentBuffer()