Searched refs:kmalloc_caches (Results 1 – 4 of 4) sorted by relevance
434 BUILD_BUG_ON(ARRAY_SIZE(kmalloc_caches[KMALLOC_NORMAL]) > BITS_PER_LONG); in kmem_buckets_create() 453 for (idx = 0; idx < ARRAY_SIZE(kmalloc_caches[KMALLOC_NORMAL]); idx++) { in kmem_buckets_create() 458 if (!kmalloc_caches[KMALLOC_NORMAL][idx]) in kmem_buckets_create() 461 size = kmalloc_caches[KMALLOC_NORMAL][idx]->object_size; in kmem_buckets_create() 465 short_size = strchr(kmalloc_caches[KMALLOC_NORMAL][idx]->name, '-'); in kmem_buckets_create() 497 for_each_set_bit(idx, &mask, ARRAY_SIZE(kmalloc_caches[KMALLOC_NORMAL])) in kmem_buckets_create() 741 kmem_buckets kmalloc_caches[NR_KMALLOC_TYPES] __ro_after_init = variable 743 EXPORT_SYMBOL(kmalloc_caches);956 kmalloc_caches[type][idx] = kmalloc_caches[KMALLOC_NORMA in new_kmalloc_cache() [all...]
394 b = &kmalloc_caches[kmalloc_type(flags, token)];
8553 if (kmalloc_caches[type][idx]) in do_kmem_cache_create() 8554 bootstrap_cache_sheaves(kmalloc_caches[type][idx]); in do_kmem_cache_create()
721 extern kmem_buckets kmalloc_caches[NR_KMALLOC_TYPES]; in __kmalloc_index() 970 kmalloc_caches[kmalloc_type(flags, token)][index],1175 kmalloc_caches[kmalloc_type(flags, token)][index],