memBlock_s Struct Reference

#include <mem.h>

Collaboration diagram for memBlock_s:
Collaboration graph
[legend]

Data Fields

struct memBlock_snext
uint32_t topSentinel
struct memPool_spool
int tagNum
size_t size
const char * allocFile
int allocLine
void * memPointer
size_t memSize
memBlockFoot_tfooter
uint32_t botSentinel

Detailed Description

Definition at line 36 of file mem.h.


Field Documentation

const char* memBlock_s::allocFile

File the memory was allocated in

Definition at line 45 of file mem.h.

Referenced by _Mem_Alloc(), _Mem_CheckPoolIntegrity(), and _Mem_CheckSentinels().

Line the memory was allocated at

Definition at line 46 of file mem.h.

Referenced by _Mem_Alloc(), _Mem_CheckPoolIntegrity(), and _Mem_CheckSentinels().

For memory integrity checking

Definition at line 53 of file mem.h.

Referenced by _Mem_Alloc(), _Mem_CheckPoolIntegrity(), and _Mem_CheckSentinels().

Allocated in the space AFTER the block to check for overflow

Definition at line 51 of file mem.h.

Referenced by _Mem_Alloc(), _Mem_CheckPoolIntegrity(), and _Mem_CheckSentinels().

pointer to allocated memory

Definition at line 48 of file mem.h.

Referenced by _Mem_Alloc(), _Mem_AllocatedInPool(), _Mem_FreePool(), _Mem_FreeTag(), and _Mem_TouchPool().

Size minus the header

Definition at line 49 of file mem.h.

Referenced by _Mem_Alloc(), _Mem_ReAlloc(), and _Mem_TouchPool().

Owner pool

Definition at line 41 of file mem.h.

Referenced by _Mem_Alloc(), _Mem_CheckPoolIntegrity(), _Mem_CheckSentinels(), _Mem_Free(), and _Mem_ReAlloc().

Size of allocation including this header

Definition at line 43 of file mem.h.

Referenced by _Mem_Alloc(), _Mem_CheckPoolIntegrity(), _Mem_Free(), _Mem_TagSize(), and Mem_Size().

For group free

Definition at line 42 of file mem.h.

Referenced by _Mem_Alloc(), _Mem_ChangeTag(), _Mem_FreeTag(), _Mem_ReAlloc(), and _Mem_TagSize().

For memory integrity checking

Definition at line 39 of file mem.h.

Referenced by _Mem_Alloc(), _Mem_CheckPoolIntegrity(), and _Mem_CheckSentinels().


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

Generated by  doxygen 1.6.2