Home
last modified time | relevance | path

Searched refs:freelist_idx_t (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/mm/
H A Dslab.c166 typedef unsigned char freelist_idx_t; typedef
168 typedef unsigned short freelist_idx_t; typedef
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()
1862 if (left >= cachep->num * sizeof(freelist_idx_t)) in set_off_slab_cache()
2300 return ((freelist_idx_t *) slab->freelist)[idx]; in get_free_obj()
2304 unsigned int idx, freelist_idx_t val) in set_free_obj()
2306 ((freelist_idx_t *)(slab->freelist))[idx] = val; in set_free_obj()
2391 swap(((freelist_idx_t *) slab->freelist)[a], in swap_free_obj()
[all …]