Searched refs:slab_cache (Results 1 – 13 of 13) sorted by relevance
| /linux/mm/kasan/ |
| H A D | common.c | 485 poison_kmalloc_redzone(slab->slab_cache, object, size, flags); in __kasan_krealloc() 536 if (check_slab_allocation(slab->slab_cache, ptr, ip)) in __kasan_mempool_poison_object() 539 poison_slab_object(slab->slab_cache, ptr, false); in __kasan_mempool_poison_object() 564 unpoison_slab_object(slab->slab_cache, ptr, flags, false); in __kasan_mempool_unpoison_object() 567 if (is_kmalloc_cache(slab->slab_cache)) in __kasan_mempool_unpoison_object() 568 poison_kmalloc_redzone(slab->slab_cache, ptr, size, flags); in __kasan_mempool_unpoison_object()
|
| H A D | quarantine.c | 131 return virt_to_slab(qlink)->slab_cache; in qlink_to_cache()
|
| H A D | report.c | 502 info->cache = slab->slab_cache; in complete_report_info()
|
| H A D | generic.c | 549 cache = slab->slab_cache; in kasan_record_aux_stack()
|
| /linux/Documentation/translations/zh_CN/mm/ |
| H A D | split_page_table_lock.rst | 62 确保架构不使用slab分配器来分配页表:slab使用page->slab_cache来分配其页
|
| /linux/mm/ |
| H A D | slab.h | 71 struct kmem_cache *slab_cache; member 103 SLAB_MATCH(compound_head, slab_cache); /* Ensure bit 0 is clear */
|
| H A D | slub.c | 1759 if (unlikely(s != slab->slab_cache)) { in free_consistency_checks() 1760 if (!slab->slab_cache) { in free_consistency_checks() 2051 unsigned int offs = obj_to_index(obj_exts_slab->slab_cache, in mark_objexts_empty() 2400 s = slab->slab_cache; in memcg_slab_post_charge() 3269 slab->slab_cache = s; in allocate_slab() 3324 __free_slab(slab->slab_cache, slab); in rcu_free_slab() 6510 s = slab->slab_cache; in free_deferred_objects() 6530 deactivate_slab(slab->slab_cache, slab, slab->flush_freelist); in free_deferred_objects() 6532 free_slab(slab->slab_cache, slab); in free_deferred_objects() 6724 s = slab->slab_cache; in slab_free_after_rcu_debug() [all...] |
| H A D | slab_common.c | 1017 skip_orig_size_check(slab->slab_cache, object); in __ksize() 1020 return slab_ksize(slab->slab_cache); in __ksize() 1275 return slab ? slab->slab_cache : NULL; in bpf_get_kmem_cache() 1627 s = slab->slab_cache; in kfree_rcu_sheaf()
|
| H A D | memcontrol.c | 2606 off = obj_to_index(slab->slab_cache, slab, p); in mem_cgroup_from_obj_slab()
|
| /linux/drivers/md/ |
| H A D | dm-bufio.c | 984 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() 2533 c->slab_cache = kmem_cache_create(slab_name, block_size, align, in dm_bufio_client_create() 2535 if (!c->slab_cache) { in dm_bufio_client_create() 2596 kmem_cache_destroy(c->slab_cache); in dm_bufio_client_create() 2647 kmem_cache_destroy(c->slab_cache); in dm_bufio_client_destroy()
|
| H A D | raid5.c | 2382 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()
|
| /linux/tools/cgroup/ |
| H A D | memcg_slabinfo.py | 198 cache = slab.slab_cache
|
| /linux/mm/kfence/ |
| H A D | core.c | 490 slab->slab_cache = cache; in kfence_guarded_alloc()
|