Events generated by the Network - Memory Management functions.
More...
|
__STATIC_INLINE void | EvrNetMEM_InitMemory (uint32_t pool_size, uint32_t limit0, uint32_t limit1) |
| Event on memory management initialize (Op) More...
|
|
__STATIC_INLINE void | EvrNetMEM_AllocMemory (uint32_t size, uint32_t used, uint32_t blocks) |
| Event on memory allocate request (Op) More...
|
|
__STATIC_INLINE void | EvrNetMEM_AllocLimitExceeded (uint32_t size, uint32_t used, uint32_t blocks) |
| Event on memory allocate limit exceeded (Op) More...
|
|
__STATIC_INLINE void | EvrNetMEM_AllocOutOfMemory (uint32_t size, uint32_t used, uint32_t blocks) |
| Event on memory allocate out of memory error (Error) More...
|
|
__STATIC_INLINE void | EvrNetMEM_ShrinkMemory (uint32_t new_size, uint32_t old_size) |
| Event on memory shrink block request (Op) More...
|
|
__STATIC_INLINE void | EvrNetMEM_FreeMemory (uint32_t size, uint32_t used, uint32_t blocks) |
| Event on memory free request (Op) More...
|
|
__STATIC_INLINE void | EvrNetMEM_FreeInvalidBlock (uint32_t size) |
| Event on memory free an invalid block (Error) More...
|
|
__STATIC_INLINE void | EvrNetMEM_FreeLinkCorrupted (uint32_t size) |
| Event on memory free link corrupted (Error) More...
|
|
Events generated by the Network - Memory Management functions.
__STATIC_INLINE void EvrNetMEM_AllocLimitExceeded |
( |
uint32_t |
size, |
|
|
uint32_t |
used, |
|
|
uint32_t |
blocks |
|
) |
| |
Event on memory allocate limit exceeded (Op)
- Parameters
-
size | requested memory size in bytes |
used | used memory status in bytes |
blocks | number of used blocks status |
__STATIC_INLINE void EvrNetMEM_AllocMemory |
( |
uint32_t |
size, |
|
|
uint32_t |
used, |
|
|
uint32_t |
blocks |
|
) |
| |
Event on memory allocate request (Op)
- Parameters
-
size | requested memory size in bytes |
used | used memory status in bytes |
blocks | number of used blocks status |
__STATIC_INLINE void EvrNetMEM_AllocOutOfMemory |
( |
uint32_t |
size, |
|
|
uint32_t |
used, |
|
|
uint32_t |
blocks |
|
) |
| |
Event on memory allocate out of memory error (Error)
- Parameters
-
size | requested memory size in bytes |
used | used memory status in bytes |
blocks | number of used blocks status |
Event on memory free an invalid block (Error)
- Parameters
-
size | size of the memory block to free |
Event on memory free link corrupted (Error)
- Parameters
-
size | size of the memory block to free |
__STATIC_INLINE void EvrNetMEM_FreeMemory |
( |
uint32_t |
size, |
|
|
uint32_t |
used, |
|
|
uint32_t |
blocks |
|
) |
| |
Event on memory free request (Op)
- Parameters
-
size | size of the memory block to free |
used | used memory status in bytes |
blocks | number of used blocks status |
__STATIC_INLINE void EvrNetMEM_InitMemory |
( |
uint32_t |
pool_size, |
|
|
uint32_t |
limit0, |
|
|
uint32_t |
limit1 |
|
) |
| |
Event on memory management initialize (Op)
- Parameters
-
pool_size | size of the memory pool |
limit0 | usage limit 0 (limit used in ethernet and bsd receive buffering) |
limit1 | usage limit 1 (limit used in TCP send buffering) |
__STATIC_INLINE void EvrNetMEM_ShrinkMemory |
( |
uint32_t |
new_size, |
|
|
uint32_t |
old_size |
|
) |
| |
Event on memory shrink block request (Op)
- Parameters
-
new_size | new block size |
old_size | current block size |