PPL Logo

arch/net/machine-ammasso.c File Reference

Go to the source code of this file.

Functions

static void ammasso_check_err (cc_status_t returnCode, const char *routine, int line)
static int ammasso_check_post_err (cc_status_t returnCode, const char *routine, int line, int *nWR, int nodeTo, int retry)
void CmiMachineInit (char **argv)
void CmiAmmassoNodeAddressesStoreHandler (int pe, struct sockaddr_in *addr, int port)
void AmmassoDoIdle ()
void CmiNotifyIdle (void)
static CmiIdleStateCmiNotifyGetState (void)
static void CmiNotifyBeginIdle (CmiIdleState *s)
static void CmiNotifyStillIdle (CmiIdleState *s)
void sendAck (OtherNode node)
AmmassoTokengetQPSendToken (OtherNode node)
int sendDataOnQP (char *data, int len, OtherNode node, char flags)
void DeliverViaNetwork (OutgoingMsg msg, OtherNode otherNode, int rank, unsigned int broot, int copy)
static void CommunicationServer (int withDelayMs, int where)
void CmiMachineExit ()
void AsynchronousEventHandler (cc_rnic_handle_t rnic, cc_event_record_t *eventRecord, void *cb)
void CheckRecvBufForMessage (OtherNode node)
void CmiAmmassoOpenQueuePairs ()
void processAmmassoControlMessage (char *msg, int len, Tailer *tail, OtherNode from)
int ProcessMessage (char *msg, int len, Tailer *tail, OtherNode from)
OtherNode getNodeFromQPId (cc_qp_id_t qp_id)
OtherNode getNodeFromQPHandle (cc_qp_handle_t qp)
void establishQPConnection (OtherNode node, int reuseQPFlag)
void reestablishQPConnection (OtherNode node)
void closeQPConnection (OtherNode node, int destroyQPFlag)
void BufferAlloc (int n)
void TokenAlloc (int n)
void RequestTokens (OtherNode node, int n)
void GrantTokens (OtherNode node, int n)
void RequestReleaseTokens (OtherNode node, int n)
void ReleaseTokens (OtherNode node, int n)
void AllocatorCheck ()
void CmiCommunicationInit (char **argv)
int CheckSocketsReady (int withDelayMs)
static void ServiceCharmrun_nolock ()
static void CommunicationServer_nolock (int withDelayMs)
char * cc_status_to_string (cc_status_t errorCode)
char * cc_conn_error_to_string (cc_connect_status_t errorCode)
void displayQueueQuery (cc_qp_handle_t qp, cc_qp_query_attrs_t *attrs)
char * cc_qp_state_to_string (cc_qp_state_t qpState)
char * cc_event_id_to_string (cc_event_id_t id)
char * cc_connect_status_to_string (cc_connect_status_t status)


Function Documentation

static void ammasso_check_err ( cc_status_t  returnCode,
const char *  routine,
int  line 
) [static]

static int ammasso_check_post_err ( cc_status_t  returnCode,
const char *  routine,
int  line,
int nWR,
int  nodeTo,
int  retry 
) [static]

void CmiAmmassoNodeAddressesStoreHandler ( int  pe,
struct sockaddr_in *  addr,
int  port 
)

Definition at line 454 of file machine-ammasso.c.

Referenced by node_addresses_store().

void AmmassoDoIdle (  ) 

static CmiIdleState * CmiNotifyGetState ( void   )  [static]

Definition at line 499 of file machine-ammasso.c.

Referenced by KillOnAllSigs(), and SendMsgBuf().

static void CmiNotifyBeginIdle ( CmiIdleState s  )  [static]

Definition at line 503 of file machine-ammasso.c.

References AmmassoDoIdle().

Referenced by KillOnAllSigs(), and SendMsgBuf().

static void CmiNotifyStillIdle ( CmiIdleState s  )  [static]

void sendAck ( OtherNode  node  ) 

AmmassoToken * getQPSendToken ( OtherNode  node  ) 

int sendDataOnQP ( char *  data,
int  len,
OtherNode  node,
char  flags 
)

void DeliverViaNetwork ( OutgoingMsg  msg,
OtherNode  otherNode,
int  rank,
unsigned int  broot,
int  copy 
)

static void CommunicationServer ( int  withDelayMs,
int  where 
) [static]

void AsynchronousEventHandler ( cc_rnic_handle_t  rnic,
cc_event_record_t *  eventRecord,
void *  cb 
)

void CheckRecvBufForMessage ( OtherNode  node  ) 

void CmiAmmassoOpenQueuePairs (  ) 

void processAmmassoControlMessage ( char *  msg,
int  len,
Tailer tail,
OtherNode  from 
)

int ProcessMessage ( char *  msg,
int  len,
Tailer tail,
OtherNode  from 
)

OtherNode getNodeFromQPId ( cc_qp_id_t  qp_id  ) 

Definition at line 1621 of file machine-ammasso.c.

References contextBlock, nodes, and __context_block::numNodes.

Referenced by AsynchronousEventHandler().

OtherNode getNodeFromQPHandle ( cc_qp_handle_t  qp  ) 

Definition at line 1634 of file machine-ammasso.c.

References contextBlock, nodes, and __context_block::numNodes.

Referenced by displayQueueQuery().

void establishQPConnection ( OtherNode  node,
int  reuseQPFlag 
)

void reestablishQPConnection ( OtherNode  node  ) 

void closeQPConnection ( OtherNode  node,
int  destroyQPFlag 
)

Definition at line 2715 of file machine-ammasso.c.

Referenced by CmiMachineExit(), and reestablishQPConnection().

void BufferAlloc ( int  n  ) 

void TokenAlloc ( int  n  ) 

void RequestTokens ( OtherNode  node,
int  n 
)

Definition at line 286 of file machine-ammasso.c.

References sendDataOnQP().

void GrantTokens ( OtherNode  node,
int  n 
)

void RequestReleaseTokens ( OtherNode  node,
int  n 
)

Definition at line 326 of file machine-ammasso.c.

References sendDataOnQP().

void ReleaseTokens ( OtherNode  node,
int  n 
)

void AllocatorCheck (  ) 

void CmiCommunicationInit ( char **  argv  ) 

Definition at line 450 of file machine-ammasso.c.

Referenced by KillOnAllSigs().

int CheckSocketsReady ( int  withDelayMs  ) 

static void ServiceCharmrun_nolock (  )  [static]

Definition at line 995 of file machine-ammasso.c.

References CheckSocketsReady(), and ctrlskt_ready_read.

Referenced by CommunicationServer().

static void CommunicationServer_nolock ( int  withDelayMs  )  [static]

char* cc_status_to_string ( cc_status_t  errorCode  ) 

char* cc_conn_error_to_string ( cc_connect_status_t  errorCode  ) 

Definition at line 2841 of file machine-ammasso.c.

References cc_status_to_string().

void displayQueueQuery ( cc_qp_handle_t  qp,
cc_qp_query_attrs_t *  attrs 
)

char* cc_qp_state_to_string ( cc_qp_state_t  qpState  ) 

Definition at line 2891 of file machine-ammasso.c.

Referenced by displayQueueQuery(), and reestablishQPConnection().

char* cc_event_id_to_string ( cc_event_id_t  id  ) 

Definition at line 2904 of file machine-ammasso.c.

Referenced by AsynchronousEventHandler().

char* cc_connect_status_to_string ( cc_connect_status_t  status  ) 

Definition at line 2956 of file machine-ammasso.c.

Referenced by AsynchronousEventHandler().


Generated on Sat May 26 08:08:05 2012 for Charm++ by  doxygen 1.5.5