Scroll to navigation

lsm_block_range_record_alloc(3) Libstoragemgmt C API Manual lsm_block_range_record_alloc(3)

NAME

lsm_block_range_record_alloc - Allocates memory for a lsm_block_range record.

SYNOPSIS

lsm_block_range * lsm_block_range_record_alloc (uint64_t source_start, uint64_t dest_start, uint64_t block_count);

ARGUMENTS

The start block of replication source.
The start block of replication destination.
The count of blocks for this block range.

VERSION

1.0

DESCRIPTION

Allocates memory for lsm_block_range opaque data type to store a block range.

RETURN

Pointer of lsm_block_range. NULL on memory allocation failure or illegal argument. Should be freed by lsm_block_range_record_free.

lsm_block_range_record_alloc May 2019