OpenMPI 0.1.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

Data Structures | Macros | Typedefs | Functions
pml_ob1_recvfrag.h File Reference
`#include "ompi/mca/btl/btl.h"`
`#include "pml_ob1_hdr.h"`

Go to the source code of this file.

## Data Structures
struct | mca_pml_ob1_buffer_t
struct | mca_pml_ob1_recv_frag_t

## Macros
#define | MCA_PML_OB1_RECV_FRAG_ALLOC(frag, rc)
#define | MCA_PML_OB1_RECV_FRAG_INIT(frag, hdr, segs, cnt, btl)
#define | MCA_PML_OB1_RECV_FRAG_RETURN(frag)

## Typedefs
typedef struct mca_pml_ob1_buffer_t | mca_pml_ob1_buffer_t
typedef struct mca_pml_ob1_recv_frag_t | mca_pml_ob1_recv_frag_t

## Functions
| OBJ_CLASS_DECLARATION (mca_pml_ob1_recv_frag_t)
void | mca_pml_ob1_recv_frag_callback_match (mca_btl_base_module_t *btl, mca_btl_base_tag_t tag, mca_btl_base_descriptor_t *descriptor, void *cbdata)
| Callback from BTL on receipt of a recv_frag (match).
void | mca_pml_ob1_recv_frag_callback_rndv (mca_btl_base_module_t *btl, mca_btl_base_tag_t tag, mca_btl_base_descriptor_t *descriptor, void *cbdata)
| Callback from BTL on receipt of a recv_frag (rndv).
void | mca_pml_ob1_recv_frag_callback_rget (mca_btl_base_module_t *btl, mca_btl_base_tag_t tag, mca_btl_base_descriptor_t *descriptor, void *cbdata)
| Callback from BTL on receipt of a recv_frag (rget).
void | mca_pml_ob1_recv_frag_callback_ack (mca_btl_base_module_t *btl, mca_btl_base_tag_t tag, mca_btl_base_descriptor_t *descriptor, void *cbdata)
| Callback from BTL on receipt of a recv_frag (ack).
void | mca_pml_ob1_recv_frag_callback_frag (mca_btl_base_module_t *btl, mca_btl_base_tag_t tag, mca_btl_base_descriptor_t *descriptor, void *cbdata)
| Callback from BTL on receipt of a recv_frag (frag).
void | mca_pml_ob1_recv_frag_callback_put (mca_btl_base_module_t *btl, mca_btl_base_tag_t tag, mca_btl_base_descriptor_t *descriptor, void *cbdata)
| Callback from BTL on receipt of a recv_frag (put).
void | mca_pml_ob1_recv_frag_callback_fin (mca_btl_base_module_t *btl, mca_btl_base_tag_t tag, mca_btl_base_descriptor_t *descriptor, void *cbdata)
| Callback from BTL on receipt of a recv_frag (fin).

## Macro Definition Documentation

#define MCA_PML_OB1_RECV_FRAG_ALLOC | ( |  | frag,
|  |  | rc
| ) |  |

Value:
do { \
ompi_free_list_item_t* item; \
OMPI_FREE_LIST_WAIT(&mca_pml_ob1.recv_frags, item, rc); \
frag = (mca_pml_ob1_recv_frag_t*)item; \
} while(0)
mca_pml_ob1_recv_frag_t
Definition: pml_ob1_recvfrag.h:39

#define MCA_PML_OB1_RECV_FRAG_RETURN | ( |  | frag | ) |

Value:
do { \
if( frag->segments[0].seg_len > mca_pml_ob1.unexpected_limit ) { \
/* return buffers */ \
mca_pml_ob1.allocator->alc_free( mca_pml_ob1.allocator, \
frag->buffers[0].addr ); \
} \
frag->num_segments = 0; \
\
/* return recv_frag */ \
OMPI_FREE_LIST_RETURN(&mca_pml_ob1.recv_frags, \
(ompi_free_list_item_t*)frag); \
} while(0)
ompi_free_list_item_t
Definition: ompi_free_list.h:62