Home
last modified time | relevance | path

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

/system/core/libmeminfo/
Dsysmeminfo.cpp198 uint64_t mem_zram_dev; in mem_zram_kb() local
199 if (!MemZramDevice(zram_dev, &mem_zram_dev)) { in mem_zram_kb()
203 mem_zram_total += mem_zram_dev; in mem_zram_kb()
209 bool SysMemInfo::MemZramDevice(const std::string& zram_dev, uint64_t* mem_zram_dev) { in MemZramDevice() argument
215 if (fscanf(mmstat_fp.get(), "%*" SCNu64 " %*" SCNu64 " %" SCNu64, mem_zram_dev) != 1) { in MemZramDevice()
224 *mem_zram_dev = strtoull(content.c_str(), NULL, 10); in MemZramDevice()
225 if (*mem_zram_dev == ULLONG_MAX) { in MemZramDevice()
/system/core/libmeminfo/include/meminfo/
Dsysmeminfo.h82 bool MemZramDevice(const std::string& zram_dev, uint64_t* mem_zram_dev);