Home
last modified time | relevance | path

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

/system/extras/libpagemap/include/pagemap/
Dpagemap.h75 typedef struct pm_map pm_map_t; typedef
93 pm_map_t **maps;
202 int pm_process_maps(pm_process_t *proc, pm_map_t ***maps_out, size_t *len);
221 int pm_map_pagemap(pm_map_t *map, uint64_t **pagemap_out, size_t *len);
224 int pm_map_usage(pm_map_t *map, pm_memusage_t *usage_out);
228 int pm_map_usage_flags(pm_map_t *map, pm_memusage_t *usage_out,
232 int pm_map_workingset(pm_map_t *map, pm_memusage_t *ws_out);
/system/extras/libpagemap/
Dpm_process.c157 int pm_process_maps(pm_process_t *proc, pm_map_t ***maps_out, size_t *len) { in pm_process_maps()
158 pm_map_t **maps; in pm_process_maps()
164 maps = malloc(proc->num_maps * sizeof(pm_map_t*)); in pm_process_maps()
168 memcpy(maps, proc->maps, proc->num_maps * sizeof(pm_map_t*)); in pm_process_maps()
251 pm_map_t *map, **maps, **new_maps; in read_maps()
258 maps = calloc(INITIAL_MAPS, sizeof(pm_map_t*)); in read_maps()
279 new_maps = realloc(maps, 2 * maps_size * sizeof(pm_map_t*)); in read_maps()
320 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_flags(pm_map_t *map, pm_memusage_t *usage_out, in pm_map_usage_flags()
88 int pm_map_usage(pm_map_t *map, pm_memusage_t *usage_out) { in pm_map_usage()
92 int pm_map_workingset(pm_map_t *map, pm_memusage_t *ws_out) { in pm_map_workingset()
136 int pm_map_destroy(pm_map_t *map) { in pm_map_destroy()
Dpm_map.h22 int pm_map_destroy(pm_map_t *map);
Dpagemap_test.cpp30 pm_map_t** maps; in TEST()
/system/extras/procmem/
Dprocmem.c27 pm_map_t *map;
51 pm_map_t **maps; size_t num_maps; in main()
/system/extras/ksmutils/
Dksminfo.c62 static int read_pages(struct ksm_pages *kp, pm_map_t **maps, size_t num_maps, uint8_t pr_flags);
75 pm_map_t **maps; in main()
190 static int read_pages(struct ksm_pages *kp, pm_map_t **maps, size_t num_maps, uint8_t pr_flags) { in read_pages()
/system/extras/librank/
Dlibrank.c210 pm_map_t **maps; in main()