Lines Matching refs:mem
59 static void get_mem_info(uint64_t mem[], const char* file) { in get_mem_info() argument
86 memset(mem, 0, sizeof(uint64_t) * 15); in get_mem_info()
102 mem[i] = atoll(num); in get_mem_info()
164 uint64_t mem[MEMINFO_COUNT]; in BM_ReadMemInfo_old() local
166 get_mem_info(mem, tf.path); in BM_ReadMemInfo_old()
221 std::vector<uint64_t> mem(MEMINFO_COUNT); in BM_ReadMemInfo_new() local
232 smi.ReadMemInfo(tags, &mem, file); in BM_ReadMemInfo_new()
334 uint64_t mem[MEMINFO_COUNT]; in BM_MemInfoWithZram_old() local
336 get_mem_info(mem, tf.path); in BM_MemInfoWithZram_old()
337 mem[MEMINFO_ZRAM_TOTAL] = get_zram_mem_used("/sys/block/zram0/") / 1024; in BM_MemInfoWithZram_old()
338 CHECK_EQ(mem[MEMINFO_KERNEL_STACK], 4880u); in BM_MemInfoWithZram_old()
393 std::vector<uint64_t> mem(MEMINFO_COUNT); in BM_MemInfoWithZram_new() local
400 smi.ReadMemInfo(tags, &mem, file); in BM_MemInfoWithZram_new()
401 CHECK_EQ(mem[MEMINFO_KERNEL_STACK], 4880u); in BM_MemInfoWithZram_new()