Searched refs:slab_cache (Results 1 – 17 of 17) sorted by relevance
/Linux-v6.1/drivers/gpu/drm/i915/ |
D | i915_active.c | 24 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() 765 kmem_cache_free(slab_cache, ref->cache); in i915_active_fini() 885 node = kmem_cache_alloc(slab_cache, GFP_KERNEL); in i915_active_acquire_preallocate_barrier() 933 kmem_cache_free(slab_cache, node); in i915_active_acquire_preallocate_barrier() 1155 kmem_cache_destroy(slab_cache); in i915_active_module_exit() 1160 slab_cache = KMEM_CACHE(active_node, SLAB_HWCACHE_ALIGN); in i915_active_module_init() 1161 if (!slab_cache) in i915_active_module_init()
|
/Linux-v6.1/Documentation/translations/zh_CN/mm/ |
D | split_page_table_lock.rst | 62 确保架构不使用slab分配器来分配页表:slab使用page->slab_cache来分配其页
|
/Linux-v6.1/mm/kasan/ |
D | common.c | 291 ____kasan_slab_free(slab->slab_cache, ptr, ip, false, false); in __kasan_slab_free_mempool() 439 return ____kasan_kmalloc(slab->slab_cache, object, size, flags); in __kasan_krealloc()
|
D | quarantine.c | 131 return virt_to_slab(qlink)->slab_cache; in qlink_to_cache()
|
D | report.c | 415 info->cache = slab->slab_cache; in complete_report_info()
|
D | generic.c | 474 cache = slab->slab_cache; in __kasan_record_aux_stack()
|
/Linux-v6.1/drivers/md/ |
D | dm-bufio.c | 97 struct kmem_cache *slab_cache; member 417 if (unlikely(c->slab_cache != NULL)) { in alloc_buffer_data() 419 return kmem_cache_alloc(c->slab_cache, gfp_mask); in alloc_buffer_data() 459 kmem_cache_free(c->slab_cache, data); in free_buffer_data() 1801 c->slab_cache = kmem_cache_create(slab_name, block_size, align, in dm_bufio_client_create() 1803 if (!c->slab_cache) { in dm_bufio_client_create() 1856 kmem_cache_destroy(c->slab_cache); in dm_bufio_client_create() 1907 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 | 2401 sh = alloc_stripe(conf->slab_cache, gfp, conf->pool_size, conf); in grow_one_stripe() 2407 free_stripe(conf->slab_cache, sh); in grow_one_stripe() 2440 conf->slab_cache = sc; in grow_stripes() 2615 free_stripe(conf->slab_cache, osh); in resize_stripes() 2623 kmem_cache_destroy(conf->slab_cache); in resize_stripes() 2653 conf->slab_cache = sc; in resize_stripes() 2711 free_stripe(conf->slab_cache, sh); in drop_one_stripe() 2723 kmem_cache_destroy(conf->slab_cache); in shrink_stripes() 2724 conf->slab_cache = NULL; in shrink_stripes()
|
/Linux-v6.1/mm/ |
D | slab.h | 18 struct kmem_cache *slab_cache; member 35 struct kmem_cache *slab_cache; member 628 return slab->slab_cache; in virt_to_cache()
|
D | slub.c | 1410 if (unlikely(s != slab->slab_cache)) { in free_consistency_checks() 1414 } else if (!slab->slab_cache) { in free_consistency_checks() 1959 slab->slab_cache = s; in allocate_slab() 2023 __free_slab(slab->slab_cache, slab); in rcu_free_slab() 3727 df->s = df->slab->slab_cache; in build_detached_freelist() 4446 struct kmem_cache *s = slab->slab_cache; in __kmem_obj_info() 4548 s = slab->slab_cache; in __check_heap_object() 4807 p->slab_cache = s; in bootstrap() 4811 p->slab_cache = s; in bootstrap()
|
D | slab_common.c | 1006 s = slab->slab_cache; in kfree() 1040 return slab_ksize(folio_slab(folio)->slab_cache); in __ksize()
|
D | slab.c | 1406 cachep = slab->slab_cache; in kmem_rcu_free() 2601 slab->slab_cache = cachep; in cache_grow_begin() 3562 cachep = slab->slab_cache; in __kmem_obj_info() 3632 s = folio_slab(folio)->slab_cache; in kmem_cache_free_bulk() 4035 cachep = slab->slab_cache; in __check_heap_object()
|
D | memcontrol.c | 2930 off = obj_to_index(slab->slab_cache, slab, p); in mem_cgroup_from_obj_folio()
|
/Linux-v6.1/tools/cgroup/ |
D | memcg_slabinfo.py | 199 cache = slab.slab_cache
|
/Linux-v6.1/Documentation/mm/ |
D | split_page_table_lock.rst | 62 allocation: slab uses page->slab_cache for its pages.
|
/Linux-v6.1/mm/kfence/ |
D | core.c | 430 slab->slab_cache = cache; in kfence_guarded_alloc()
|