Lines Matching refs:table
49 static void grow_table(struct thread_table *table)
51 size_t size = table->allocated;
58 new_table = realloc(table->data, size * sizeof(*table->data));
63 table->data = new_table;
64 table->allocated = size;
67 static struct thread_info *get_item(struct thread_table *table)
69 if (table->active >= table->allocated)
70 grow_table(table);
71 return table->data + table->active;
74 static void commit_item(struct thread_table *table)
76 table->active++;