Motr  M0
klnet_vec.c File Reference

Go to the source code of this file.

Functions

static bool nlx_kcore_kiov_invariant (const lnet_kiov_t *k, size_t len)
 
static unsigned bufvec_seg_page_count (const struct m0_bufvec *bvec, unsigned n)
 
static unsigned bufvec_seg_kla_to_kiov (const struct m0_bufvec *bvec, unsigned n, lnet_kiov_t *kiov)
 
static int nlx_kcore_buffer_kla_to_kiov (struct nlx_kcore_buffer *kb, const struct m0_bufvec *bvec)
 
static int bufvec_seg_uva_to_kiov (struct nlx_kcore_buffer *kb, const struct m0_bufvec *bvec, unsigned n, lnet_kiov_t *kiov)
 
static int nlx_kcore_buffer_uva_to_kiov (struct nlx_kcore_buffer *kb, const struct m0_bufvec *bvec)
 
static size_t nlx_kcore_num_kiov_entries_for_bytes (const lnet_kiov_t *kiov, size_t kiov_len, m0_bcount_t bytes, unsigned *last_len)
 

Function Documentation

◆ nlx_kcore_kiov_invariant()

static bool nlx_kcore_kiov_invariant ( const lnet_kiov_t *  k,
size_t  len 
)
static

Invariant for an LNet compatible KIOV

Definition at line 37 of file klnet_vec.c.

Here is the caller graph for this function: