Snapdragon® Telematics Application Framework (TelAF) Interface Specification
le_mem_Pool_t Struct Reference

#include <le_mem.h>

Data Fields

le_dls_Link_t poolLink
 This pool's link in the list of memory pools. More...
 
struct le_mem_Pool * superPoolPtr
 
size_t userDataSize
 Size of the object requested by the client in bytes. More...
 
size_t blockSize
 Number of bytes in a block, including all overhead. More...
 
size_t totalBlocks
 
size_t numBlocksInUse
 Number of currently allocated blocks. More...
 
size_t numBlocksToForce
 
le_mem_Destructor_t destructor
 The destructor for objects in this pool. More...
 

Detailed Description

Definition of a memory pool.

Note
This should not be used directly. To create a memory pool use either le_mem_CreatePool() or LE_MEM_DEFINE_STATIC_POOL()/le_mem_InitStaticPool().

Field Documentation

◆ poolLink

le_dls_Link_t le_mem_Pool_t::poolLink

This pool's link in the list of memory pools.

◆ superPoolPtr

struct le_mem_Pool* le_mem_Pool_t::superPoolPtr

A pointer to our super pool if we are a sub-pool. NULL if we are not a sub-pool.

◆ userDataSize

size_t le_mem_Pool_t::userDataSize

Size of the object requested by the client in bytes.

◆ blockSize

size_t le_mem_Pool_t::blockSize

Number of bytes in a block, including all overhead.

◆ totalBlocks

size_t le_mem_Pool_t::totalBlocks

Total number of blocks in this pool including free and allocated blocks.

◆ numBlocksInUse

size_t le_mem_Pool_t::numBlocksInUse

Number of currently allocated blocks.

◆ numBlocksToForce

size_t le_mem_Pool_t::numBlocksToForce

Number of blocks that is added when Force Alloc expands the pool.

◆ destructor

le_mem_Destructor_t le_mem_Pool_t::destructor

The destructor for objects in this pool.


The documentation for this struct was generated from the following file: