Home
last modified time | relevance | path

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

/linux/mm/
H A Dslab_common.c441 BUILD_BUG_ON(ARRAY_SIZE(kmalloc_caches[KMALLOC_NORMAL]) > BITS_PER_LONG); in kmem_buckets_create()
460 for (idx = 0; idx < ARRAY_SIZE(kmalloc_caches[KMALLOC_NORMAL]); idx++) { in kmem_buckets_create()
465 if (!kmalloc_caches[KMALLOC_NORMAL][idx]) in kmem_buckets_create()
468 size = kmalloc_caches[KMALLOC_NORMAL][idx]->object_size; in kmem_buckets_create()
472 short_size = strchr(kmalloc_caches[KMALLOC_NORMAL][idx]->name, '-'); in kmem_buckets_create()
504 for_each_set_bit(idx, &mask, ARRAY_SIZE(kmalloc_caches[KMALLOC_NORMAL])) in kmem_buckets_create()
748 kmem_buckets kmalloc_caches[NR_KMALLOC_TYPES] __ro_after_init = variable
750 EXPORT_SYMBOL(kmalloc_caches);
974 kmalloc_caches[type][idx] = kmalloc_caches[KMALLOC_NORMAL][idx]; in new_kmalloc_cache()
980 kmalloc_caches[type][idx] = kmalloc_caches[KMALLOC_NORMAL][idx]; in new_kmalloc_cache()
[all …]
H A Dslab.h442 b = &kmalloc_caches[type]; in kmalloc_slab()
H A Dslub.c8627 struct kmem_cache *s = kmalloc_caches[type][idx]; in bootstrap_kmalloc_sheaves()
/linux/include/linux/
H A Dslab.h743 extern kmem_buckets kmalloc_caches[NR_KMALLOC_TYPES];
992 kmalloc_caches[kmalloc_type(flags, token)][index], in _kmalloc_noprof()
1197 kmalloc_caches[kmalloc_type(flags, token)][index], in _kmalloc_node_noprof()
/linux/mm/kfence/
H A Dkfence_test.c218 return kmalloc_caches[type][__kmalloc_index(size, false)]->align; in kmalloc_cache_alignment()
290 kmalloc_caches[type][__kmalloc_index(size, false)]; in test_alloc()