Searched refs:cache_hash_mask (Results 1 – 6 of 6) sorted by relevance
213 (((uintptr_t)(buf) >> (cp)->cache_hash_shift) & (cp)->cache_hash_mask))316 size_t cache_hash_mask; /* hash table mask */ member
2423 old_size = cp->cache_hash_mask + 1; in umem_hash_rescale()2436 old_size = cp->cache_hash_mask + 1; in umem_hash_rescale()2439 cp->cache_hash_mask = new_size - 1; in umem_hash_rescale()2478 (cp->cache_buftotal > (cp->cache_hash_mask << 1) || in umem_cache_update()2479 (cp->cache_buftotal < (cp->cache_hash_mask >> 1) && in umem_cache_update()2480 cp->cache_hash_mask > UMEM_HASH_INITIAL))) in umem_cache_update()2910 cp->cache_hash_mask = UMEM_HASH_INITIAL - 1; in umem_cache_create()2994 (cp->cache_hash_mask + 1) * sizeof (void *)); in umem_cache_destroy()
240 (((uintptr_t)(buf) >> (cp)->cache_hash_shift) & (cp)->cache_hash_mask))392 size_t cache_hash_mask; /* hash table mask */ member
3334 old_size = cp->cache_hash_mask + 1; in kmem_hash_rescale()3347 old_size = cp->cache_hash_mask + 1; in kmem_hash_rescale()3350 cp->cache_hash_mask = new_size - 1; in kmem_hash_rescale()3390 (cp->cache_buftotal > (cp->cache_hash_mask << 1) || in kmem_cache_update()3391 (cp->cache_buftotal < (cp->cache_hash_mask >> 1) && in kmem_cache_update()3392 cp->cache_hash_mask > KMEM_HASH_INITIAL))) in kmem_cache_update()3527 cp->cache_hash_mask + 1 : 0; in kmem_cache_kstat_update()3966 cp->cache_hash_mask = KMEM_HASH_INITIAL - 1; in kmem_cache_create()4159 (cp->cache_hash_mask + 1) * sizeof (void *)); in kmem_cache_destroy()
727 umhw->umhw_nelems = nelems = c.cache_hash_mask + 1; in umem_hash_walk_init()
811 kmhw->kmhw_nelems = nelems = c.cache_hash_mask + 1; in kmem_hash_walk_init()