Motr  M0
klnet_utils.c File Reference

Go to the source code of this file.

Functions

static uint64_t nlx_kcore_hdr_data_encode_raw (uint32_t tmid, uint32_t portal)
 
static uint64_t nlx_kcore_hdr_data_encode (struct nlx_kcore_transfer_mc *kctm)
 
static void nlx_kcore_hdr_data_decode (uint64_t hdr_data, uint32_t *portal, uint32_t *tmid)
 
static void nlx_kcore_umd_init (struct nlx_kcore_transfer_mc *kctm, struct nlx_core_buffer *lcbuf, struct nlx_kcore_buffer *kcb, int threshold, int max_size, unsigned options, bool isLNetGetOp, lnet_md_t *umd)
 
static void nlx_kcore_kiov_adjust_length (struct nlx_kcore_transfer_mc *ktm, struct nlx_kcore_buffer *kcb, lnet_md_t *umd, m0_bcount_t bytes)
 
static void nlx_kcore_kiov_restore_length (struct nlx_kcore_buffer *kcb)
 
static int nlx_kcore_LNetMDAttach (struct nlx_kcore_transfer_mc *kctm, struct nlx_core_buffer *lcbuf, struct nlx_kcore_buffer *kcb, lnet_md_t *umd)
 
static int nlx_kcore_LNetMDUnlink (struct nlx_kcore_transfer_mc *kctm, struct nlx_kcore_buffer *kcb)
 
static int nlx_kcore_LNetPut (struct nlx_kcore_transfer_mc *kctm, struct nlx_core_buffer *lcbuf, struct nlx_kcore_buffer *kcb, lnet_md_t *umd)
 
static int nlx_kcore_LNetGet (struct nlx_kcore_transfer_mc *kctm, struct nlx_core_buffer *lcbuf, struct nlx_kcore_buffer *kcb, lnet_md_t *umd)
 
static struct nlx_core_domainnlx_kcore_core_domain_map (struct nlx_kcore_domain *kd)
 
static void nlx_kcore_core_domain_unmap (struct nlx_kcore_domain *kd)
 
static struct nlx_core_buffernlx_kcore_core_buffer_map (struct nlx_kcore_buffer *kb)
 
static void nlx_kcore_core_buffer_unmap (struct nlx_kcore_buffer *kb)
 
static struct nlx_core_buffer_eventnlx_kcore_core_bev_map (struct nlx_kcore_buffer_event *kbe)
 
static void nlx_kcore_core_bev_unmap (struct nlx_kcore_buffer_event *kbe)
 
static struct nlx_core_transfer_mcnlx_kcore_core_tm_map (struct nlx_kcore_transfer_mc *ktm)
 
static void nlx_kcore_core_tm_unmap (struct nlx_kcore_transfer_mc *ktm)
 
static struct nlx_core_transfer_mcnlx_kcore_core_tm_map_atomic (struct nlx_kcore_transfer_mc *ktm)
 
static void nlx_kcore_core_tm_unmap_atomic (struct nlx_core_transfer_mc *ctm)