nckernel  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
page_allocator Struct Reference

Data Fields

unsigned long base
 
char bitmap []
 
unsigned long bitmap_sz
 
unsigned long max_order
 
unsigned long nr_of_pages
 
unsigned int page_size_bits
 

Detailed Description

Note
4KB 1048576 (1 MB) bits. 131072 bytes 120 KB 849 bytes (4KB pages only) 241 KB 674 bytes

Definition at line 21 of file page_allocator.c.

Field Documentation

unsigned long base
char bitmap[]

Definition at line 30 of file page_allocator.c.

Referenced by page_allocator_alloc(), and page_allocator_free().

unsigned long bitmap_sz
unsigned long max_order

Max order to represent the number of pages in a bitmap

Definition at line 25 of file page_allocator.c.

Referenced by page_allocator_alloc(), page_allocator_dump_header(), and page_allocator_free().

unsigned long nr_of_pages

The number of pages

Definition at line 23 of file page_allocator.c.

Referenced by page_allocator_dump_header(), page_allocator_get_region(), and page_allocator_info_size().

unsigned int page_size_bits

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