Home
last modified time | relevance | path

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

/f-stack/tools/compat/include/vm/
H A Duma_int.h214 LIST_INSERT_HEAD(&(h)->uh_slab_hash[UMA_HASH((h), \
223 struct slabhashhead *uh_slab_hash; /* Hash table for slabs */ member
610 LIST_FOREACH(slab, &hash->uh_slab_hash[hval], uhs_hlink) { in hash_sfind()
/f-stack/freebsd/vm/
H A Duma_int.h214 LIST_INSERT_HEAD(&(h)->uh_slab_hash[UMA_HASH((h), \
223 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.c1052 alloc = sizeof(hash->uh_slab_hash[0]) * hash->uh_hashsize; in hash_alloc()
1053 hash->uh_slab_hash = malloc(alloc, M_UMAHASH, M_NOWAIT); in hash_alloc()
1056 hash->uh_slab_hash = zone_alloc_item(hashzone, NULL, in hash_alloc()
1060 if (hash->uh_slab_hash) { in hash_alloc()
1061 bzero(hash->uh_slab_hash, alloc); in hash_alloc()
1090 if (!newhash->uh_slab_hash) in hash_expand()
1102 while (!LIST_EMPTY(&oldhash->uh_slab_hash[idx])) { in hash_expand()
1103 slab = LIST_FIRST(&oldhash->uh_slab_hash[idx]); in hash_expand()
1106 LIST_INSERT_HEAD(&newhash->uh_slab_hash[hval], in hash_expand()
1126 if (hash->uh_slab_hash == NULL) in hash_free()
[all …]