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

#include <slab.h>

Data Fields

spinlock_t lock
 
char name [32]
 
size_t obj_size
 
size_t actual_obj_size
 
size_t alignment
 
size_t slab_size
 
struct slabslabs_full
 
struct slabslabs_partial
 
struct slabslabs_free
 
size_t total_slabs
 
size_t total_objects
 
size_t free_objects
 
uintptr_t phys_addr
 
uintptr_t current_virt_addr
 
boolean_t default_virt_addr
 

Detailed Description

Definition at line 18 of file slab.h.

Field Documentation

◆ actual_obj_size

size_t slab_cache::actual_obj_size

Definition at line 22 of file slab.h.

◆ alignment

size_t slab_cache::alignment

Definition at line 23 of file slab.h.

◆ current_virt_addr

uintptr_t slab_cache::current_virt_addr

Definition at line 36 of file slab.h.

◆ default_virt_addr

boolean_t slab_cache::default_virt_addr

Definition at line 37 of file slab.h.

◆ free_objects

size_t slab_cache::free_objects

Definition at line 32 of file slab.h.

◆ lock

spinlock_t slab_cache::lock

Definition at line 19 of file slab.h.

◆ name

char slab_cache::name[32]

Definition at line 20 of file slab.h.

◆ obj_size

size_t slab_cache::obj_size

Definition at line 21 of file slab.h.

◆ phys_addr

uintptr_t slab_cache::phys_addr

Definition at line 35 of file slab.h.

◆ slab_size

size_t slab_cache::slab_size

Definition at line 24 of file slab.h.

◆ slabs_free

struct slab* slab_cache::slabs_free

Definition at line 28 of file slab.h.

◆ slabs_full

struct slab* slab_cache::slabs_full

Definition at line 26 of file slab.h.

◆ slabs_partial

struct slab* slab_cache::slabs_partial

Definition at line 27 of file slab.h.

◆ total_objects

size_t slab_cache::total_objects

Definition at line 31 of file slab.h.

◆ total_slabs

size_t slab_cache::total_slabs

Definition at line 30 of file slab.h.


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