membag Struct Reference

Internal structure used by membag to keep track of memory. More...

Collaboration diagram for membag:
Collaboration graph
[legend]

Data Fields

size_t block_size
 Number of bytes per block in this bag.
size_t num_blocks
 Total number of blocks.
struct physmem_poolphys_pool
 Pointer to physical pool to allocate mempool from.
struct mem_pool pool
 Memory pool used for allocation.
void * start
 Pointer to start of this bag.
void * end
 Pointer to end of this bag.

Detailed Description

Internal structure used by membag to keep track of memory.

Definition at line 49 of file membag.c.


Field Documentation

Number of bytes per block in this bag.

Definition at line 50 of file membag.c.

Referenced by membag_alloc(), membag_get_largest_free_block_size(), membag_get_smallest_free_block_size(), membag_get_total(), and membag_pool_init_physmem().

void* membag::end

Pointer to end of this bag.

Definition at line 56 of file membag.c.

Referenced by membag_free(), and membag_pool_init_physmem().

Total number of blocks.

Definition at line 51 of file membag.c.

Referenced by membag_get_total(), and membag_pool_init_physmem().

Pointer to physical pool to allocate mempool from.

Definition at line 52 of file membag.c.

Referenced by membag_pool_init_physmem().

Memory pool used for allocation.

Definition at line 53 of file membag.c.

Referenced by membag_alloc(), membag_free(), membag_get_largest_free_block_size(), membag_get_smallest_free_block_size(), and membag_pool_init_physmem().

Pointer to start of this bag.

Definition at line 55 of file membag.c.

Referenced by membag_free(), and membag_pool_init_physmem().


The documentation for this struct was generated from the following file:
Generated on Thu Apr 29 14:10:02 2010 for display-demo by  doxygen 1.6.3