root/ompi/mca/pml/ucx/pml_ucx_freelist.h

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

INCLUDED FROM


   1 /*
   2  * Copyright (C) Mellanox Technologies Ltd. 2001-2011.  ALL RIGHTS RESERVED.
   3  * $COPYRIGHT$
   4  *
   5  * Additional copyrights may follow
   6  *
   7  * $HEADER$
   8  */
   9 
  10 #ifndef PML_UCX_FREELIST_H_
  11 #define PML_UCX_FREELIST_H_
  12 
  13 #include "ompi_config.h"
  14 #include "opal/class/opal_free_list.h"
  15 
  16 
  17 #define mca_pml_ucx_freelist_t opal_free_list_t
  18 
  19 #define PML_UCX_FREELIST_GET(_freelist) \
  20      opal_free_list_get (_freelist)
  21 
  22 #define PML_UCX_FREELIST_RETURN(_freelist, _item) \
  23         opal_free_list_return(_freelist, _item) 
  24 
  25 #define PML_UCX_FREELIST_INIT(_fl, _type, _initial, _max, _batch) \
  26     opal_free_list_init(_fl, sizeof(_type), 8, OBJ_CLASS(_type), \
  27                         0, 0, _initial, _max, _batch, NULL, 0, NULL, NULL, NULL)
  28 
  29 
  30 #endif /* PML_UCX_FREELIST_H_ */

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