Home
last modified time | relevance | path

Searched refs:pm_map_t (Results 1 – 6 of 6) sorted by relevance

/system/extras/libpagemap/include/pagemap/
Dpagemap.h41 typedef struct pm_map pm_map_t; typedef
59 pm_map_t **maps;
145 int pm_process_maps(pm_process_t *proc, pm_map_t ***maps_out, size_t *len);
163 int pm_map_pagemap(pm_map_t *map, uint64_t **pagemap_out, size_t *len);
166 int pm_map_usage(pm_map_t *map, pm_memusage_t *usage_out);
169 int pm_map_workingset(pm_map_t *map, pm_memusage_t *ws_out);
/system/extras/libpagemap/
Dpm_process.c131 int pm_process_maps(pm_process_t *proc, pm_map_t ***maps_out, size_t *len) { in pm_process_maps()
132 pm_map_t **maps; in pm_process_maps()
138 maps = malloc(proc->num_maps * sizeof(pm_map_t*)); in pm_process_maps()
142 memcpy(maps, proc->maps, proc->num_maps * sizeof(pm_map_t*)); in pm_process_maps()
221 pm_map_t *map, **maps, **new_maps; in read_maps()
228 maps = calloc(INITIAL_MAPS, sizeof(pm_map_t*)); in read_maps()
243 new_maps = realloc(maps, 2 * maps_size * sizeof(pm_map_t*)); in read_maps()
279 new_maps = realloc(maps, maps_count * sizeof(pm_map_t*)); in read_maps()
Dpm_map.c22 int pm_map_pagemap(pm_map_t *map, uint64_t **pagemap_out, size_t *len) { in pm_map_pagemap()
30 int pm_map_usage(pm_map_t *map, pm_memusage_t *usage_out) { in pm_map_usage()
70 int pm_map_workingset(pm_map_t *map, pm_memusage_t *ws_out) { in pm_map_workingset()
117 int pm_map_destroy(pm_map_t *map) { in pm_map_destroy()
Dpm_map.h22 int pm_map_destroy(pm_map_t *map);
/system/extras/procmem/
Dprocmem.c26 pm_map_t *map;
50 pm_map_t **maps; int num_maps; in main()
/system/extras/librank/
Dlibrank.c177 pm_map_t **maps; in main()