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)428 num = slab_size / (buffer_size + sizeof(freelist_idx_t)); in cache_estimate()430 (buffer_size + sizeof(freelist_idx_t)); in cache_estimate()1687 freelist_size = num * sizeof(freelist_idx_t); in calculate_slab_order()1841 if (cachep->num * sizeof(freelist_idx_t) > cachep->object_size) in set_objfreelist_slab_cache()1875 if (left >= cachep->num * sizeof(freelist_idx_t)) in set_off_slab_cache()2052 cachep->freelist_size = cachep->num * sizeof(freelist_idx_t); in __kmem_cache_create()2318 static inline freelist_idx_t get_free_obj(struct page *page, unsigned int idx) in get_free_obj()[all …]