Searched refs:__kmalloc_index (Results 1 - 3 of 3) sorted by relevance

/linux-master/include/linux/
H A Dslab.h467 * Note: __kmalloc_index() is compile-time optimized, and not runtime optimized;
470 * overheads of __kmalloc_index() can be tolerated. Also see kmalloc_slab().
472 static __always_inline unsigned int __kmalloc_index(size_t size, function
514 #define kmalloc_index(s) __kmalloc_index(s, true)
/linux-master/mm/kfence/
H A Dkfence_test.c217 return kmalloc_caches[type][__kmalloc_index(size, false)]->align;
289 kmalloc_caches[type][__kmalloc_index(size, false)];
/linux-master/mm/
H A Dslab_common.c894 aligned_idx = __kmalloc_index(aligned_size, false);

Completed in 240 milliseconds