Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kPoolAlloc_Reserve ( kPoolAlloc  object,
kSize  size 
)

Specifies the minimum amount of memory that should be set aside for blocks.

This function can be used to ensure that the specified amount of memory is set aside for block-based allocations. The amount of memory specified is inclusive of any existing block memory (e.g., individual rank reservations).

This function cannot be used before calling kPoolAlloc_Start.

Parameters
objectkPoolAlloc object.
sizeAmount of memory to reserve, in bytes.
Returns
Operation status.