This source file includes following definitions.
- mca_btl_uct_get_rkey
   1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 
   9 
  10 
  11 
  12 #if !defined(BTL_UCT_RDMA_H)
  13 #define BTL_UCT_RDMA_H
  14 
  15 #include "btl_uct.h"
  16 #include "btl_uct_endpoint.h"
  17 #include "btl_uct_frag.h"
  18 
  19 
  20 
  21 
  22 mca_btl_uct_uct_completion_t *mca_btl_uct_uct_completion_alloc (mca_btl_uct_module_t *btl, mca_btl_base_endpoint_t *endpoint,
  23                                                                 void *local_address, mca_btl_base_registration_handle_t *local_handle,
  24                                                                 mca_btl_uct_device_context_t *dev_context, mca_btl_base_rdma_completion_fn_t cbfunc,
  25                                                                 void *cbcontext, void *cbdata);
  26 
  27 
  28 
  29 void mca_btl_uct_uct_completion_release (mca_btl_uct_uct_completion_t *comp);
  30 
  31 void mca_btl_uct_uct_completion (uct_completion_t *uct_comp, ucs_status_t status);
  32 
  33 
  34 
  35 
  36 
  37 
  38 
  39 
  40 
  41 
  42 
  43 static inline int mca_btl_uct_get_rkey (mca_btl_uct_module_t *module,
  44                                         mca_btl_uct_device_context_t *context,
  45                                         mca_btl_base_endpoint_t *endpoint,
  46                                         mca_btl_base_registration_handle_t *remote_handle,
  47                                         uct_rkey_bundle_t *rkey,
  48                                         uct_ep_h *ep_handle)
  49 {
  50     ucs_status_t ucs_status;
  51     int rc;
  52 
  53     rc = mca_btl_uct_endpoint_check_rdma (module, endpoint, context, ep_handle);
  54     if (OPAL_SUCCESS != rc) {
  55         return rc;
  56     }
  57 
  58     ucs_status = uct_rkey_unpack ((void *) remote_handle, rkey);
  59     return (UCS_OK == ucs_status) ? OPAL_SUCCESS : OPAL_ERROR;
  60 }
  61 
  62 #endif