
Go to the source code of this file.
Data Types | |
| type | gs_memblock |
| type | gs_arena |
Defines | |
| #define | GS_ARENA 0 |
| #define | IB_STRING_ARENA 1 |
| #define | GS_ARENA_COUNT 2 |
Typedefs | |
| typedef struct gs_memblock | gs_memblock_t |
| typedef struct gs_arena | gs_arena_t |
Functions/Subroutines | |
| void * | __gs_mempool_alloc (unsigned int mempool_id, unsigned int count) |
| void * | gs_mempool_idx2address (int arena_id, int cell_index) |
| long | gs_mempool_address2byteofst (int arena_id, char *p) |
Variables | |
| gs_arena_t | gs_mempool [GS_ARENA_COUNT] |
| #define GS_ARENA 0 |
Definition at line 27 of file gspin-mempool.h.
Referenced by __gs(), gs_dump_core(), gs_dump_leaf(), gs_mempool_address2byteofst(), and gs_write().
| #define GS_ARENA_COUNT 2 |
Definition at line 29 of file gspin-mempool.h.
| #define IB_STRING_ARENA 1 |
| typedef struct gs_arena gs_arena_t |
| typedef struct gs_memblock gs_memblock_t |
Definition at line 32 of file gspin-mempool.h.
| void* __gs_mempool_alloc | ( | unsigned int | mempool_id, | |
| unsigned int | count | |||
| ) |
Definition at line 64 of file gspin-mempool.c.
| long gs_mempool_address2byteofst | ( | int | arena_id, | |
| char * | p | |||
| ) |
Definition at line 110 of file gspin-mempool.c.
| void* gs_mempool_idx2address | ( | int | arena_id, | |
| int | cell_index | |||
| ) |
Definition at line 89 of file gspin-mempool.c.
| gs_arena_t gs_mempool[GS_ARENA_COUNT] |
Definition at line 44 of file gspin-mempool.c.
1.5.6