Home | History | Annotate | Download | only in libpagemap

Lines Matching full:maps_count

252     int maps_count, maps_size;
261 maps_count = 0; maps_size = INITIAL_MAPS;
278 if (maps_count >= maps_size) {
291 maps[maps_count] = map = calloc(1, sizeof(*map));
302 for (; maps_count > 0; maps_count--)
303 pm_map_destroy(maps[maps_count]);
314 maps_count++;
320 new_maps = realloc(maps, maps_count * sizeof(pm_map_t*));
321 if (maps_count && !new_maps) {
328 proc->num_maps = maps_count;