Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/
A Di915_active.c24 static struct kmem_cache *slab_cache; variable
173 kmem_cache_free(slab_cache, it); in __active_retire()
321 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()
1177 kmem_cache_destroy(slab_cache); in i915_active_module_exit()
1182 slab_cache = KMEM_CACHE(active_node, SLAB_HWCACHE_ALIGN); in i915_active_module_init()
1183 if (!slab_cache) in i915_active_module_init()
/linux/mm/kasan/
A Dreport_tags.c25 cache = page->slab_cache; in kasan_get_bug_type()
A Dcommon.c419 ____kasan_slab_free(page->slab_cache, ptr, ip, false, false); in __kasan_slab_free_mempool()
581 return ____kasan_kmalloc(page->slab_cache, object, size, flags); in __kasan_krealloc()
A Dquarantine.c120 return virt_to_head_page(qlink)->slab_cache; in qlink_to_cache()
A Dgeneric.c341 cache = page->slab_cache; in __kasan_record_aux_stack()
A Dreport.c251 struct kmem_cache *cache = page->slab_cache; in print_address_description()
/linux/drivers/md/
A 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()
A Draid5.h625 struct kmem_cache *slab_cache; /* for allocating stripes */ member
A Draid5.c2337 sh = alloc_stripe(conf->slab_cache, gfp, conf->pool_size, conf); in grow_one_stripe()
2343 free_stripe(conf->slab_cache, sh); in grow_one_stripe()
2376 conf->slab_cache = sc; in grow_stripes()
2551 free_stripe(conf->slab_cache, osh); in resize_stripes()
2559 kmem_cache_destroy(conf->slab_cache); in resize_stripes()
2589 conf->slab_cache = sc; in resize_stripes()
2647 free_stripe(conf->slab_cache, sh); in drop_one_stripe()
2659 kmem_cache_destroy(conf->slab_cache); in shrink_stripes()
2660 conf->slab_cache = NULL; in shrink_stripes()
/linux/mm/
A Dslab.h354 s = page->slab_cache; in memcg_slab_free_hook()
416 return page->slab_cache; in virt_to_cache()
A Dslub.c1350 if (unlikely(s != page->slab_cache)) { in free_consistency_checks()
1354 } else if (!page->slab_cache) { in free_consistency_checks()
1948 page->slab_cache = s; in allocate_slab()
2014 page->slab_cache = NULL; in __free_slab()
2025 __free_slab(page->slab_cache, page); in rcu_free_slab()
3595 df->s = page->slab_cache; in build_detached_freelist()
4332 struct kmem_cache *s = page->slab_cache; in kmem_obj_info()
4497 s = page->slab_cache; in __check_heap_object()
4542 return slab_ksize(page->slab_cache); in __ksize()
4792 p->slab_cache = s; in bootstrap()
[all …]
A Dslab.c1404 page->slab_cache = NULL; in kmem_freepages()
1418 cachep = page->slab_cache; in kmem_rcu_free()
2557 page->slab_cache = cache; in slab_map_pages()
3668 cachep = page->slab_cache; in kmem_obj_info()
4190 cachep = page->slab_cache; in __check_heap_object()
A Dmemcontrol.c2884 off = obj_to_index(page->slab_cache, page, p); in mem_cgroup_from_obj()
/linux/tools/cgroup/
A Dmemcg_slabinfo.py199 cache = page.slab_cache
/linux/include/linux/
A Dmm_types.h133 struct kmem_cache *slab_cache; /* not slob */ member
/linux/Documentation/vm/
A Dsplit_page_table_lock.rst62 allocation: slab uses page->slab_cache for its pages.
/linux/mm/kfence/
A Dcore.c429 page->slab_cache = cache; in kfence_guarded_alloc()

Completed in 71 milliseconds