Searched refs:freelist_idx_t (Results 1 – 1 of 1) sorted by relevance
166 typedef unsigned char freelist_idx_t; typedef168 typedef unsigned short freelist_idx_t; typedef171 #define SLAB_OBJ_MAX_NUM ((1 << sizeof(freelist_idx_t) * BITS_PER_BYTE) - 1)427 num = slab_size / (buffer_size + sizeof(freelist_idx_t)); in cache_estimate()429 (buffer_size + sizeof(freelist_idx_t)); in cache_estimate()1669 freelist_size = num * sizeof(freelist_idx_t); in calculate_slab_order()1828 if (cachep->num * sizeof(freelist_idx_t) > cachep->object_size) in set_objfreelist_slab_cache()1862 if (left >= cachep->num * sizeof(freelist_idx_t)) in set_off_slab_cache()2035 cachep->freelist_size = cachep->num * sizeof(freelist_idx_t); in __kmem_cache_create()2298 static inline freelist_idx_t get_free_obj(struct slab *slab, unsigned int idx) in get_free_obj()[all …]