pub unsafe extern "C" fn sys_mem_blocks_alloc_contiguous(
mem_block: *mut sys_mem_blocks,
count: usize,
out_block: *mut *mut c_void,
) -> i32Expand description
@brief Allocate a contiguous set of memory blocks
Allocate multiple memory blocks, and place their pointers into the output array.
@param[in] mem_block Pointer to memory block object. @param[in] count Number of blocks to allocate. @param[out] out_block Output pointer to the start of the allocated block set
@retval 0 Successful @retval -EINVAL Invalid argument supplied. @retval -ENOMEM Not enough contiguous blocks for allocation.