Veil
|
Chunks provide a linked list of dynamically allocated shared memory segments, with the most recently allocated chunk at the tail. More...
#include <veil_datatypes.h>
Data Fields | |
struct MemChunk * | next_chunk |
Pointer to next allocated chunk. | |
size_t | next |
Offset, within this chunk, of 1st free byte. | |
size_t | limit |
Offset, of 1st byte beyond chunk. | |
void * | memory [0] |
The rest of the chunk, from which memory is allocated. | |
Chunks provide a linked list of dynamically allocated shared memory segments, with the most recently allocated chunk at the tail.
Shmalloc allocates space from this list of chunks, creating new chunks as needed up to MAX_ALLOWED_SHMEM.
Definition at line 116 of file veil_datatypes.h.