Home
last modified time | relevance | path

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

/mm/kasan/
A Dcommon.c475 poison_kmalloc_redzone(slab->slab_cache, object, size, flags); in __kasan_krealloc()
530 if (check_slab_allocation(slab->slab_cache, ptr, ip)) in __kasan_mempool_poison_object()
533 poison_slab_object(slab->slab_cache, ptr, false); in __kasan_mempool_poison_object()
558 unpoison_slab_object(slab->slab_cache, ptr, flags, false); in __kasan_mempool_unpoison_object()
561 if (is_kmalloc_cache(slab->slab_cache)) in __kasan_mempool_unpoison_object()
562 poison_kmalloc_redzone(slab->slab_cache, ptr, size, flags); in __kasan_mempool_unpoison_object()
A Dquarantine.c131 return virt_to_slab(qlink)->slab_cache; in qlink_to_cache()
A Dreport.c502 info->cache = slab->slab_cache; in complete_report_info()
A Dgeneric.c541 cache = slab->slab_cache; in kasan_record_aux_stack()
/mm/
A Dslab.h55 struct kmem_cache *slab_cache; member
103 SLAB_MATCH(compound_head, slab_cache); /* Ensure bit 0 is clear */
A Dslub.c1685 } else if (!slab->slab_cache) { in free_consistency_checks()
2277 s = slab->slab_cache; in memcg_slab_post_charge()
2676 slab->slab_cache = s; in allocate_slab()
4725 s = slab->slab_cache; in slab_free_after_rcu_debug()
4749 return slab->slab_cache; in virt_to_cache()
4838 s = slab->slab_cache; in kvfree_rcu_cb()
4878 s = slab->slab_cache; in kfree()
5207 df->s = df->slab->slab_cache; in build_detached_freelist()
6078 s = slab->slab_cache; in __check_heap_object()
6295 p->slab_cache = s; in bootstrap()
[all …]
A Dslab_common.c1010 skip_orig_size_check(folio_slab(folio)->slab_cache, object); in __ksize()
1013 return slab_ksize(folio_slab(folio)->slab_cache); in __ksize()
1268 return slab ? slab->slab_cache : NULL; in bpf_get_kmem_cache()
A Dmemcontrol.c2578 off = obj_to_index(slab->slab_cache, slab, p); in mem_cgroup_from_obj_folio()
/mm/kfence/
A Dcore.c489 slab->slab_cache = cache; in kfence_guarded_alloc()

Completed in 60 milliseconds