|
libcute 0.1
|
Memory block managed by the slab allocator. More...

Public Attributes | |
| struct cu_SlabAllocator_Slab * | next |
| cu_Bitmap | used |
| size_t | slabCount |
| size_t | freeCount |
| unsigned char | data [] |
Memory block managed by the slab allocator.
Each block maintains its own bitmap sized to slabCount bits that records which slab slots are currently in use.
| unsigned char cu_SlabAllocator_Slab::data[] |
backing storage
| size_t cu_SlabAllocator_Slab::freeCount |
remaining free slots
| struct cu_SlabAllocator_Slab* cu_SlabAllocator_Slab::next |
next slab in the list
| size_t cu_SlabAllocator_Slab::slabCount |
total slab slots
| cu_Bitmap cu_SlabAllocator_Slab::used |
allocation bitmap