Data Fields | |
size_t | alloc_size |
int | max_length |
int | slack |
int | cur_length |
int | lowest_length |
uint64_t | n_alloc |
uint64_t | n_free |
uint64_t | n_hit |
chunk_t * | head |
size_t chunk_freelist_t::alloc_size |
What size chunks does this freelist hold?
Referenced by assert_freelist_ok(), buf_dump_freelist_sizes(), buf_shrink_freelists(), and get_freelist().
Never allow more than this number of chunks in the freelist.
Referenced by chunk_free_unchecked().
When trimming the freelist, leave this number of extra chunks beyond lowest_length.
Referenced by buf_shrink_freelists().
How many chunks on the freelist now?
Referenced by assert_freelist_ok(), buf_shrink_freelists(), chunk_free_unchecked(), and chunk_new_with_alloc_size().
What's the smallest value of cur_length since the last time we cleaned this freelist?
Referenced by assert_freelist_ok(), buf_shrink_freelists(), and chunk_new_with_alloc_size().
First chunk on the freelist.
Referenced by assert_freelist_ok(), buf_shrink_freelists(), chunk_free_unchecked(), and chunk_new_with_alloc_size().