Searched refs:newhash (Results 1 – 2 of 2) sorted by relevance
23 GCObject **newhash; in luaS_resize() local28 newhash = luaM_newvector(L, newsize, GCObject *); in luaS_resize()30 for (i=0; i<newsize; i++) newhash[i] = NULL; in luaS_resize()39 p->gch.next = newhash[h1]; /* chain it */ in luaS_resize()40 newhash[h1] = p; in luaS_resize()46 tb->hash = newhash; in luaS_resize()
1002 struct uma_hash newhash; in zone_timeout() local1013 ret = hash_alloc(&newhash, 1 << fls(slabs)); in zone_timeout()1016 if (hash_expand(&keg->uk_hash, &newhash)) { in zone_timeout()1018 keg->uk_hash = newhash; in zone_timeout()1020 oldhash = newhash; in zone_timeout()1084 hash_expand(struct uma_hash *oldhash, struct uma_hash *newhash) in hash_expand() argument1090 if (!newhash->uh_slab_hash) in hash_expand()1093 if (oldhash->uh_hashsize >= newhash->uh_hashsize) in hash_expand()1105 hval = UMA_HASH(newhash, slab->uhs_data); in hash_expand()1106 LIST_INSERT_HEAD(&newhash->uh_slab_hash[hval], in hash_expand()