Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/i915/
Di915_active.c26 struct kmem_cache *slab_cache; member
147 kmem_cache_free(global.slab_cache, it); in __active_retire()
192 prealloc = kmem_cache_alloc(global.slab_cache, GFP_KERNEL); in active_instance()
206 kmem_cache_free(global.slab_cache, prealloc); in active_instance()
598 node = kmem_cache_alloc(global.slab_cache, GFP_KERNEL); in i915_active_acquire_preallocate_barrier()
643 kmem_cache_free(global.slab_cache, node); in i915_active_acquire_preallocate_barrier()
738 kmem_cache_shrink(global.slab_cache); in i915_global_active_shrink()
743 kmem_cache_destroy(global.slab_cache); in i915_global_active_exit()
753 global.slab_cache = KMEM_CACHE(active_node, SLAB_HWCACHE_ALIGN); in i915_global_active_init()
754 if (!global.slab_cache) in i915_global_active_init()
/Linux-v5.4/mm/kasan/
Dtags_report.c52 cache = page->slab_cache; in get_bug_type()
Dquarantine.c128 return virt_to_head_page(qlink)->slab_cache; in qlink_to_cache()
Dcommon.c565 return __kasan_kmalloc(page->slab_cache, object, size, in kasan_krealloc()
582 __kasan_slab_free(page->slab_cache, ptr, ip, false); in kasan_poison_kfree()
Dreport.c378 struct kmem_cache *cache = page->slab_cache; in print_address_description()
/Linux-v5.4/drivers/md/
Ddm-bufio.c95 struct kmem_cache *slab_cache; member
378 if (unlikely(c->slab_cache != NULL)) { in alloc_buffer_data()
380 return kmem_cache_alloc(c->slab_cache, gfp_mask); in alloc_buffer_data()
420 kmem_cache_free(c->slab_cache, data); in free_buffer_data()
1662 c->slab_cache = kmem_cache_create(slab_name, block_size, align, in dm_bufio_client_create()
1664 if (!c->slab_cache) { in dm_bufio_client_create()
1713 kmem_cache_destroy(c->slab_cache); in dm_bufio_client_create()
1761 kmem_cache_destroy(c->slab_cache); in dm_bufio_client_destroy()
Draid5.h624 struct kmem_cache *slab_cache; /* for allocating stripes */ member
Draid5.c2169 sh = alloc_stripe(conf->slab_cache, gfp, conf->pool_size, conf); in grow_one_stripe()
2175 free_stripe(conf->slab_cache, sh); in grow_one_stripe()
2208 conf->slab_cache = sc; in grow_stripes()
2368 free_stripe(conf->slab_cache, osh); in resize_stripes()
2376 kmem_cache_destroy(conf->slab_cache); in resize_stripes()
2408 conf->slab_cache = sc; in resize_stripes()
2445 free_stripe(conf->slab_cache, sh); in drop_one_stripe()
2457 kmem_cache_destroy(conf->slab_cache); in shrink_stripes()
2458 conf->slab_cache = NULL; in shrink_stripes()
/Linux-v5.4/mm/
Dslab.h336 s = READ_ONCE(page->slab_cache); in memcg_from_slab_page()
476 return page->slab_cache; in virt_to_cache()
Dslub.c1151 if (unlikely(s != page->slab_cache)) { in free_consistency_checks()
1155 } else if (!page->slab_cache) { in free_consistency_checks()
1656 page->slab_cache = s; in allocate_slab()
1738 __free_slab(page->slab_cache, page); in rcu_free_slab()
3076 df->s = page->slab_cache; in build_detached_freelist()
3876 s = page->slab_cache; in __check_heap_object()
3931 return slab_ksize(page->slab_cache); in __ksize()
3956 slab_free(page->slab_cache, page, object, NULL, 1, _RET_IP_); in kfree()
4210 p->slab_cache = s; in bootstrap()
4214 p->slab_cache = s; in bootstrap()
Dslab.c1410 cachep = page->slab_cache; in kmem_rcu_free()
2559 page->slab_cache = cache; in slab_map_pages()
4177 cachep = page->slab_cache; in __check_heap_object()
/Linux-v5.4/include/linux/
Dmm_types.h117 struct kmem_cache *slab_cache; /* not slob */ member
/Linux-v5.4/Documentation/vm/
Dsplit_page_table_lock.rst62 allocation: slab uses page->slab_cache for its pages.