Home
last modified time | relevance | path

Searched refs:cache_hash_mask (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/lib/libumem/common/
H A Dumem_impl.h210 (((uintptr_t)(buf) >> (cp)->cache_hash_shift) & (cp)->cache_hash_mask))
313 size_t cache_hash_mask; /* hash table mask */ member
H A Dumem.c2419 old_size = cp->cache_hash_mask + 1; in umem_hash_rescale()
2432 old_size = cp->cache_hash_mask + 1; in umem_hash_rescale()
2435 cp->cache_hash_mask = new_size - 1; in umem_hash_rescale()
2474 (cp->cache_buftotal > (cp->cache_hash_mask << 1) || in umem_cache_update()
2475 (cp->cache_buftotal < (cp->cache_hash_mask >> 1) && in umem_cache_update()
2476 cp->cache_hash_mask > UMEM_HASH_INITIAL))) in umem_cache_update()
2901 cp->cache_hash_mask = UMEM_HASH_INITIAL - 1; in umem_cache_create()
2985 (cp->cache_hash_mask + 1) * sizeof (void *)); in umem_cache_destroy()
/titanic_41/usr/src/uts/common/sys/
H A Dkmem_impl.h240 (((uintptr_t)(buf) >> (cp)->cache_hash_shift) & (cp)->cache_hash_mask))
393 size_t cache_hash_mask; /* hash table mask */ member
/titanic_41/usr/src/uts/common/os/
H A Dkmem.c3278 old_size = cp->cache_hash_mask + 1; in kmem_hash_rescale()
3291 old_size = cp->cache_hash_mask + 1; in kmem_hash_rescale()
3294 cp->cache_hash_mask = new_size - 1; in kmem_hash_rescale()
3334 (cp->cache_buftotal > (cp->cache_hash_mask << 1) || in kmem_cache_update()
3335 (cp->cache_buftotal < (cp->cache_hash_mask >> 1) && in kmem_cache_update()
3336 cp->cache_hash_mask > KMEM_HASH_INITIAL))) in kmem_cache_update()
3470 cp->cache_hash_mask + 1 : 0; in kmem_cache_kstat_update()
3908 cp->cache_hash_mask = KMEM_HASH_INITIAL - 1; in kmem_cache_create()
4100 (cp->cache_hash_mask + 1) * sizeof (void *)); in kmem_cache_destroy()
/titanic_41/usr/src/cmd/mdb/common/modules/libumem/
H A Dumem.c726 umhw->umhw_nelems = nelems = c.cache_hash_mask + 1; in umem_hash_walk_init()
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dkmem.c810 kmhw->kmhw_nelems = nelems = c.cache_hash_mask + 1; in kmem_hash_walk_init()