Searched refs:kmalloc_caches (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/mm/ |
| H A D | slab_common.c | 410 for (idx = 0; idx < ARRAY_SIZE(kmalloc_caches[KMALLOC_NORMAL]); idx++) { in kmem_buckets_create() 415 if (!kmalloc_caches[KMALLOC_NORMAL][idx]) in kmem_buckets_create() 418 size = kmalloc_caches[KMALLOC_NORMAL][idx]->object_size; in kmem_buckets_create() 422 short_size = strchr(kmalloc_caches[KMALLOC_NORMAL][idx]->name, '-'); in kmem_buckets_create() 454 for_each_set_bit(idx, &mask, ARRAY_SIZE(kmalloc_caches[KMALLOC_NORMAL])) in kmem_buckets_create() 695 kmem_buckets kmalloc_caches[NR_KMALLOC_TYPES] __ro_after_init = variable 697 EXPORT_SYMBOL(kmalloc_caches); 910 kmalloc_caches[type][idx] = kmalloc_caches[KMALLOC_NORMAL][idx]; in new_kmalloc_cache() 935 if (!kmalloc_caches[type][aligned_idx]) in new_kmalloc_cache() 936 kmalloc_caches[type][aligned_idx] = create_kmalloc_cache( in new_kmalloc_cache() [all …]
|
| H A D | slab.h | 418 b = &kmalloc_caches[kmalloc_type(flags, caller)]; in kmalloc_slab()
|
| /linux-6.15/include/linux/ |
| H A D | slab.h | 626 extern kmem_buckets kmalloc_caches[NR_KMALLOC_TYPES]; 906 kmalloc_caches[kmalloc_type(flags, _RET_IP_)][index], in kmalloc_noprof() 929 kmalloc_caches[kmalloc_type(flags, _RET_IP_)][index], in kmalloc_node_noprof()
|
| /linux-6.15/mm/kfence/ |
| H A D | kfence_test.c | 218 return kmalloc_caches[type][__kmalloc_index(size, false)]->align; in kmalloc_cache_alignment() 290 kmalloc_caches[type][__kmalloc_index(size, false)]; in test_alloc()
|