Home
last modified time | relevance | path

Searched refs:uh_slab_hash (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/vm/
H A Duma_int.h210 LIST_INSERT_HEAD(&(h)->uh_slab_hash[UMA_HASH((h), \
219 struct slabhashhead *uh_slab_hash; /* Hash table for slabs */ member
611 LIST_FOREACH(slab, &hash->uh_slab_hash[hval], uhs_hlink) { in hash_sfind()
H A Duma_core.c1252 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()
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()
[all …]