Home
last modified time | relevance | path

Searched refs:virt_to_slab (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.6/mm/kasan/
Dcommon.c36 return virt_to_slab(addr); in kasan_addr_to_slab()
177 return (u8)obj_to_index(cache, virt_to_slab(object), (void *)object); in assign_tag()
214 if (unlikely(nearest_obj(cache, virt_to_slab(object), object) != in ____kasan_slab_free()
436 slab = virt_to_slab(object); in __kasan_krealloc()
Dquarantine.c129 return virt_to_slab(qlink)->slab_cache; in qlink_to_cache()
/Linux-v6.6/mm/
Dslab.h211 static inline struct slab *virt_to_slab(const void *addr) in virt_to_slab() function
527 slab = virt_to_slab(p[i]); in memcg_slab_post_alloc_hook()
625 slab = virt_to_slab(obj); in virt_to_cache()
Dslab.c780 int slab_node = slab_nid(virt_to_slab(objp)); in cache_free_alien()
1537 struct slab *slab = virt_to_slab(objp); in check_poison_obj()
2675 slab = virt_to_slab(objp); in cache_free_debugcheck()
3269 slab = virt_to_slab(objp); in free_block()
3353 memcg_slab_free_hook(cachep, virt_to_slab(objp), &objp, 1); in __cache_free()
3408 struct slab *slab = virt_to_slab(objp); in ___cache_free()
3538 slab = virt_to_slab(objp); in __kmem_obj_info()
Dslab_common.c583 slab = virt_to_slab(object); in kmem_dump_obj()
Dslub.c3816 do_slab_free(cache, virt_to_slab(x), x, NULL, 1, addr); in ___cache_free()
3822 slab_free(s, virt_to_slab(x), x, NULL, &x, 1, caller); in __kmem_cache_free()
3831 slab_free(s, virt_to_slab(x), x, NULL, &x, 1, _RET_IP_); in kmem_cache_free()
3895 if (df->slab == virt_to_slab(object)) { in build_detached_freelist()
/Linux-v6.6/mm/kfence/
Dkfence_test.c286 struct slab *slab = virt_to_slab(alloc); in test_alloc()
Dcore.c464 slab = virt_to_slab((void *)meta->addr); in kfence_guarded_alloc()