Home
last modified time | relevance | path

Searched refs:umd (Results 1 – 2 of 2) sorted by relevance

/drivers/staging/lustre/lnet/lnet/
Dlib-md.c89 lnet_md_build(lnet_libmd_t *lmd, lnet_md_t *umd, int unlink) in lnet_md_build() argument
96 lmd->md_start = umd->start; in lnet_md_build()
98 lmd->md_max_size = umd->max_size; in lnet_md_build()
99 lmd->md_options = umd->options; in lnet_md_build()
100 lmd->md_user_ptr = umd->user_ptr; in lnet_md_build()
102 lmd->md_threshold = umd->threshold; in lnet_md_build()
106 if ((umd->options & LNET_MD_IOVEC) != 0) { in lnet_md_build()
108 if ((umd->options & LNET_MD_KIOV) != 0) /* Can't specify both */ in lnet_md_build()
111 lmd->md_niov = niov = umd->length; in lnet_md_build()
112 memcpy(lmd->md_iov.iov, umd->start, in lnet_md_build()
[all …]
/drivers/staging/lustre/include/linux/lnet/
Dlib-lnet.h250 lnet_md_alloc(lnet_md_t *umd) in lnet_md_alloc() argument
379 lnet_md_alloc(lnet_md_t *umd) in lnet_md_alloc() argument
386 if ((umd->options & LNET_MD_KIOV) != 0) { in lnet_md_alloc()
387 niov = umd->length; in lnet_md_alloc()
390 niov = ((umd->options & LNET_MD_IOVEC) != 0) ? in lnet_md_alloc()
391 umd->length : 1; in lnet_md_alloc()
399 md->md_options = umd->options; in lnet_md_alloc()
828 void lnet_md_deconstruct(lnet_libmd_t *lmd, lnet_md_t *umd);