Searched refs:zram_dev (Results 1 – 2 of 2) sorted by relevance
/system/memory/libmeminfo/ |
D | sysmeminfo.cpp | 177 bool SysMemInfo::MemZramDevice(const char* zram_dev, uint64_t* mem_zram_dev) const { 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() 240 bool SysMemInfo::GetTotalMemCompacted(const char* zram_dev, uint64_t* out_mem_compacted) { in GetTotalMemCompacted() argument 241 std::string mmstat = ::android::base::StringPrintf("%s/%s", zram_dev, "mm_stat"); in GetTotalMemCompacted() 249 PLOG(ERROR) << "Malformed mm_stat file in: " << zram_dev; in GetTotalMemCompacted()
|
/system/memory/libmeminfo/include/meminfo/ |
D | sysmeminfo.h | 115 uint64_t mem_zram_kb(const char* zram_dev = nullptr) const; 116 uint64_t mem_compacted_kb(const char* zram_dev = nullptr); 120 bool MemZramDevice(const char* zram_dev, uint64_t* mem_zram_dev) const; 121 bool GetTotalMemCompacted(const char* zram_dev, uint64_t* out_mem_compacted);
|