pub unsafe extern "C" fn uct_iface_mem_alloc(
iface: uct_iface_h,
length: size_t,
flags: c_uint,
name: *const c_char,
mem: *mut uct_allocated_memory_t,
) -> ucs_status_tExpand description
@ingroup UCT_RESOURCE @brief Allocate memory which can be used for zero-copy communications.
Allocate a region of memory which can be used for zero-copy data transfer or remote access on a particular transport interface.
@param [in] iface Interface to allocate memory on. @param [in] length Size of memory region to allocate. @param [in] flags Memory allocation flags, see @ref uct_md_mem_flags. @param [in] name Allocation name, for debug purposes. @param [out] mem Descriptor of allocated memory.
@return UCS_OK if allocation was successful, error code otherwise.