Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/
A 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()
748 kmem_cache_free(slab_cache, ref->cache); in i915_active_fini()
868 node = kmem_cache_alloc(slab_cache, GFP_KERNEL); in i915_active_acquire_preallocate_barrier()
916 kmem_cache_free(slab_cache, node); in i915_active_acquire_preallocate_barrier()
1180 kmem_cache_destroy(slab_cache); in i915_active_module_exit()
1185 slab_cache = KMEM_CACHE(active_node, SLAB_HWCACHE_ALIGN); in i915_active_module_init()
1186 if (!slab_cache) in i915_active_module_init()
/drivers/md/
A Ddm-bufio.c984 struct kmem_cache *slab_cache; member
1171 if (unlikely(c->slab_cache != NULL)) { in alloc_buffer_data()
1173 return kmem_cache_alloc(c->slab_cache, gfp_mask); in alloc_buffer_data()
1201 kmem_cache_free(c->slab_cache, data); in free_buffer_data()
2531 c->slab_cache = kmem_cache_create(slab_name, block_size, align, in dm_bufio_client_create()
2533 if (!c->slab_cache) { in dm_bufio_client_create()
2594 kmem_cache_destroy(c->slab_cache); in dm_bufio_client_create()
2645 kmem_cache_destroy(c->slab_cache); in dm_bufio_client_destroy()
A Draid5.h633 struct kmem_cache *slab_cache; /* for allocating stripes */ member
A Draid5.c2382 sh = alloc_stripe(conf->slab_cache, gfp, conf->pool_size, conf); in grow_one_stripe()
2388 free_stripe(conf->slab_cache, sh); in grow_one_stripe()
2421 conf->slab_cache = sc; in grow_stripes()
2594 free_stripe(conf->slab_cache, osh); in resize_stripes()
2602 kmem_cache_destroy(conf->slab_cache); in resize_stripes()
2632 conf->slab_cache = sc; in resize_stripes()
2690 free_stripe(conf->slab_cache, sh); in drop_one_stripe()
2702 kmem_cache_destroy(conf->slab_cache); in shrink_stripes()
2703 conf->slab_cache = NULL; in shrink_stripes()

Completed in 24 milliseconds