Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

zone Struct Reference

#include <zalloc.h>


Detailed Description

Zone structure.

Zone structures can be linked together to form one big happy chain. During allocation/free, only the first zone structure of the list is updated. The other zone structures are updated only during the garbage collecting phase, if any.


Data Fields

gchar ** zn_free
 Pointer to first free block.

subzonezn_next
 Next allocated zone chunk, null if none.

gpointer zn_arena
 Base address of zone arena.

gint zn_refcnt
 How many references to that zone?

gint zn_size
 Size of blocks in zone.

gint zn_hint
 Hint size, for next zone extension.

gint zn_cnt
 Amount of used blocks in zone.


Field Documentation

gpointer zone::zn_arena
 

Base address of zone arena.

gint zone::zn_cnt
 

Amount of used blocks in zone.

gchar** zone::zn_free
 

Pointer to first free block.

gint zone::zn_hint
 

Hint size, for next zone extension.

struct subzone* zone::zn_next
 

Next allocated zone chunk, null if none.

gint zone::zn_refcnt
 

How many references to that zone?

gint zone::zn_size
 

Size of blocks in zone.


The documentation for this struct was generated from the following file:
Generated on Sun Feb 12 10:50:13 2006 for Gtk-Gnutella by doxygen 1.3.6