Functions | Variables
memory.mutex.c File Reference

Go to the source code of this file.

Functions

 _end ()
pointer alloc (int s, int e, int cid, int nils)
pointer allocx (int s, int e, int cid, int nils)
 edata ()
 gc ()
pointer halloc (int req, int e, int cid)
 mark (pointer p)
 markall ()
static bpointer mergecell (bpointer p, int cbix)
 newchunk (int k)
 newgcstack (pointer *oldsp)
 reclaim (bpointer p)
bpointer root_alloc_big (context *ctx, int req)
 root_alloc_small (context *ctx, int req)
static void splitheap (int k, struct buddyfree *buddy)
static void sweep (struct chunk *cp, int gcmerge)
void sweepall ()

Variables

mutex_t alloc_lock
long alloccount [MAXBUDDY]
struct chunkchunklist = NULL
long freeheap = 0
long gccount
pointergcsp
pointergcsplimit
pointergcstack
pointer mark_root
int mark_state
pointer marking
pointer marking2
long marktime
char * maxmemory = (char *)0x100000
pointer QPARAGC
long sweeptime
long totalheap = 0

Function Documentation

_end ( )
pointer alloc ( int  s,
int  e,
int  cid,
int  nils 
)

Definition at line 241 of file memory.mutex.c.

pointer allocx ( int  s,
int  e,
int  cid,
int  nils 
)

Definition at line 217 of file memory.mutex.c.

edata ( )
gc ( void  )

Definition at line 473 of file memory.mutex.c.

pointer halloc ( int  req,
int  e,
int  cid 
)

Definition at line 195 of file memory.mutex.c.

mark ( pointer  p)

Definition at line 301 of file memory.mutex.c.

markall ( void  )

Definition at line 363 of file memory.mutex.c.

static bpointer mergecell ( bpointer  p,
int  cbix 
) [static]

Definition at line 415 of file memory.mutex.c.

newchunk ( int  k)

Definition at line 45 of file memory.mutex.c.

newgcstack ( pointer oldsp)

Definition at line 342 of file memory.mutex.c.

reclaim ( bpointer  p)

Definition at line 396 of file memory.mutex.c.

bpointer root_alloc_big ( context ctx,
int  req 
)

Definition at line 97 of file memory.mutex.c.

root_alloc_small ( context ctx,
int  req 
)

Definition at line 141 of file memory.mutex.c.

static void splitheap ( int  k,
struct buddyfree buddy 
) [static]

Definition at line 69 of file memory.mutex.c.

static void sweep ( struct chunk cp,
int  gcmerge 
) [static]

Definition at line 435 of file memory.mutex.c.

void sweepall ( void  )

Definition at line 456 of file memory.mutex.c.


Variable Documentation

mutex_t alloc_lock

Definition at line 42 of file memory.mutex.c.

long alloccount[MAXBUDDY]

Definition at line 39 of file memory.mutex.c.

struct chunk* chunklist = NULL

Definition at line 36 of file memory.mutex.c.

long freeheap = 0

Definition at line 35 of file memory.mutex.c.

long gccount

Definition at line 38 of file memory.mutex.c.

Definition at line 295 of file memory.mutex.c.

Definition at line 295 of file memory.mutex.c.

Definition at line 295 of file memory.mutex.c.

Definition at line 299 of file memory.mutex.c.

Definition at line 361 of file memory.mutex.c.

Definition at line 299 of file memory.mutex.c.

Definition at line 299 of file memory.mutex.c.

long marktime

Definition at line 38 of file memory.mutex.c.

char* maxmemory = (char *)0x100000

Definition at line 34 of file memory.mutex.c.

Definition at line 125 of file eus.c.

long sweeptime

Definition at line 38 of file memory.mutex.c.

long totalheap = 0

Definition at line 35 of file memory.mutex.c.



euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Jun 6 2019 18:05:55