Searched refs:index_to_obj (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/mm/ |
D | slab.c | 375 static inline void *index_to_obj(struct kmem_cache *cache, in index_to_obj() function 1549 objp = index_to_obj(cachep, slab, objnr - 1); in check_poison_obj() 1555 objp = index_to_obj(cachep, slab, objnr + 1); in check_poison_obj() 1576 void *objp = index_to_obj(cachep, slab, i); in slab_destroy_debugcheck() 2324 void *objp = index_to_obj(cachep, slab, i); in cache_init_objs_debug() 2435 slab->freelist = index_to_obj(cachep, slab, objfreelist) + in shuffle_freelist() 2485 slab->freelist = index_to_obj(cachep, slab, cachep->num - 1) + in cache_init_objs() 2490 objp = index_to_obj(cachep, slab, i); in cache_init_objs() 2509 objp = index_to_obj(cachep, slab, get_free_obj(slab, slab->active)); in slab_get_obj() 2708 BUG_ON(objp != index_to_obj(cachep, slab, objnr)); in cache_free_debugcheck() [all …]
|