Searched refs:slab_cache (Results 1 – 4 of 4) sorted by relevance
/drivers/gpu/drm/i915/ |
D | i915_active.c | 24 static struct kmem_cache *slab_cache; variable 172 kmem_cache_free(slab_cache, it); in __active_retire() 320 node = kmem_cache_alloc(slab_cache, GFP_ATOMIC); in active_instance() 766 kmem_cache_free(slab_cache, ref->cache); in i915_active_fini() 886 node = kmem_cache_alloc(slab_cache, GFP_KERNEL); in i915_active_acquire_preallocate_barrier() 934 kmem_cache_free(slab_cache, node); in i915_active_acquire_preallocate_barrier() 1198 kmem_cache_destroy(slab_cache); in i915_active_module_exit() 1203 slab_cache = KMEM_CACHE(active_node, SLAB_HWCACHE_ALIGN); in i915_active_module_init() 1204 if (!slab_cache) in i915_active_module_init()
|
/drivers/md/ |
D | dm-bufio.c | 99 struct kmem_cache *slab_cache; member 419 if (unlikely(c->slab_cache != NULL)) { in alloc_buffer_data() 421 return kmem_cache_alloc(c->slab_cache, gfp_mask); in alloc_buffer_data() 461 kmem_cache_free(c->slab_cache, data); in free_buffer_data() 1810 c->slab_cache = kmem_cache_create(slab_name, block_size, align, in dm_bufio_client_create() 1812 if (!c->slab_cache) { in dm_bufio_client_create() 1865 kmem_cache_destroy(c->slab_cache); in dm_bufio_client_create() 1916 kmem_cache_destroy(c->slab_cache); in dm_bufio_client_destroy()
|
D | raid5.h | 637 struct kmem_cache *slab_cache; /* for allocating stripes */ member
|
D | raid5.c | 2408 sh = alloc_stripe(conf->slab_cache, gfp, conf->pool_size, conf); in grow_one_stripe() 2414 free_stripe(conf->slab_cache, sh); in grow_one_stripe() 2447 conf->slab_cache = sc; in grow_stripes() 2622 free_stripe(conf->slab_cache, osh); in resize_stripes() 2630 kmem_cache_destroy(conf->slab_cache); in resize_stripes() 2660 conf->slab_cache = sc; in resize_stripes() 2718 free_stripe(conf->slab_cache, sh); in drop_one_stripe() 2730 kmem_cache_destroy(conf->slab_cache); in shrink_stripes() 2731 conf->slab_cache = NULL; in shrink_stripes()
|