Searched refs:__kmalloc_index (Results 1 – 3 of 3) sorted by relevance
443 static __always_inline unsigned int __kmalloc_index(size_t size, in __kmalloc_index() function485 #define kmalloc_index(s) __kmalloc_index(s, true)
217 return kmalloc_caches[type][__kmalloc_index(size, false)]->align; in kmalloc_cache_alignment()289 kmalloc_caches[type][__kmalloc_index(size, false)]; in test_alloc()
940 aligned_idx = __kmalloc_index(aligned_size, false); in new_kmalloc_cache()