Home
last modified time | relevance | path

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

/system/memory/libmeminfo/
Dsysmeminfo.cpp177 bool SysMemInfo::MemZramDevice(const char* zram_dev, uint64_t* mem_zram_dev) { in MemZramDevice() argument
178 std::string mmstat = ::android::base::StringPrintf("%s/%s", zram_dev, "mm_stat"); in MemZramDevice()
184 PLOG(ERROR) << "Malformed mm_stat file in: " << zram_dev; in MemZramDevice()
192 ::android::base::StringPrintf("%s/mem_used_total", zram_dev), &content)) { in MemZramDevice()
195 PLOG(ERROR) << "Malformed mem_used_total file for zram dev: " << zram_dev in MemZramDevice()
203 LOG(ERROR) << "Can't find memory status under: " << zram_dev; in MemZramDevice()
/system/memory/libmeminfo/include/meminfo/
Dsysmeminfo.h98 uint64_t mem_zram_kb(const char* zram_dev = nullptr);
102 bool MemZramDevice(const char* zram_dev, uint64_t* mem_zram_dev);