Searched refs:maps_count (Results 1 – 1 of 1) sorted by relevance
252 int maps_count, maps_size; in read_maps() local261 maps_count = 0; maps_size = INITIAL_MAPS; in read_maps()278 if (maps_count >= maps_size) { in read_maps()291 maps[maps_count] = map = calloc(1, sizeof(*map)); in read_maps()302 for (; maps_count > 0; maps_count--) in read_maps()303 pm_map_destroy(maps[maps_count]); in read_maps()314 maps_count++; in read_maps()320 new_maps = realloc(maps, maps_count * sizeof(pm_map_t*)); in read_maps()321 if (maps_count && !new_maps) { in read_maps()328 proc->num_maps = maps_count; in read_maps()