Home
last modified time | relevance | path

Searched refs:kmalloc_caches (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/mm/
H A Dslab_common.c658 kmalloc_caches[NR_KMALLOC_TYPES][KMALLOC_SHIFT_HIGH + 1] __ro_after_init = variable
660 EXPORT_SYMBOL(kmalloc_caches);
724 return kmalloc_caches[kmalloc_type(flags, caller)][index]; in kmalloc_slab()
899 kmalloc_caches[type][idx] = kmalloc_caches[KMALLOC_NORMAL][idx]; in new_kmalloc_cache()
924 if (!kmalloc_caches[type][aligned_idx]) in new_kmalloc_cache()
925 kmalloc_caches[type][aligned_idx] = create_kmalloc_cache( in new_kmalloc_cache()
929 kmalloc_caches[type][idx] = kmalloc_caches[type][aligned_idx]; in new_kmalloc_cache()
947 if (!kmalloc_caches[type][i]) in create_kmalloc_caches()
956 !kmalloc_caches[type][1]) in create_kmalloc_caches()
959 !kmalloc_caches[type][2]) in create_kmalloc_caches()
H A Dslab.c1254 init_list(kmalloc_caches[KMALLOC_NORMAL][INDEX_NODE], in kmem_cache_init()
/openbmc/linux/include/linux/
H A Dslab.h389 kmalloc_caches[NR_KMALLOC_TYPES][KMALLOC_SHIFT_HIGH + 1];
601 kmalloc_caches[kmalloc_type(flags, _RET_IP_)][index], in kmalloc()
617 kmalloc_caches[kmalloc_type(flags, _RET_IP_)][index], in kmalloc_node()
/openbmc/linux/mm/kfence/
H A Dkfence_test.c217 return kmalloc_caches[type][__kmalloc_index(size, false)]->align; in kmalloc_cache_alignment()
289 kmalloc_caches[type][__kmalloc_index(size, false)]; in test_alloc()