AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
slab Struct Reference

A slab's header, at the start of its page. More...

Data Fields

struct slab * next
struct slab * prev
struct malloc_type * type
void * free
uint32_t size
uint32_t used

Detailed Description

A slab's header, at the start of its page.

Definition at line 30 of file slab.c.

Field Documentation

◆ free

void* slab::free

Definition at line 33 of file slab.c.

Referenced by slab_alloc(), and slab_free().

◆ next

struct slab* slab::next

Definition at line 31 of file slab.c.

Referenced by slab_link(), and slab_unlink().

◆ prev

struct slab * slab::prev

Definition at line 31 of file slab.c.

Referenced by slab_link(), and slab_unlink().

◆ size

uint32_t slab::size

Definition at line 34 of file slab.c.

Referenced by slab_alloc(), and slab_free().

◆ type

struct malloc_type* slab::type

Definition at line 32 of file slab.c.

Referenced by slab_alloc(), and slab_free().

◆ used

uint32_t slab::used

Definition at line 35 of file slab.c.

Referenced by slab_alloc(), and slab_free().


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