Lines Matching refs:maps_count
249 int maps_count, maps_size;
258 maps_count = 0; maps_size = INITIAL_MAPS;
273 if (maps_count >= maps_size) {
285 maps[maps_count] = map = calloc(1, sizeof(*map));
296 for (; maps_count > 0; maps_count--)
297 pm_map_destroy(maps[maps_count]);
307 maps_count++;
312 new_maps = realloc(maps, maps_count * sizeof(pm_map_t*));
313 if (maps_count && !new_maps) {
320 proc->num_maps = maps_count;