Go to the source code of this file.
Data Structures | |
struct | CmmEntryStruct |
struct | CmmTableStruct |
Typedefs | |
typedef struct CmmEntryStruct * | CmmEntry |
Functions | |
CmmTable | CmmNew (void) |
void | CmmFree (CmmTable t) |
void | CmmFreeAll (CmmTable t) |
void | CmmPut (CmmTable t, int ntags, int *tags, void *msg) |
static int | CmmTagsMatch (int ntags1, int *tags1, int ntags2, int *tags2) |
void * | CmmFind (CmmTable t, int ntags, int *tags, int *rtags, int del) |
int | CmmGetLastTag (CmmTable t, int ntags, int *tags) |
int | CmmEntries (CmmTable t) |
CmmTable | CmmPup (pup_er p, CmmTable t, CmmPupMessageFn msgpup) |
typedef struct CmmEntryStruct* CmmEntry |
CmmTable CmmNew | ( | void | ) |
Definition at line 25 of file msgmgr.C.
References CmiAlloc(), CmmTableStruct::first, and CmmTableStruct::lasth.
Referenced by CmiInitCPUAffinity(), CmmPup(), CPathGetSingle(), cpuTopoHandler(), MBlockChunk::MBlockChunk(), and receiver::receiver().
void CmmFree | ( | CmmTable | t | ) |
Definition at line 33 of file msgmgr.C.
References CmiAbort(), CmiFree(), and CmmTableStruct::first.
Referenced by CmmPup(), cpuAffinityHandler(), cpuTopoHandler(), MBlockChunk::~MBlockChunk(), and receiver::~receiver().
void CmmFreeAll | ( | CmmTable | t | ) |
Definition at line 43 of file msgmgr.C.
References CmiFree(), CmmTableStruct::first, and CmmEntryStruct::next.
Definition at line 54 of file msgmgr.C.
References CmiAlloc(), int, CmmTableStruct::lasth, CmmEntryStruct::msg, CmmEntryStruct::next, CmmEntryStruct::ntags, and CmmEntryStruct::tags.
Referenced by CmmPup(), CPathSendHandler(), cpuAffinityHandler(), cpuTopoHandler(), receiver::irecv(), MBlockChunk::recv(), and receiver::sendTo().
Definition at line 66 of file msgmgr.C.
Referenced by CmmFind(), and CmmGetLastTag().
Definition at line 83 of file msgmgr.C.
References CmiFree(), CmmTagsMatch(), CmmTableStruct::first, CmmTableStruct::lasth, CmmEntryStruct::msg, msg, CmmEntryStruct::next, CmmEntryStruct::ntags, and CmmEntryStruct::tags.
Definition at line 110 of file msgmgr.C.
References CmmTagsMatch(), CmmTableStruct::first, CmmEntryStruct::next, CmmEntryStruct::ntags, and CmmEntryStruct::tags.
Definition at line 125 of file msgmgr.C.
References CmmTableStruct::first, n, and CmmEntryStruct::next.
Referenced by CmmPup(), cpuAffinityHandler(), cpuTopoHandler(), and receiver::pupCmmTable().
CmmTable CmmPup | ( | pup_er | p, | |
CmmTable | t, | |||
CmmPupMessageFn | msgpup | |||
) |
Definition at line 137 of file msgmgr.C.
References CmiFree(), CmmEntries(), CmmFree(), CmmNew(), CmmPut(), CmmTableStruct::first, free(), malloc(), msg, CmmEntryStruct::msg, CmmEntryStruct::next, CmmEntryStruct::ntags, pup_isDeleting(), pup_isUnpacking(), tags, and CmmEntryStruct::tags.
Referenced by MBlockChunk::pup().