PKUOS - Pintos
Pintos source browser for PKU Operating System course
Data Fields
arena Struct Reference

Arena. More...

Collaboration diagram for arena:
Collaboration graph
[legend]

Data Fields

unsigned magic
 Always set to ARENA_MAGIC. More...
 
struct descdesc
 Owning descriptor, null for big block. More...
 
size_t free_cnt
 Free blocks; pages in big block. More...
 

Detailed Description

Arena.

Definition at line 50 of file malloc.c.

Field Documentation

◆ desc

struct desc* arena::desc

Owning descriptor, null for big block.

Definition at line 53 of file malloc.c.

Referenced by arena_to_block(), block_size(), block_to_arena(), free(), and malloc().

◆ free_cnt

size_t arena::free_cnt

Free blocks; pages in big block.

Definition at line 54 of file malloc.c.

Referenced by block_size(), free(), and malloc().

◆ magic

unsigned arena::magic

Always set to ARENA_MAGIC.

Definition at line 52 of file malloc.c.

Referenced by arena_to_block(), block_to_arena(), and malloc().


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