Searched refs:mem_zram_dev (Results 1 – 2 of 2) sorted by relevance
167 uint64_t mem_zram_dev; in mem_zram_kb() local168 if (!MemZramDevice(zram_dev_abspath.c_str(), &mem_zram_dev)) { in mem_zram_kb()172 mem_zram_total += mem_zram_dev; in mem_zram_kb()178 bool SysMemInfo::MemZramDevice(const char* zram_dev, uint64_t* mem_zram_dev) const { in MemZramDevice()184 if (fscanf(mmstat_fp.get(), "%*" SCNu64 " %*" SCNu64 " %" SCNu64, mem_zram_dev) != 1) { in MemZramDevice()194 *mem_zram_dev = strtoull(content.c_str(), NULL, 10); in MemZramDevice()195 if (*mem_zram_dev == ULLONG_MAX) { in MemZramDevice()
120 bool MemZramDevice(const char* zram_dev, uint64_t* mem_zram_dev) const;