Home
last modified time | relevance | path

Searched refs:obj_to_index (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
H A Dslab_def.h107 static inline unsigned int obj_to_index(const struct kmem_cache *cache, in obj_to_index() function
H A Dslub_def.h185 static inline unsigned int obj_to_index(const struct kmem_cache *cache, in obj_to_index() function
/kernel/linux/linux-6.6/include/linux/
H A Dslab_def.h109 static inline unsigned int obj_to_index(const struct kmem_cache *cache, in obj_to_index() function
H A Dslub_def.h191 static inline unsigned int obj_to_index(const struct kmem_cache *cache, in obj_to_index() function
/kernel/linux/linux-5.10/mm/
H A Dslab.h339 off = obj_to_index(s, page, p[i]); in memcg_slab_post_alloc_hook()
376 off = obj_to_index(s, page, p[i]); in memcg_slab_free_hook()
H A Dslab.c1557 objnr = obj_to_index(cachep, page, objp); in check_poison_obj()
2527 unsigned int objnr = obj_to_index(cachep, page, objp); in slab_put_obj()
2725 objnr = obj_to_index(cachep, page, objp); in cache_free_debugcheck()
4149 objnr = obj_to_index(cachep, page, (void *)ptr); in __check_heap_object()
H A Dmemcontrol.c2983 off = obj_to_index(page->slab_cache, page, p); in mem_cgroup_from_obj()
/kernel/linux/linux-6.6/mm/
H A Dslab.h536 off = obj_to_index(s, slab, p[i]); in memcg_slab_post_alloc_hook()
565 off = obj_to_index(s, slab, p[i]); in memcg_slab_free_hook()
H A Dslab.c1540 objnr = obj_to_index(cachep, slab, objp); in check_poison_obj()
2498 unsigned int objnr = obj_to_index(cachep, slab, objp); in slab_put_obj()
2685 objnr = obj_to_index(cachep, slab, objp); in cache_free_debugcheck()
3539 objnr = obj_to_index(cachep, slab, objp); in __kmem_obj_info()
4009 objnr = obj_to_index(cachep, slab, (void *)ptr); in __check_heap_object()
H A Dslub.c4668 objnr = obj_to_index(s, slab, objp); in __kmem_obj_info()
H A Dmemcontrol.c2971 off = obj_to_index(slab->slab_cache, slab, p); in mem_cgroup_from_obj_folio()
/kernel/linux/linux-6.6/mm/kasan/
H A Dcommon.c177 return (u8)obj_to_index(cache, virt_to_slab(object), (void *)object); in assign_tag()
/kernel/linux/linux-5.10/mm/kasan/
H A Dcommon.c344 return (u8)obj_to_index(cache, virt_to_page(object), (void *)object); in assign_tag()
/kernel/linux/linux-6.6/mm/kfence/
H A Dkfence_test.c296 KUNIT_EXPECT_EQ(test, obj_to_index(s, slab, alloc), 0U); in test_alloc()

Completed in 42 milliseconds