Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/sys/
H A Dkmem_impl.h99 #define KMEM_ALIGN_SHIFT 3 /* log2(KMEM_ALIGN) */ macro
/titanic_41/usr/src/uts/common/os/
H A Dkmem.c966 static kmem_cache_t *kmem_alloc_table[KMEM_MAXBUF >> KMEM_ALIGN_SHIFT];
969 #define KMEM_ALLOC_TABLE_MAX (KMEM_MAXBUF >> KMEM_ALIGN_SHIFT)
2842 if ((index = ((size - 1) >> KMEM_ALIGN_SHIFT)) < KMEM_ALLOC_TABLE_MAX) { in kmem_zalloc()
2873 if ((index = ((size - 1) >> KMEM_ALIGN_SHIFT)) < KMEM_ALLOC_TABLE_MAX) { in kmem_alloc()
2919 if ((index = (size - 1) >> KMEM_ALIGN_SHIFT) < KMEM_ALLOC_TABLE_MAX) { in kmem_free()
4257 kmem_alloc_table, KMEM_MAXBUF, KMEM_ALIGN_SHIFT); in kmem_cache_init()