MentOS  0.8.0
The Mentoring Operating System
Public Attributes | List of all members
kmem_cache_t Struct Reference

Stores the information of a cache. More...

Public Attributes

list_head cache_list
 Handler for placing it inside a lists of caches.
 
const char * name
 Name of the cache.
 
unsigned int size
 Size of the cache.
 
unsigned int object_size
 Size of the objects contained in the cache.
 
unsigned int align
 Alignment requirement of the type of objects.
 
unsigned int total_num
 The total number of slabs.
 
unsigned int free_num
 The number of free slabs.
 
slab_flags_t flags
 The Get Free Pages (GFP) flags.
 
unsigned int gfp_order
 The order for getting free pages.
 
kmem_fun_t ctor
 Constructor for the elements.
 
kmem_fun_t dtor
 Destructor for the elements.
 
list_head slabs_full
 Handler for the full slabs list.
 
list_head slabs_partial
 Handler for the partial slabs list.
 
list_head slabs_free
 Handler for the free slabs list.
 

Detailed Description

Stores the information of a cache.


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