Home
last modified time | relevance | path

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

/aoo42x/main/sal/rtl/source/
H A Dalloc_cache.c887 sal_Size slabsize; in rtl_cache_activate() local
927 slabsize = source->m_quantum; /* minimum slab size */ in rtl_cache_activate()
931 slabsize = SAL_MAX(slabsize, (1UL << highbit(3 * source->m_qcache_max))); in rtl_cache_activate()
936 slabsize = SAL_MAX(slabsize, cache->m_type_size * 8); in rtl_cache_activate()
939 slabsize = RTL_MEMORY_P2ROUNDUP(slabsize, source->m_quantum); in rtl_cache_activate()
940 if (!RTL_MEMORY_ISP2(slabsize)) in rtl_cache_activate()
941 slabsize = 1UL << highbit(slabsize); in rtl_cache_activate()
942 cache->m_slab_size = slabsize; in rtl_cache_activate()

Completed in 12 milliseconds