Home
last modified time | relevance | path

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

/NextBSD/sys/vm/
HDuma_int.h130 SLIST_INSERT_HEAD(&(h)->uh_slab_hash[UMA_HASH((h), \
133 SLIST_REMOVE(&(h)->uh_slab_hash[UMA_HASH((h), \
141 struct slabhead *uh_slab_hash; /* Hash table for slabs */ member
399 SLIST_FOREACH(slab, &hash->uh_slab_hash[hval], us_hlink) { in hash_sfind()
HDuma_core.c546 alloc = sizeof(hash->uh_slab_hash[0]) * hash->uh_hashsize; in hash_alloc()
547 hash->uh_slab_hash = (struct slabhead *)malloc(alloc, in hash_alloc()
550 alloc = sizeof(hash->uh_slab_hash[0]) * UMA_HASH_SIZE_INIT; in hash_alloc()
551 hash->uh_slab_hash = zone_alloc_item(hashzone, NULL, in hash_alloc()
555 if (hash->uh_slab_hash) { in hash_alloc()
556 bzero(hash->uh_slab_hash, alloc); in hash_alloc()
585 if (!newhash->uh_slab_hash) in hash_expand()
597 while (!SLIST_EMPTY(&oldhash->uh_slab_hash[i])) { in hash_expand()
598 slab = SLIST_FIRST(&oldhash->uh_slab_hash[i]); in hash_expand()
599 SLIST_REMOVE_HEAD(&oldhash->uh_slab_hash[i], us_hlink); in hash_expand()
[all …]