Lines Matching refs:uh_slab_hash
1252 alloc = sizeof(hash->uh_slab_hash[0]) * hash->uh_hashsize; in hash_alloc()
1253 hash->uh_slab_hash = malloc(alloc, M_UMAHASH, M_NOWAIT); in hash_alloc()
1255 alloc = sizeof(hash->uh_slab_hash[0]) * UMA_HASH_SIZE_INIT; in hash_alloc()
1256 hash->uh_slab_hash = zone_alloc_item(hashzone, NULL, in hash_alloc()
1260 if (hash->uh_slab_hash) { in hash_alloc()
1261 bzero(hash->uh_slab_hash, alloc); in hash_alloc()
1290 if (!newhash->uh_slab_hash) in hash_expand()
1302 while (!LIST_EMPTY(&oldhash->uh_slab_hash[idx])) { in hash_expand()
1303 slab = LIST_FIRST(&oldhash->uh_slab_hash[idx]); in hash_expand()
1306 LIST_INSERT_HEAD(&newhash->uh_slab_hash[hval], in hash_expand()
1326 if (hash->uh_slab_hash == NULL) in hash_free()
1329 zone_free_item(hashzone, hash->uh_slab_hash, NULL, SKIP_NONE); in hash_free()
1331 free(hash->uh_slab_hash, M_UMAHASH); in hash_free()