Searched refs:index_to_obj (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/mm/ |
H A D | slab.c | 374 static inline void *index_to_obj(struct kmem_cache *cache, in index_to_obj() function 1542 objp = index_to_obj(cachep, slab, objnr - 1); in check_poison_obj() 1548 objp = index_to_obj(cachep, slab, objnr + 1); in check_poison_obj() 1569 void *objp = index_to_obj(cachep, slab, i); in slab_destroy_debugcheck() 2315 void *objp = index_to_obj(cachep, slab, i); in cache_init_objs_debug() 2416 slab->freelist = index_to_obj(cachep, slab, objfreelist) + in shuffle_freelist() 2465 slab->freelist = index_to_obj(cachep, slab, cachep->num - 1) + in cache_init_objs() 2470 objp = index_to_obj(cachep, slab, i); in cache_init_objs() 2489 objp = index_to_obj(cachep, slab, get_free_obj(slab, slab->active)); in slab_get_obj() 2688 BUG_ON(objp != index_to_obj(cachep, slab, objnr)); in cache_free_debugcheck() [all …]
|