Lines Matching refs:m_hash_size
119 …E_HASH_INDEX_IMPL((addr), (cache)->m_hash_shift, (cache)->m_type_shift, ((cache)->m_hash_size - 1))
146 old_size = cache->m_hash_size; in rtl_cache_hash_rescale()
159 cache->m_hash_size = new_size; in rtl_cache_hash_rescale()
160 cache->m_hash_shift = highbit(cache->m_hash_size) - 1; in rtl_cache_hash_rescale()
242 if (nbuf > 4 * cache->m_hash_size) in rtl_cache_hash_remove()
247 sal_Size new_size = cache->m_hash_size << (highbit(ave) - 1); in rtl_cache_hash_remove()
833 cache->m_hash_size = RTL_CACHE_HASH_SIZE; in rtl_cache_constructor()
834 cache->m_hash_shift = highbit(cache->m_hash_size) - 1; in rtl_cache_constructor()
859 OSL_ASSERT(cache->m_hash_size == RTL_CACHE_HASH_SIZE); in rtl_cache_destructor()
860 OSL_ASSERT(cache->m_hash_shift == (sal_Size)(highbit(cache->m_hash_size) - 1)); in rtl_cache_destructor()
1058 sal_Size i, n = cache->m_hash_size; in rtl_cache_deactivate()
1109 cache->m_hash_size * sizeof(rtl_cache_bufctl_type*)); in rtl_cache_deactivate()
1112 cache->m_hash_size = RTL_CACHE_HASH_SIZE; in rtl_cache_deactivate()
1113 cache->m_hash_shift = highbit(cache->m_hash_size) - 1; in rtl_cache_deactivate()