Searched refs:KMEM_ALIGN_SHIFT (Results 1 – 2 of 2) sorted by relevance
99 #define KMEM_ALIGN_SHIFT 3 /* log2(KMEM_ALIGN) */ macro
966 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()