Home
last modified time | relevance | path

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

/system/extras/libpagemap/include/pagemap/
Dpagemap.h45 typedef struct pm_map pm_map_t; typedef
63 pm_map_t **maps;
172 int pm_process_maps(pm_process_t *proc, pm_map_t ***maps_out, size_t *len);
191 int pm_map_pagemap(pm_map_t *map, uint64_t **pagemap_out, size_t *len);
194 int pm_map_usage(pm_map_t *map, pm_memusage_t *usage_out);
198 int pm_map_usage_flags(pm_map_t *map, pm_memusage_t *usage_out,
202 int pm_map_workingset(pm_map_t *map, pm_memusage_t *ws_out);
/system/extras/libpagemap/
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()
85 int pm_map_usage(pm_map_t *map, pm_memusage_t *usage_out) { in pm_map_usage()
89 int pm_map_workingset(pm_map_t *map, pm_memusage_t *ws_out) { in pm_map_workingset()
133 int pm_map_destroy(pm_map_t *map) { in pm_map_destroy()
Dpm_process.c153 int pm_process_maps(pm_process_t *proc, pm_map_t ***maps_out, size_t *len) { in pm_process_maps()
154 pm_map_t **maps; in pm_process_maps()
160 maps = malloc(proc->num_maps * sizeof(pm_map_t*)); in pm_process_maps()
164 memcpy(maps, proc->maps, proc->num_maps * sizeof(pm_map_t*)); in pm_process_maps()
248 pm_map_t *map, **maps, **new_maps; in read_maps()
255 maps = calloc(INITIAL_MAPS, sizeof(pm_map_t*)); in read_maps()
270 new_maps = realloc(maps, 2 * maps_size * sizeof(pm_map_t*)); in read_maps()
307 new_maps = realloc(maps, maps_count * sizeof(pm_map_t*)); in read_maps()
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; 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()