Type Alias uct_allocated_memory_t

Source
pub type uct_allocated_memory_t = uct_allocated_memory;
Expand description

@ingroup UCT_MD @brief Describes a memory allocated by UCT.

This structure describes the memory block which includes the address, size, and Memory Domain used for allocation. This structure is passed to interface and the memory is allocated by memory allocation functions @ref uct_mem_alloc.

Aliased Type§

struct uct_allocated_memory_t {
    pub address: *mut c_void,
    pub length: u32,
    pub method: uct_alloc_method_t,
    pub mem_type: ucs_memory_type,
    pub md: *mut uct_md,
    pub memh: *mut c_void,
}

Fields§

§address: *mut c_void

< Address of allocated memory

§length: u32

< Real size of allocated memory

§method: uct_alloc_method_t

< Method used to allocate the memory

§mem_type: ucs_memory_type

< type of allocated memory

§md: *mut uct_md

< if method==MD: MD used to allocate the memory

§memh: *mut c_void

< if method==MD: MD memory handle