Searched refs:kmalloc_index (Results 1 – 3 of 3) sorted by relevance
358 static __always_inline unsigned int kmalloc_index(size_t size) in kmalloc_index() function559 index = kmalloc_index(size); in kmalloc()577 unsigned int i = kmalloc_index(size); in kmalloc_node()
200 return kmalloc_caches[kmalloc_type(GFP_KERNEL)][kmalloc_index(size)]->align; in kmalloc_cache_alignment()270 …struct kmem_cache *s = test_cache ?: kmalloc_caches[kmalloc_type(GFP_KERNEL)][kmalloc_index(size)]; in test_alloc()
225 #define INDEX_NODE kmalloc_index(sizeof(struct kmem_cache_node))