Home
last modified time | relevance | path

Searched refs:slab_cache (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/drivers/md/
Ddm-bufio.c94 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()
Draid5.h627 struct kmem_cache *slab_cache; /* for allocating stripes */ member
Draid5.c2180 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/
Dquarantine.c127 return virt_to_head_page(qlink)->slab_cache; in qlink_to_cache()
Dkasan.c591 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()
Dreport.c260 struct kmem_cache *cache = page->slab_cache; in print_address_description()
/Linux-v4.19/include/linux/
Dmm_types.h112 struct kmem_cache *slab_cache; /* not slob */ member
/Linux-v4.19/Documentation/vm/
Dsplit_page_table_lock.rst62 allocation: slab uses page->slab_cache for its pages.
/Linux-v4.19/mm/
Dslab.h373 cachep = page->slab_cache; in cache_from_obj()
Dslub.c1142 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()
Dslab.c400 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()