Go to the source code of this file.
Data Structures | |
struct | _cma_src_buffer_info |
Typedefs | |
typedef struct _cma_src_buffer_info | CmaSrcBufferInfo_t |
Functions | |
int | CmiInitCma () |
void | CmiDisplayCMAThresholds (int cma_min_threshold, int cma_max_threshold) |
int | readShmCma (pid_t remote_pid, struct iovec *local, struct iovec *remote, int numOps, size_t total_bytes) |
int | writeShmCma (pid_t remote_pid, struct iovec *local, struct iovec *remote, int numOps, size_t total_bytes) |
void | handleOneCmaMdMsg (int *sizePtr, char **msgPtr) |
void | handleOneCmaAckMsg (int size, void *msg) |
void | CmiSendMessageCma (char **msgPtr, int *sizePtr) |
typedef struct _cma_src_buffer_info CmaSrcBufferInfo_t |
int CmiInitCma | ( | ) |
Definition at line 7 of file machine-cma.C.
References Ck::IO::close(), cma_works, CmiAbort(), fd, and Ck::IO::open().
Referenced by ConverseInit().
Definition at line 36 of file machine-cma.C.
References _Cmi_mynode, CmiAbort(), and CmiPrintf().
Referenced by ConverseInit().
int readShmCma | ( | pid_t | remote_pid, | |
struct iovec * | local, | |||
struct iovec * | remote, | |||
int | numOps, | |||
size_t | total_bytes | |||
) |
Definition at line 48 of file machine-cma.C.
References CmiAbort().
Referenced by CmiIssueRgetUsingCMA(), and handleOneCmaMdMsg().
int writeShmCma | ( | pid_t | remote_pid, | |
struct iovec * | local, | |||
struct iovec * | remote, | |||
int | numOps, | |||
size_t | total_bytes | |||
) |
Definition at line 66 of file machine-cma.C.
References CmiAbort().
Referenced by CmiIssueRputUsingCMA().
void handleOneCmaMdMsg | ( | int * | sizePtr, | |
char ** | msgPtr | |||
) |
Definition at line 92 of file machine-cma.C.
References CmiAlloc(), CmiInterSendNetworkFunc(), CMK_CMA_ACK_MSG, readShmCma(), _cma_src_buffer_info::size, _cma_src_buffer_info::srcAddr, _cma_src_buffer_info::srcPE, and _cma_src_buffer_info::srcPid.
Referenced by handleOneRecvedMsg().
void handleOneCmaAckMsg | ( | int | size, | |
void * | msg | |||
) |
Definition at line 134 of file machine-cma.C.
References CmiFree(), and _cma_src_buffer_info::srcAddr.
Referenced by handleOneRecvedMsg().
void CmiSendMessageCma | ( | char ** | msgPtr, | |
int * | sizePtr | |||
) |
Definition at line 149 of file machine-cma.C.
References CmiAlloc(), CmiMyPe(), CMK_CMA_MD_MSG, _cma_src_buffer_info::size, _cma_src_buffer_info::srcAddr, _cma_src_buffer_info::srcPE, and _cma_src_buffer_info::srcPid.
Referenced by CmiInterSendNetworkFunc().