19 #ifndef MCA_BTL_TEMPLATE_FRAG_H
20 #define MCA_BTL_TEMPLATE_FRAG_H
23 #define MCA_BTL_TEMPLATE_FRAG_ALIGN (8)
24 #include "ompi_config.h"
63 #define MCA_BTL_TEMPLATE_FRAG_ALLOC_EAGER(btl, frag, rc) \
66 ompi_free_list_item_t *item; \
67 OMPI_FREE_LIST_GET(&((mca_btl_template_module_t*)btl)->template_frag_eager, item, rc); \
68 frag = (mca_btl_template_frag_t*) item; \
71 #define MCA_BTL_TEMPLATE_FRAG_RETURN_EAGER(btl, frag) \
73 OMPI_FREE_LIST_RETURN(&((mca_btl_template_module_t*)btl)->template_frag_eager, \
74 (ompi_free_list_item_t*)(frag)); \
77 #define MCA_BTL_TEMPLATE_FRAG_ALLOC_MAX(btl, frag, rc) \
80 ompi_free_list_item_t *item; \
81 OMPI_FREE_LIST_GET(&((mca_btl_template_module_t*)btl)->template_frag_max, item, rc); \
82 frag = (mca_btl_template_frag_t*) item; \
85 #define MCA_BTL_TEMPLATE_FRAG_RETURN_MAX(btl, frag) \
87 OMPI_FREE_LIST_RETURN(&((mca_btl_template_module_t*)btl)->template_frag_max, \
88 (ompi_free_list_item_t*)(frag)); \
92 #define MCA_BTL_TEMPLATE_FRAG_ALLOC_USER(btl, frag, rc) \
94 ompi_free_list_item_t *item; \
95 OMPI_FREE_LIST_GET(&((mca_btl_template_module_t*)btl)->template_frag_user, item, rc); \
96 frag = (mca_btl_template_frag_t*) item; \
99 #define MCA_BTL_TEMPLATE_FRAG_RETURN_USER(btl, frag) \
101 OMPI_FREE_LIST_RETURN(&((mca_btl_template_module_t*)btl)->template_frag_user, \
102 (ompi_free_list_item_t*)(frag)); \
A descriptor that holds the parameters to a send/put/get operation along w/ a callback routine that i...
Definition: btl.h:275
TEMPLATE send fratemplateent derived type.
Definition: btl_template_frag.h:32
State of ELAN endpoint connection.
Definition: btl_elan_endpoint.h:33
Describes a region/segment of memory that is addressable by an BTL.
Definition: btl.h:236
#define OBJ_CLASS_DECLARATION(NAME)
Declaration for class descriptor.
Definition: opal_object.h:236