Searched refs:obj_to_index (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/include/linux/ |
A D | slab_def.h | 109 static inline unsigned int obj_to_index(const struct kmem_cache *cache, in obj_to_index() function
|
A D | slub_def.h | 185 static inline unsigned int obj_to_index(const struct kmem_cache *cache, in obj_to_index() function
|
/linux-6.3-rc2/mm/ |
A D | slab.h | 552 off = obj_to_index(s, slab, p[i]); in memcg_slab_post_alloc_hook() 581 off = obj_to_index(s, slab, p[i]); in memcg_slab_free_hook()
|
A D | slab.c | 1545 objnr = obj_to_index(cachep, slab, objp); in check_poison_obj() 2518 unsigned int objnr = obj_to_index(cachep, slab, objp); in slab_put_obj() 2705 objnr = obj_to_index(cachep, slab, objp); in cache_free_debugcheck() 3559 objnr = obj_to_index(cachep, slab, objp); in __kmem_obj_info() 4029 objnr = obj_to_index(cachep, slab, (void *)ptr); in __check_heap_object()
|
A D | slub.c | 4646 objnr = obj_to_index(s, slab, objp); in __kmem_obj_info()
|
A D | memcontrol.c | 2944 off = obj_to_index(slab->slab_cache, slab, p); in mem_cgroup_from_obj_folio()
|
/linux-6.3-rc2/mm/kasan/ |
A D | common.c | 177 return (u8)obj_to_index(cache, virt_to_slab(object), (void *)object); in assign_tag()
|
/linux-6.3-rc2/mm/kfence/ |
A D | kfence_test.c | 294 KUNIT_EXPECT_EQ(test, obj_to_index(s, slab, alloc), 0U); in test_alloc()
|
Completed in 49 milliseconds