#include <buddy.h>
Public Member Functions | |
LIST_ENTRY (buddy_list) next_freelist | |
Data Fields | |
uint32_t | size |
purpose_t | use |
char | padding [(32-2 *sizeof(void *)-sizeof(uint32_t)-sizeof(purpose_t))] |
Metadata about this particular block (and stored at the beginning of this block). One per allocated block of memory. Should be 32 bytes to not screw up alignment.
buddy_list::LIST_ENTRY | ( | buddy_list | ) |
char buddy_list::padding[(32-2 *sizeof(void *)-sizeof(uint32_t)-sizeof(purpose_t))] |
uint32_t buddy_list::size |
Definition at line 25 of file buddy.h.
Referenced by buddy_free(), buddy_split(), buddy_try_merge(), create_buddy_table(), and dump_buddy_table().
purpose_t buddy_list::use |
Definition at line 26 of file buddy.h.
Referenced by buddy_alloc(), buddy_free(), buddy_split(), buddy_try_merge(), create_buddy_table(), and dump_buddy_table().