Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
slab Struct Reference

#include <slab.h>

Data Fields

uint32_t magic
 
struct slabnext
 
void * first_obj
 
void * free_list
 
size_t total_objects
 
size_t free_objects
 
uintptr_t phys_addr
 

Detailed Description

Definition at line 8 of file slab.h.

Field Documentation

◆ first_obj

void* slab::first_obj

Definition at line 11 of file slab.h.

Referenced by slab_free(), and vxSlabAlloc().

◆ free_list

void* slab::free_list

Definition at line 12 of file slab.h.

Referenced by slab_free(), and vxSlabAlloc().

◆ free_objects

size_t slab::free_objects

Definition at line 14 of file slab.h.

Referenced by slab_free(), and vxSlabAlloc().

◆ magic

uint32_t slab::magic

Definition at line 9 of file slab.h.

Referenced by vxSlabAlloc().

◆ next

struct slab* slab::next

Definition at line 10 of file slab.h.

Referenced by slab_cache_destroy(), slab_free(), and vxSlabAlloc().

◆ phys_addr

uintptr_t slab::phys_addr

Definition at line 15 of file slab.h.

Referenced by slab_cache_destroy(), and vxSlabAlloc().

◆ total_objects

size_t slab::total_objects

Definition at line 13 of file slab.h.

Referenced by slab_free(), and vxSlabAlloc().


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