Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines
morkZone.h File Reference
#include "mork.h"
#include "morkNode.h"
#include "morkDeque.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  morkRun
class  morkOldRun
class  morkHunk
class  morkZone

Defines

#define morkZone_CONFIG_DEBUG   1 /* debug paranoid if defined */
#define morkZone_CONFIG_VOL_STATS   1 /* count space used by zone instance */
#define morkZone_CONFIG_ARENA   1 /* be arena, if defined; otherwise no-op */
#define morkZone_CONFIG_PTR_SIZE_4   1 /* ifdef: sizeof(void*) == 4 */
#define morkRun_kTag   ((mork_u4) 0x6D52754E ) /* ascii 'mRuN' */
#define morkHunk_kTag   ((mork_u4) 0x68556E4B ) /* ascii 'hUnK' */
#define morkZone_kNewHunkSize   ((mork_size) (64 * 1024)) /* 64K per hunk */
#define morkZone_kMaxFreeVolume   (morkZone_kNewHunkSize * 3)
#define morkZone_kMaxHunkWaste   ((mork_size) 4096) /* 1/16 kNewHunkSize */
#define morkZone_kRoundBits   4 /* bits to round-up size for free lists */
#define morkZone_kRoundSize   (1 << morkZone_kRoundBits)
#define morkZone_kRoundAdd   ((1 << morkZone_kRoundBits) - 1)
#define morkZone_kRoundMask   (~ ((mork_ip) morkZone_kRoundAdd))
#define morkZone_kBuckets   256 /* number of distinct free lists */
#define morkZone_kMaxCachedRun   (morkZone_kBuckets * morkZone_kRoundSize)
#define morkDerived_kZone   /*i*/ 0x5A6E /* ascii 'Zn' */

Define Documentation

#define morkDerived_kZone   /*i*/ 0x5A6E /* ascii 'Zn' */

Definition at line 244 of file morkZone.h.

#define morkHunk_kTag   ((mork_u4) 0x68556E4B ) /* ascii 'hUnK' */

Definition at line 154 of file morkZone.h.

#define morkRun_kTag   ((mork_u4) 0x6D52754E ) /* ascii 'mRuN' */

Definition at line 97 of file morkZone.h.

#define morkZone_CONFIG_ARENA   1 /* be arena, if defined; otherwise no-op */

Definition at line 70 of file morkZone.h.

#define morkZone_CONFIG_DEBUG   1 /* debug paranoid if defined */

Definition at line 58 of file morkZone.h.

#define morkZone_CONFIG_PTR_SIZE_4   1 /* ifdef: sizeof(void*) == 4 */

Definition at line 84 of file morkZone.h.

#define morkZone_CONFIG_VOL_STATS   1 /* count space used by zone instance */

Definition at line 63 of file morkZone.h.

#define morkZone_kBuckets   256 /* number of distinct free lists */

Definition at line 235 of file morkZone.h.

Definition at line 242 of file morkZone.h.

Definition at line 206 of file morkZone.h.

#define morkZone_kMaxHunkWaste   ((mork_size) 4096) /* 1/16 kNewHunkSize */

Definition at line 215 of file morkZone.h.

#define morkZone_kNewHunkSize   ((mork_size) (64 * 1024)) /* 64K per hunk */

Definition at line 196 of file morkZone.h.

Definition at line 232 of file morkZone.h.

#define morkZone_kRoundBits   4 /* bits to round-up size for free lists */

Definition at line 230 of file morkZone.h.

Definition at line 233 of file morkZone.h.

Definition at line 231 of file morkZone.h.