Searched refs:cache_hash_mask (Results 1 – 6 of 6) sorted by relevance
210 (((uintptr_t)(buf) >> (cp)->cache_hash_shift) & (cp)->cache_hash_mask))313 size_t cache_hash_mask; /* hash table mask */ member
2419 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()
240 (((uintptr_t)(buf) >> (cp)->cache_hash_shift) & (cp)->cache_hash_mask))393 size_t cache_hash_mask; /* hash table mask */ member
3278 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()
726 umhw->umhw_nelems = nelems = c.cache_hash_mask + 1; in umem_hash_walk_init()
810 kmhw->kmhw_nelems = nelems = c.cache_hash_mask + 1; in kmem_hash_walk_init()