10 #ifndef MTL_PORTALS4_MESSAGE_H
11 #define MTL_PORTALS4_MESSAGE_H
23 ompi_mtl_portals4_message_alloc(
const ptl_event_t *ev)
29 OPAL_FREE_LIST_GET(&ompi_mtl_portals4.fl_message,
32 if (NULL == tmp)
return NULL;
38 if (0 == ev->mlength) {
39 message->buffer = NULL;
44 memcpy(message->buffer, ev->start, ev->mlength);
45 message->ev.start = message->buffer;
54 OPAL_FREE_LIST_RETURN(&ompi_mtl_portals4.fl_message,
Definition: opal_free_list.h:47
Definition: mtl_portals4_message.h:13
#define OBJ_CLASS_DECLARATION(NAME)
Declaration for class descriptor.
Definition: opal_object.h:236