ROSS
buddy_list Struct Reference

#include <buddy.h>

Public Member Functions

 LIST_ENTRY (buddy_list) next_freelist
 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))]

Detailed Description

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.

Definition at line 22 of file buddy.h.

Member Function Documentation

◆ LIST_ENTRY() [1/2]

buddy_list::LIST_ENTRY ( buddy_list )

◆ LIST_ENTRY() [2/2]

buddy_list::LIST_ENTRY ( buddy_list )

References BUDDY_ALIGN_PREF, padding, size, and use.

Field Documentation

◆ padding

char buddy_list::padding

Definition at line 28 of file buddy.h.

Referenced by LIST_ENTRY().

◆ size

uint32_t buddy_list::size

◆ use


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