Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/
Di915_active.c24 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()
787 kmem_cache_free(slab_cache, ref->cache); in i915_active_fini()
907 node = kmem_cache_alloc(slab_cache, GFP_KERNEL); in i915_active_acquire_preallocate_barrier()
955 kmem_cache_free(slab_cache, node); in i915_active_acquire_preallocate_barrier()
1219 kmem_cache_destroy(slab_cache); in i915_active_module_exit()
1224 slab_cache = KMEM_CACHE(active_node, SLAB_HWCACHE_ALIGN); in i915_active_module_init()
1225 if (!slab_cache) in i915_active_module_init()
/drivers/md/
Ddm-bufio.c95 struct kmem_cache *slab_cache; member
404 if (unlikely(c->slab_cache != NULL)) { in alloc_buffer_data()
406 return kmem_cache_alloc(c->slab_cache, gfp_mask); in alloc_buffer_data()
446 kmem_cache_free(c->slab_cache, data); in free_buffer_data()
1775 c->slab_cache = kmem_cache_create(slab_name, block_size, align, in dm_bufio_client_create()
1777 if (!c->slab_cache) { in dm_bufio_client_create()
1829 kmem_cache_destroy(c->slab_cache); in dm_bufio_client_create()
1878 kmem_cache_destroy(c->slab_cache); in dm_bufio_client_destroy()
Draid5.h625 struct kmem_cache *slab_cache; /* for allocating stripes */ member
Draid5.c2338 sh = alloc_stripe(conf->slab_cache, gfp, conf->pool_size, conf); in grow_one_stripe()
2344 free_stripe(conf->slab_cache, sh); in grow_one_stripe()
2377 conf->slab_cache = sc; in grow_stripes()
2552 free_stripe(conf->slab_cache, osh); in resize_stripes()
2560 kmem_cache_destroy(conf->slab_cache); in resize_stripes()
2590 conf->slab_cache = sc; in resize_stripes()
2648 free_stripe(conf->slab_cache, sh); in drop_one_stripe()
2660 kmem_cache_destroy(conf->slab_cache); in shrink_stripes()
2661 conf->slab_cache = NULL; in shrink_stripes()