PPL Logo

conv-core/mem-arena.h File Reference

Go to the source code of this file.

Data Structures

struct  _dllnode
struct  _slotblock
struct  _btreenode
struct  _slotset
struct  _slotblock
struct  _slotset

Typedefs

typedef struct _dllnode dllnode
typedef struct _slotblock slotblock
typedef struct _btreenode btreenode
typedef struct _slotset slotset

Functions

slotsetnew_slotset (CmiInt8 startslot, CmiInt8 nslots)
CmiInt8 get_slots (slotset *ss, CmiInt8 nslots)
void grab_slots (slotset *ss, CmiInt8 sslot, CmiInt8 nslots)
void free_slots (slotset *ss, CmiInt8 sslot, CmiInt8 nslots)


Typedef Documentation

typedef struct _dllnode dllnode

Definition at line 29 of file mem-arena.h.

typedef struct _slotblock slotblock

Definition at line 30 of file mem-arena.h.

typedef struct _btreenode btreenode

Definition at line 38 of file mem-arena.h.

typedef struct _slotset slotset


Function Documentation

slotset* new_slotset ( CmiInt8  startslot,
CmiInt8  nslots 
)

CmiInt8 get_slots ( slotset ss,
CmiInt8  nslots 
)

Definition at line 841 of file mem-arena.C.

References find_list_bin(), _slotset::list_array, _dllnode::next, _slotblock::nslots, _dllnode::sb, and _slotblock::startslot.

Here is the call graph for this function:

void grab_slots ( slotset ss,
CmiInt8  sslot,
CmiInt8  nslots 
)

void free_slots ( slotset ss,
CmiInt8  sslot,
CmiInt8  nslots 
)

Definition at line 928 of file mem-arena.C.

References btree_delete(), btree_insert(), _slotset::btree_root, find_btree_slotblock(), list_move(), _slotblock::listblock, _slotblock::nslots, and _slotblock::startslot.

Here is the call graph for this function:


Generated on Mon Sep 21 08:02:01 2020 for Charm++ by  doxygen 1.5.5