libcute 0.1
Loading...
Searching...
No Matches
Public Attributes | List of all members
cu_SlabAllocator Struct Reference

#include <slab.h>

Collaboration diagram for cu_SlabAllocator:
Collaboration graph
[legend]

Public Attributes

cu_Allocator backingAllocator
 
struct cu_SlabAllocator_Slabslabs
 
struct cu_SlabAllocator_Slabcurrent
 
size_t slabSize
 

Detailed Description

Runtime state for the slab allocator.

Member Data Documentation

◆ backingAllocator

cu_Allocator cu_SlabAllocator::backingAllocator

allocator used for slabs

◆ current

struct cu_SlabAllocator_Slab* cu_SlabAllocator::current

slab used for new allocations

◆ slabs

struct cu_SlabAllocator_Slab* cu_SlabAllocator::slabs

list of allocated slabs

◆ slabSize

size_t cu_SlabAllocator::slabSize

bytes per slab


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