kiba-engine
Data Fields
free_list_allocator_block Struct Reference

Internal state of the free_list_allocator. More...

Collaboration diagram for free_list_allocator_block:

Data Fields

void * data
 Pointer to beginning of managed block.
 
usize size
 Size in bytes of the usable data block.
 
struct free_list_allocator_blocknext
 Pointer to the next block in the linked list.
 
free_list_entryfree_list
 Pointer to free list.
 

Detailed Description

Internal state of the free_list_allocator.

Memory is managed as a linked list. Each block also points to a free list modeled as a linked list which is stored in the same memory block.

Definition at line 219 of file free_list.c.


The documentation for this struct was generated from the following file: