suricata
|
#include <util-pool.h>
Data Fields | |
uint32_t | max_buckets |
uint32_t | preallocated |
uint32_t | allocated |
uint32_t | alloc_stack_size |
PoolBucket * | alloc_stack |
PoolBucket * | empty_stack |
uint32_t | empty_stack_size |
int | data_buffer_size |
void * | data_buffer |
PoolBucket * | pb_buffer |
void *(* | Alloc )(void) |
int(* | Init )(void *, void *) |
void * | InitData |
void(* | Cleanup )(void *) |
void(* | Free )(void *) |
uint32_t | elt_size |
uint32_t | outstanding |
Definition at line 43 of file util-pool.h.
void*(* Pool_::Alloc) (void) |
Definition at line 60 of file util-pool.h.
Referenced by PoolGet(), and PoolThreadExpand().
PoolBucket* Pool_::alloc_stack |
Definition at line 51 of file util-pool.h.
Referenced by PoolFree(), and PoolGet().
uint32_t Pool_::alloc_stack_size |
Definition at line 49 of file util-pool.h.
Referenced by PoolGet().
uint32_t Pool_::allocated |
counter of data elements, both currently in the pool and outside of it (outstanding)
Definition at line 46 of file util-pool.h.
Referenced by PoolGet(), and PoolReturn().
void(* Pool_::Cleanup) (void *) |
Definition at line 63 of file util-pool.h.
Referenced by PoolFree(), PoolReturn(), and PoolThreadExpand().
void* Pool_::data_buffer |
Definition at line 57 of file util-pool.h.
int Pool_::data_buffer_size |
Definition at line 56 of file util-pool.h.
uint32_t Pool_::elt_size |
Definition at line 66 of file util-pool.h.
Referenced by PoolGet(), and PoolThreadExpand().
PoolBucket* Pool_::empty_stack |
Definition at line 53 of file util-pool.h.
Referenced by PoolGet(), and PoolReturn().
uint32_t Pool_::empty_stack_size |
Definition at line 54 of file util-pool.h.
Referenced by PoolGet().
void(* Pool_::Free) (void *) |
Definition at line 64 of file util-pool.h.
Referenced by PoolGet(), and PoolThreadExpand().
int(* Pool_::Init) (void *, void *) |
Definition at line 61 of file util-pool.h.
Referenced by PoolGet(), and PoolThreadExpand().
void* Pool_::InitData |
Definition at line 62 of file util-pool.h.
Referenced by PoolGet(), and PoolThreadExpand().
uint32_t Pool_::max_buckets |
Definition at line 44 of file util-pool.h.
Referenced by PoolGet(), and PoolThreadExpand().
uint32_t Pool_::outstanding |
counter of data items 'in use'. Pretty much the diff between PoolGet and PoolReturn
Definition at line 67 of file util-pool.h.
Referenced by PoolGet(), and PoolReturn().
PoolBucket* Pool_::pb_buffer |
Definition at line 58 of file util-pool.h.
uint32_t Pool_::preallocated |
Definition at line 45 of file util-pool.h.
Referenced by PoolThreadExpand().