Searched refs:mi (Results 1 – 5 of 5) sorted by relevance
/system/extras/procmem/ |
D | procmem.c | 54 struct map_info *mi; in main() local 159 mi = (struct map_info *)calloc(1, sizeof(struct map_info)); in main() 160 if (!mi) { in main() 165 mi->map = maps[i]; in main() 170 error = pm_map_workingset(mi->map, &mi->usage); in main() 172 error = pm_map_usage(mi->map, &mi->usage); in main() 179 pm_memusage_add(&total_usage, &mi->usage); in main() 183 error = pm_map_pagemap(mi->map, &pagemap, &num_pages); in main() 190 mi->shared_clean = mi->shared_dirty = mi->private_clean = mi->private_dirty = 0; in main() 193 address = pm_map_start(mi->map) + j * ker->pagesize; in main() [all …]
|
/system/extras/showmap/ |
D | showmap.cpp | 43 static int parse_header(const char* line, const mapinfo* prev, mapinfo** mi) { in parse_header() argument 51 *mi = NULL; in parse_header() 86 *mi = info; in parse_header() 90 static int parse_field(mapinfo* mi, const char* line) { in parse_field() argument 99 mi->size = size; in parse_field() 101 mi->rss = size; in parse_field() 103 mi->pss = size; in parse_field() 105 mi->shared_clean = size; in parse_field() 107 mi->shared_dirty = size; in parse_field() 109 mi->private_clean = size; in parse_field() [all …]
|
/system/extras/librank/ |
D | librank.c | 215 struct mapping_info *mi, **mis; in main() local 360 mi = get_mapping(li, pi); in main() 375 pm_memusage_add(&mi->usage, &map_usage); in main() 404 mi = li->mappings[j]; in main() 405 pi = mi->proc; in main() 407 mi->usage.vss / 1024, in main() 408 mi->usage.rss / 1024, in main() 409 mi->usage.pss / 1024, in main() 410 mi->usage.uss / 1024); in main() 412 printf("%6zdK ", mi->usage.swap / 1024); in main()
|
/system/extras/libfec/ |
D | fec_open.cpp | 57 uint64_t mi = get_appr_size(file_size, roots); in find_offset() local 58 uint64_t lo = file_size - mi * 2; in find_offset() 59 uint64_t hi = file_size - mi / 2; in find_offset() 62 mi = ((hi + lo) / (2 * FEC_BLOCKSIZE)) * FEC_BLOCKSIZE; in find_offset() 63 uint64_t total = mi + get_real_size(mi, roots); in find_offset() 66 lo = mi + FEC_BLOCKSIZE; in find_offset() 68 hi = mi; in find_offset() 70 *offset = mi; in find_offset() 72 mi); in find_offset()
|
/system/core/lmkd/ |
D | lmkd.c | 635 struct sysmeminfo mi; in mp_event() local 649 while (zoneinfo_parse(&mi) < 0) { in mp_event() 654 other_free = mi.nr_free_pages - mi.totalreserve_pages; in mp_event() 655 other_file = mi.nr_file_pages - mi.nr_shmem; in mp_event()
|