arch/elan/persistent.c File Reference

Elan persistent communication. More...

Go to the source code of this file.

Data Structures

struct  pmsg_list

Typedefs

typedef pmsg_list PMSG_LIST

Functions

void CmiSendPersistentMsg (PersistentHandle h, int destPE, int size, void *m)
void CmiSyncSendPersistent (int destPE, int size, char *msg, PersistentHandle h)
static int remote_put_done (PMSG_LIST *smsg)
void release_pmsg_list ()
void CmiReference (void *blk)
 Increment the reference count for this block's owner.
int PumpPersistent ()
void * PerAlloc (int size)
void PerFree (char *msg)
void persist_machine_init (void)
void setupRecvSlot (PersistentReceivesTable *slot, int maxBytes)

Variables

static PMSG_LISTpending_persistent_msgs = NULL
static PMSG_LISTend_pending_persistent_msgs = NULL
static PMSG_LISTfree_list_head = NULL


Detailed Description

Elan persistent communication.

Definition in file persistent.c.


Typedef Documentation

typedef struct pmsg_list PMSG_LIST


Function Documentation

void CmiSyncSendPersistent ( int  destPE,
int  size,
char *  msg,
PersistentHandle  h 
)

Definition at line 124 of file persistent.c.

References CdsFifo_Enqueue(), CmiAlloc(), CmiGetState(), CmiSendPersistentMsg(), CQdCreate(), CmiStateStruct::pe, and size.

Referenced by KillOnAllSigs().

static int remote_put_done ( PMSG_LIST smsg  )  [static]

Definition at line 145 of file persistent.c.

References pmsg_list::addr, CmiFree(), pmsg_list::destpe, pmsg_list::e, elan_base, pmsg_list::h, pmsg_list::msg, pmsg_list::phase, pmsg_list::size, and pmsg_list::strategy.

Referenced by release_pmsg_list().

void release_pmsg_list (  ) 

Definition at line 175 of file persistent.c.

References end_pending_persistent_msgs, free_list_head, pmsg_list::next, pending_persistent_msgs, remote_put_done(), and status().

Referenced by CmiReleaseSentMessages().

void persist_machine_init ( void   ) 

Definition at line 270 of file persistent.c.

Referenced by CmiPersistentInit(), and KillOnAllSigs().


Variable Documentation

PMSG_LIST* pending_persistent_msgs = NULL [static]

Definition at line 37 of file persistent.c.

Referenced by release_pmsg_list().

PMSG_LIST* end_pending_persistent_msgs = NULL [static]

Definition at line 38 of file persistent.c.

Referenced by release_pmsg_list().

PMSG_LIST* free_list_head = NULL [static]

Definition at line 39 of file persistent.c.

Referenced by release_pmsg_list().


Generated on Sun Jun 29 13:29:32 2008 for Charm++ by  doxygen 1.5.1