Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

Slab Class Reference

A Slab is a page of memory that contains slab objects all of the same size. More...

#include <slaballoc.h>

Inherits List_node.

Inheritance diagram for Slab:

Inheritance graph
[legend]
Collaboration diagram for Slab:

Collaboration graph
[legend]
List of all members.

Public Attributes

Pagepage
unsigned allocated_count
List< Slab_objectfree_list

Detailed Description

A Slab is a page of memory that contains slab objects all of the same size.


Member Data Documentation

unsigned Slab::allocated_count
 

objects allocated from this slab

List<Slab_object> Slab::free_list
 

unallocated objects in this slab

Page* Slab::page
 

the page this slab resides on


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

Torsion Operating System, Copyright (C) 2000-2004 Dan Helfman