Skip to content

Struct SYN_SlabAllocator

ClassList > SYN_SlabAllocator

Multi-Class Slab Allocator.

  • #include <syn_slab.h>

Public Attributes

Type Name
uint8_t * backing_memory
SYN_SlabClass classes
size_t num_classes
size_t total_memory_size

Public Attributes Documentation

variable backing_memory

uint8_t* SYN_SlabAllocator::backing_memory;

Backing memory pointer


variable classes

SYN_SlabClass SYN_SlabAllocator::classes[SYN_SLAB_MAX_CLASSES];

Slab classes


variable num_classes

size_t SYN_SlabAllocator::num_classes;

Number of configured classes


variable total_memory_size

size_t SYN_SlabAllocator::total_memory_size;

Total backing size



The documentation for this class was generated from the following file src/syntropic/util/syn_slab.h