Lines Matching refs:newa
118 bin_split(struct lruhash* table, struct lruhash_bin* newa, in bin_split() argument
137 lock_quick_lock(&newa[i].lock); in bin_split()
138 lock_quick_lock(&newa[newbit|i].lock); in bin_split()
142 newbin = &newa[p->hash & newmask]; in bin_split()
147 lock_quick_unlock(&newa[i].lock); in bin_split()
148 lock_quick_unlock(&newa[newbit|i].lock); in bin_split()
238 struct lruhash_bin* newa; in table_grow() local
246 newa = calloc(table->size*2, sizeof(struct lruhash_bin)); in table_grow()
247 if(!newa) { in table_grow()
252 bin_init(newa, table->size*2); in table_grow()
254 bin_split(table, newa, newmask); in table_grow()
264 table->array = newa; in table_grow()