root/ompi/mca/mtl/portals4/mtl_portals4_message.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. ompi_mtl_portals4_message_construct

   1 /*
   2  * Copyright (c) 2012      Sandia National Laboratories.  All rights reserved.
   3  * $COPYRIGHT$
   4  *
   5  * Additional copyrights may follow
   6  *
   7  * $HEADER$
   8  */
   9 
  10 #include "ompi_config.h"
  11 
  12 #include "ompi/constants.h"
  13 
  14 #include "mtl_portals4.h"
  15 #include "mtl_portals4_message.h"
  16 
  17 static void
  18 ompi_mtl_portals4_message_construct(ompi_mtl_portals4_message_t *message)
  19 {
  20     message->buffer = message + 1;
  21 }
  22 
  23 OBJ_CLASS_INSTANCE(ompi_mtl_portals4_message_t,
  24                    opal_free_list_item_t,
  25                    ompi_mtl_portals4_message_construct, NULL);
  26 

/* [<][>][^][v][top][bottom][index][help] */