Home
last modified time | relevance | path

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

/linux/mm/
H A Dslab_common.c394 BUILD_BUG_ON(ARRAY_SIZE(kmalloc_caches[KMALLOC_NORMAL]) > BITS_PER_LONG); in kmem_buckets_create()
413 for (idx = 0; idx < ARRAY_SIZE(kmalloc_caches[KMALLOC_NORMAL]); idx++) { in kmem_buckets_create()
418 if (!kmalloc_caches[KMALLOC_NORMAL][idx]) in kmem_buckets_create()
421 size = kmalloc_caches[KMALLOC_NORMAL][idx]->object_size; in kmem_buckets_create()
425 short_size = strchr(kmalloc_caches[KMALLOC_NORMAL][idx]->name, '-'); in kmem_buckets_create()
457 for_each_set_bit(idx, &mask, ARRAY_SIZE(kmalloc_caches[KMALLOC_NORMAL])) in kmem_buckets_create()
701 kmem_buckets kmalloc_caches[NR_KMALLOC_TYPES] __ro_after_init = variable
703 EXPORT_SYMBOL(kmalloc_caches);
916 kmalloc_caches[type][idx] = kmalloc_caches[KMALLOC_NORMAL][idx]; in new_kmalloc_cache()
941 if (!kmalloc_caches[type][aligned_idx]) in new_kmalloc_cache()
[all …]
H A Dslab.h381 b = &kmalloc_caches[kmalloc_type(flags, caller)]; in kmalloc_slab()
/linux/include/linux/
H A Dslab.h662 extern kmem_buckets kmalloc_caches[NR_KMALLOC_TYPES];
958 kmalloc_caches[kmalloc_type(flags, _RET_IP_)][index], in kmalloc_noprof()
984 kmalloc_caches[kmalloc_type(flags, _RET_IP_)][index], in kmalloc_node_noprof()