36 static inline void *
allocate () ATTRIBUTE_MALLOC;
37 static inline
void release (
void *);
Definition memory-block.h:27
static memory_block_pool instance
Definition memory-block.h:43
static const size_t freelist_size
Definition memory-block.h:32
memory_block_pool()
Definition memory-block.cc:29
static void trim(int nblocks=freelist_size)
Definition memory-block.cc:83
block_list * m_blocks
Definition memory-block.h:51
static void release(void *)
Definition memory-block.h:69
static const size_t block_size
Definition memory-block.h:30
void reduce_free_list(int)
Definition memory-block.cc:33
static void * allocate() ATTRIBUTE_MALLOC
Definition memory-block.h:56
void mempool_obstack_chunk_free(void *)
Definition memory-block.cc:71
void * mempool_obstack_chunk_alloc(size_t) ATTRIBUTE_MALLOC
Definition memory-block.cc:61
Definition memory-block.h:46
block_list * m_next
Definition memory-block.h:47
#define NULL
Definition system.h:50
#define VALGRIND_DISCARD(x)
Definition system.h:1215