23 #ifndef MCA_BTL_SM_SEND_FRAG_H
24 #define MCA_BTL_SM_SEND_FRAG_H
26 #include "ompi_config.h"
30 #define MCA_BTL_SM_FRAG_TYPE_MASK ((uintptr_t)0x3)
31 #define MCA_BTL_SM_FRAG_SEND ((uintptr_t)0x0)
32 #define MCA_BTL_SM_FRAG_ACK ((uintptr_t)0x1)
33 #define MCA_BTL_SM_FRAG_PUT ((uintptr_t)0x2)
34 #define MCA_BTL_SM_FRAG_GET ((uintptr_t)0x3)
36 #define MCA_BTL_SM_FRAG_STATUS_MASK ((uintptr_t)0x4)
44 mca_btl_base_tag_t tag;
71 #define MCA_BTL_SM_FRAG_ALLOC_EAGER(frag, rc) \
73 ompi_free_list_item_t* item; \
74 OMPI_FREE_LIST_GET(&mca_btl_sm_component.sm_frags_eager, item, rc); \
75 frag = (mca_btl_sm_frag_t*)item; \
78 #define MCA_BTL_SM_FRAG_ALLOC_MAX(frag, rc) \
80 ompi_free_list_item_t* item; \
81 OMPI_FREE_LIST_GET(&mca_btl_sm_component.sm_frags_max, item, rc); \
82 frag = (mca_btl_sm_frag_t*)item; \
85 #define MCA_BTL_SM_FRAG_ALLOC_USER(frag, rc) \
87 ompi_free_list_item_t* item; \
88 OMPI_FREE_LIST_GET(&mca_btl_sm_component.sm_frags_user, item, rc); \
89 frag = (mca_btl_sm_frag_t*)item; \
93 #define MCA_BTL_SM_FRAG_RETURN(frag) \
95 OMPI_FREE_LIST_RETURN(frag->my_list, (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
shared memory send fragment derived type.
Definition: btl_sm_frag.h:51
Definition: ompi_free_list.h:39
Definition: btl_sm_frag.h:40
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