Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/i915/
Di915_active.c27 struct kmem_cache *slab_cache; member
178 kmem_cache_free(global.slab_cache, it); in __active_retire()
307 prealloc = kmem_cache_alloc(global.slab_cache, GFP_KERNEL); in active_instance()
321 kmem_cache_free(global.slab_cache, prealloc); in active_instance()
795 kmem_cache_free(global.slab_cache, ref->cache); in i915_active_fini()
915 node = kmem_cache_alloc(global.slab_cache, GFP_KERNEL); in i915_active_acquire_preallocate_barrier()
963 kmem_cache_free(global.slab_cache, node); in i915_active_acquire_preallocate_barrier()
1185 kmem_cache_shrink(global.slab_cache); in i915_global_active_shrink()
1190 kmem_cache_destroy(global.slab_cache); in i915_global_active_exit()
1200 global.slab_cache = KMEM_CACHE(active_node, SLAB_HWCACHE_ALIGN); in i915_global_active_init()
[all …]
/Linux-v5.10/mm/kasan/
Dtags_report.c52 cache = page->slab_cache; in get_bug_type()
Dcommon.c516 return __kasan_kmalloc(page->slab_cache, object, size, in kasan_krealloc()
533 __kasan_slab_free(page->slab_cache, ptr, ip, false); in kasan_poison_kfree()
Dquarantine.c130 return virt_to_head_page(qlink)->slab_cache; in qlink_to_cache()
Dgeneric.c338 cache = page->slab_cache; in kasan_record_aux_stack()
Dreport.c389 struct kmem_cache *cache = page->slab_cache; in print_address_description()
/Linux-v5.10/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()
1765 c->slab_cache = kmem_cache_create(slab_name, block_size, align, in dm_bufio_client_create()
1767 if (!c->slab_cache) { in dm_bufio_client_create()
1819 kmem_cache_destroy(c->slab_cache); in dm_bufio_client_create()
1868 kmem_cache_destroy(c->slab_cache); in dm_bufio_client_destroy()
Draid5.h625 struct kmem_cache *slab_cache; /* for allocating stripes */ member
Draid5.c2336 sh = alloc_stripe(conf->slab_cache, gfp, conf->pool_size, conf); in grow_one_stripe()
2342 free_stripe(conf->slab_cache, sh); in grow_one_stripe()
2375 conf->slab_cache = sc; in grow_stripes()
2550 free_stripe(conf->slab_cache, osh); in resize_stripes()
2558 kmem_cache_destroy(conf->slab_cache); in resize_stripes()
2588 conf->slab_cache = sc; in resize_stripes()
2646 free_stripe(conf->slab_cache, sh); in drop_one_stripe()
2658 kmem_cache_destroy(conf->slab_cache); in shrink_stripes()
2659 conf->slab_cache = NULL; in shrink_stripes()
/Linux-v5.10/mm/
Dslab.h375 s = page->slab_cache; in memcg_slab_free_hook()
441 return page->slab_cache; in virt_to_cache()
Dslub.c1188 if (unlikely(s != page->slab_cache)) { in free_consistency_checks()
1192 } else if (!page->slab_cache) { in free_consistency_checks()
1774 page->slab_cache = s; in allocate_slab()
1851 __free_slab(page->slab_cache, page); in rcu_free_slab()
3214 df->s = page->slab_cache; in build_detached_freelist()
4044 s = page->slab_cache; in __check_heap_object()
4099 return slab_ksize(page->slab_cache); in __ksize()
4124 slab_free(page->slab_cache, page, object, NULL, 1, _RET_IP_); in kfree()
4348 p->slab_cache = s; in bootstrap()
4352 p->slab_cache = s; in bootstrap()
Dslab.c1416 cachep = page->slab_cache; in kmem_rcu_free()
2556 page->slab_cache = cache; in slab_map_pages()
4149 cachep = page->slab_cache; in __check_heap_object()
Dmemcontrol.c2960 off = obj_to_index(page->slab_cache, page, p); in mem_cgroup_from_obj()
/Linux-v5.10/tools/cgroup/
Dmemcg_slabinfo.py199 cache = page.slab_cache
/Linux-v5.10/include/linux/
Dmm_types.h117 struct kmem_cache *slab_cache; /* not slob */ member
/Linux-v5.10/Documentation/vm/
Dsplit_page_table_lock.rst62 allocation: slab uses page->slab_cache for its pages.