Searched refs:mi (Results 1 – 4 of 4) sorted by relevance
/system/core/libmeminfo/ |
D | libmeminfo_test.cpp | 456 SysMemInfo mi; in TEST() local 457 ASSERT_TRUE(mi.ReadMemInfo(tf.path)); in TEST() 458 EXPECT_EQ(mi.mem_total_kb(), 3019740); in TEST() 459 EXPECT_EQ(mi.mem_free_kb(), 1809728); in TEST() 460 EXPECT_EQ(mi.mem_buffers_kb(), 54736); in TEST() 461 EXPECT_EQ(mi.mem_cached_kb(), 776052); in TEST() 462 EXPECT_EQ(mi.mem_shmem_kb(), 4020); in TEST() 463 EXPECT_EQ(mi.mem_slab_kb(), 86464); in TEST() 464 EXPECT_EQ(mi.mem_slab_reclaimable_kb(), 44432); in TEST() 465 EXPECT_EQ(mi.mem_slab_unreclaimable_kb(), 42032); in TEST() [all …]
|
/system/libvintf/include/vintf/ |
D | Version.h | 31 constexpr Version(size_t mj, size_t mi) : majorVer(mj), minorVer(mi) {} in Version() 72 constexpr KernelVersion(size_t v, size_t mj, size_t mi) : in KernelVersion() 73 version(v), majorRev(mj), minorRev(mi) {} in KernelVersion()
|
/system/core/lmkd/ |
D | lmkd.c | 1154 static bool meminfo_parse_line(char *line, union meminfo *mi) { in meminfo_parse_line() argument 1175 mi->arr[field_idx] = val / page_k; in meminfo_parse_line() 1180 static int meminfo_parse(union meminfo *mi) { in meminfo_parse() argument 1189 memset(mi, 0, sizeof(union meminfo)); in meminfo_parse() 1197 if (!meminfo_parse_line(line, mi)) { in meminfo_parse() 1202 mi->field.nr_file_pages = mi->field.cached + mi->field.swap_cached + in meminfo_parse() 1203 mi->field.buffers; in meminfo_parse() 1208 static void meminfo_log(union meminfo *mi) { in meminfo_log() argument 1210 android_log_write_int32(ctx, (int32_t)min(mi->arr[field_idx] * page_k, INT32_MAX)); in meminfo_log() 1479 void record_low_pressure_levels(union meminfo *mi) { in record_low_pressure_levels() argument [all …]
|
/system/extras/libfec/ |
D | fec_open.cpp | 55 uint64_t mi = get_appr_size(file_size, roots); in find_offset() local 56 uint64_t lo = file_size - mi * 2; in find_offset() 57 uint64_t hi = file_size - mi / 2; in find_offset() 60 mi = ((hi + lo) / (2 * FEC_BLOCKSIZE)) * FEC_BLOCKSIZE; in find_offset() 61 uint64_t total = mi + get_real_size(mi, roots); in find_offset() 64 lo = mi + FEC_BLOCKSIZE; in find_offset() 66 hi = mi; in find_offset() 68 *offset = mi; in find_offset() 70 mi); in find_offset()
|