Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/i915/
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-v5.15/mm/kasan/
Dreport_tags.c25 cache = page->slab_cache; in kasan_get_bug_type()
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()
Dquarantine.c120 return virt_to_head_page(qlink)->slab_cache; in qlink_to_cache()
Dgeneric.c341 cache = page->slab_cache; in kasan_record_aux_stack()
Dreport.c260 struct kmem_cache *cache = page->slab_cache; in print_address_description()
/Linux-v5.15/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.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-v5.15/mm/
Dslab.h354 s = page->slab_cache; in memcg_slab_free_hook()
416 return page->slab_cache; in virt_to_cache()
Dslub.c1327 if (unlikely(s != page->slab_cache)) { in free_consistency_checks()
1331 } else if (!page->slab_cache) { in free_consistency_checks()
1925 page->slab_cache = s; in allocate_slab()
1991 page->slab_cache = NULL; in __free_slab()
2002 __free_slab(page->slab_cache, page); in rcu_free_slab()
3572 df->s = page->slab_cache; in build_detached_freelist()
4309 struct kmem_cache *s = page->slab_cache; in kmem_obj_info()
4475 s = page->slab_cache; in __check_heap_object()
4533 return slab_ksize(page->slab_cache); in __ksize()
4552 slab_free(page->slab_cache, page, object, NULL, 1, _RET_IP_); in kfree()
[all …]
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()
4194 cachep = page->slab_cache; in __check_heap_object()
Dmemcontrol.c2838 off = obj_to_index(page->slab_cache, page, p); in mem_cgroup_from_obj()
/Linux-v5.15/tools/cgroup/
Dmemcg_slabinfo.py199 cache = page.slab_cache
/Linux-v5.15/include/linux/
Dmm_types.h134 struct kmem_cache *slab_cache; /* not slob */ member
/Linux-v5.15/Documentation/vm/
Dsplit_page_table_lock.rst62 allocation: slab uses page->slab_cache for its pages.
/Linux-v5.15/mm/kfence/
Dcore.c325 page->slab_cache = cache; in kfence_guarded_alloc()