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 | 995 struct kmem_cache *slab_cache; member 1183 if (unlikely(c->slab_cache != NULL)) { in alloc_buffer_data() 1185 return kmem_cache_alloc(c->slab_cache, gfp_mask); in alloc_buffer_data() 1208 kmem_cache_free(c->slab_cache, data); in free_buffer_data() 2537 c->slab_cache = kmem_cache_create(slab_name, block_size, align, in dm_bufio_client_create() 2539 if (!c->slab_cache) { in dm_bufio_client_create() 2592 kmem_cache_destroy(c->slab_cache); in dm_bufio_client_create() 2643 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 | 2407 sh = alloc_stripe(conf->slab_cache, gfp, conf->pool_size, conf); in grow_one_stripe() 2413 free_stripe(conf->slab_cache, sh); in grow_one_stripe() 2446 conf->slab_cache = sc; in grow_stripes() 2621 free_stripe(conf->slab_cache, osh); in resize_stripes() 2629 kmem_cache_destroy(conf->slab_cache); in resize_stripes() 2659 conf->slab_cache = sc; in resize_stripes() 2717 free_stripe(conf->slab_cache, sh); in drop_one_stripe() 2729 kmem_cache_destroy(conf->slab_cache); in shrink_stripes() 2730 conf->slab_cache = NULL; in shrink_stripes()
|