Searched refs:mem_zram_dev (Results 1 – 2 of 2) sorted by relevance
198 uint64_t mem_zram_dev; in mem_zram_kb() local199 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() argument215 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()
82 bool MemZramDevice(const std::string& zram_dev, uint64_t* mem_zram_dev);