Searched refs:slab_cache (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/drivers/md/ |
D | dm-bufio.c | 94 struct kmem_cache *slab_cache; member 359 if (unlikely(c->slab_cache != NULL)) { in alloc_buffer_data() 361 return kmem_cache_alloc(c->slab_cache, gfp_mask); in alloc_buffer_data() 401 kmem_cache_free(c->slab_cache, data); in free_buffer_data() 1686 c->slab_cache = kmem_cache_create(slab_name, block_size, align, in dm_bufio_client_create() 1688 if (!c->slab_cache) { in dm_bufio_client_create() 1737 kmem_cache_destroy(c->slab_cache); in dm_bufio_client_create() 1785 kmem_cache_destroy(c->slab_cache); in dm_bufio_client_destroy()
|
D | raid5.h | 627 struct kmem_cache *slab_cache; /* for allocating stripes */ member
|
D | raid5.c | 2180 sh = alloc_stripe(conf->slab_cache, gfp, conf->pool_size, conf); in grow_one_stripe() 2186 free_stripe(conf->slab_cache, sh); in grow_one_stripe() 2219 conf->slab_cache = sc; in grow_stripes() 2382 free_stripe(conf->slab_cache, osh); in resize_stripes() 2390 kmem_cache_destroy(conf->slab_cache); in resize_stripes() 2422 conf->slab_cache = sc; in resize_stripes() 2459 free_stripe(conf->slab_cache, sh); in drop_one_stripe() 2471 kmem_cache_destroy(conf->slab_cache); in shrink_stripes() 2472 conf->slab_cache = NULL; in shrink_stripes()
|
/Linux-v4.19/mm/kasan/ |
D | quarantine.c | 127 return virt_to_head_page(qlink)->slab_cache; in qlink_to_cache()
|
D | kasan.c | 591 kasan_kmalloc(page->slab_cache, object, size, flags); in kasan_krealloc() 608 __kasan_slab_free(page->slab_cache, ptr, ip, false); in kasan_poison_kfree()
|
D | report.c | 260 struct kmem_cache *cache = page->slab_cache; in print_address_description()
|
/Linux-v4.19/include/linux/ |
D | mm_types.h | 112 struct kmem_cache *slab_cache; /* not slob */ member
|
/Linux-v4.19/Documentation/vm/ |
D | split_page_table_lock.rst | 62 allocation: slab uses page->slab_cache for its pages.
|
/Linux-v4.19/mm/ |
D | slab.h | 373 cachep = page->slab_cache; in cache_from_obj()
|
D | slub.c | 1142 if (unlikely(s != page->slab_cache)) { in free_consistency_checks() 1146 } else if (!page->slab_cache) { in free_consistency_checks() 1600 page->slab_cache = s; in allocate_slab() 1691 __free_slab(page->slab_cache, page); in rcu_free_slab() 3025 df->s = page->slab_cache; in build_detached_freelist() 3820 s = page->slab_cache; in __check_heap_object() 3875 return slab_ksize(page->slab_cache); in __ksize() 3906 slab_free(page->slab_cache, page, object, NULL, 1, _RET_IP_); in kfree() 4166 p->slab_cache = s; in bootstrap() 4170 p->slab_cache = s; in bootstrap()
|
D | slab.c | 400 return page->slab_cache; in virt_to_cache() 1465 cachep = page->slab_cache; in kmem_rcu_free() 2637 page->slab_cache = cache; in slab_map_pages() 4419 cachep = page->slab_cache; in __check_heap_object()
|