Home
last modified time | relevance | path

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

/freebsd-10-stable/sys/vm/
Duma_core.c483 keg->uk_pages / keg->uk_ppera >= keg->uk_hash.uh_hashsize) { in keg_timeout()
536 oldsize = hash->uh_hashsize; in hash_alloc()
540 hash->uh_hashsize = oldsize * 2; in hash_alloc()
541 alloc = sizeof(hash->uh_slab_hash[0]) * hash->uh_hashsize; in hash_alloc()
548 hash->uh_hashsize = UMA_HASH_SIZE_INIT; in hash_alloc()
552 hash->uh_hashmask = hash->uh_hashsize - 1; in hash_alloc()
583 if (oldhash->uh_hashsize >= newhash->uh_hashsize) in hash_expand()
591 for (i = 0; i < oldhash->uh_hashsize; i++) in hash_expand()
618 if (hash->uh_hashsize == UMA_HASH_SIZE_INIT) in hash_free()
Duma_int.h142 int uh_hashsize; /* Current size of the hash table */ member