Searched refs:maps (Results 1 - 5 of 5) sorted by relevance
/system/extras/libpagemap/ |
H A D | pm_process.c | 83 error = pm_map_usage(proc->maps[i], &map_usage); 138 pm_map_t **maps; local 144 maps = malloc(proc->num_maps * sizeof(pm_map_t*)); 145 if (!maps) 148 memcpy(maps, proc->maps, proc->num_maps * sizeof(pm_map_t*)); 150 *maps_out = maps; 173 error = pm_map_workingset(proc->maps[i], &map_ws); 205 free(proc->maps); 227 pm_map_t *map, **maps, **new_map local [all...] |
/system/core/toolbox/ |
H A D | lsof.c | 101 FILE *maps; local 110 strncat(info->path, "maps", sizeof(info->path)); 112 maps = fopen(info->path, "r"); 113 if (!maps) 116 while (fscanf(maps, "%*x-%*x %*s %zx %5s %ld %s\n", &offset, device, &inode, 118 // We don't care about non-file maps 127 fclose(maps);
|
/system/extras/librank/ |
H A D | librank.c | 177 pm_map_t **maps; local 240 error = pm_process_maps(proc, &maps, &num_maps); 242 fprintf(stderr, "Error listing maps for process %d.\n", proc->pid); 247 if (prefix && (strncmp(pm_map_name(maps[j]), prefix, prefix_len))) 250 li = get_library(pm_map_name(maps[j])); 256 error = pm_map_usage(maps[j], &map_usage); 260 pm_map_name(maps[j]), proc->pid);
|
/system/extras/procmem/ |
H A D | procmem.c | 38 /* qsort compare function to compare maps by PSS */ 49 /* maps and such */ 50 pm_map_t **maps; int num_maps; local 127 /* get maps, and allocate our map_info array */ 128 error = pm_process_maps(proc, &maps, &num_maps); 130 fprintf(stderr, "error listing maps.\n"); 164 mi->map = maps[i]; 309 " -h Hide maps with no RSS.\n",
|
/system/extras/libpagemap/include/pagemap/ |
H A D | pagemap.h | 59 pm_map_t **maps; member in struct:pm_process 141 /* Get the maps in the virtual address space of this process. 142 * Returns an array of pointers to pm_map_t through *maps. 143 * The array should be freed by the caller, but the maps should not be
|
Completed in 690 milliseconds