Searched refs:maps_count (Results 1 – 1 of 1) sorted by relevance
249 int maps_count, maps_size; in read_maps() local258 maps_count = 0; maps_size = INITIAL_MAPS; in read_maps()273 if (maps_count >= maps_size) { in read_maps()285 maps[maps_count] = map = calloc(1, sizeof(*map)); in read_maps()296 for (; maps_count > 0; maps_count--) in read_maps()297 pm_map_destroy(maps[maps_count]); in read_maps()307 maps_count++; in read_maps()312 new_maps = realloc(maps, maps_count * sizeof(pm_map_t*)); in read_maps()313 if (maps_count && !new_maps) { in read_maps()320 proc->num_maps = maps_count; in read_maps()