suricata
Pool_ Struct Reference

#include <util-pool.h>

Collaboration diagram for Pool_:

Data Fields

uint32_t max_buckets
 
uint32_t preallocated
 
uint32_t allocated
 
uint32_t alloc_stack_size
 
PoolBucketalloc_stack
 
PoolBucketempty_stack
 
uint32_t empty_stack_size
 
int data_buffer_size
 
void * data_buffer
 
PoolBucketpb_buffer
 
void *(* Alloc )(void)
 
int(* Init )(void *, void *)
 
void * InitData
 
void(* Cleanup )(void *)
 
void(* Free )(void *)
 
uint32_t elt_size
 
uint32_t outstanding
 

Detailed Description

Definition at line 43 of file util-pool.h.

Field Documentation

void*(* Pool_::Alloc) (void)

Definition at line 60 of file util-pool.h.

Referenced by PoolGet(), PoolInit(), PoolPrintSaturation(), and PoolThreadExpand().

PoolBucket* Pool_::alloc_stack

Definition at line 51 of file util-pool.h.

Referenced by PoolFree(), PoolGet(), PoolInit(), PoolPrintSaturation(), and PoolReturn().

uint32_t Pool_::alloc_stack_size

Definition at line 49 of file util-pool.h.

Referenced by PoolGet(), PoolInit(), PoolPrint(), PoolPrintSaturation(), and PoolReturn().

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(), PoolInit(), PoolPrintSaturation(), and PoolReturn().

void(* Pool_::Cleanup) (void *)

Definition at line 63 of file util-pool.h.

Referenced by PoolFree(), PoolInit(), PoolPrintSaturation(), PoolReturn(), and PoolThreadExpand().

void* Pool_::data_buffer

Definition at line 57 of file util-pool.h.

Referenced by PoolFree(), and PoolInit().

int Pool_::data_buffer_size

Definition at line 56 of file util-pool.h.

Referenced by PoolInit().

uint32_t Pool_::elt_size

Definition at line 66 of file util-pool.h.

Referenced by PoolGet(), PoolInit(), and PoolThreadExpand().

PoolBucket* Pool_::empty_stack

Definition at line 53 of file util-pool.h.

Referenced by PoolFree(), PoolGet(), PoolInit(), PoolPrintSaturation(), and PoolReturn().

uint32_t Pool_::empty_stack_size

Definition at line 54 of file util-pool.h.

Referenced by PoolGet(), PoolInit(), PoolPrint(), PoolPrintSaturation(), and PoolReturn().

void(* Pool_::Free) (void *)

Definition at line 64 of file util-pool.h.

Referenced by PoolFree(), PoolGet(), PoolInit(), PoolReturn(), and PoolThreadExpand().

int(* Pool_::Init) (void *, void *)

Definition at line 61 of file util-pool.h.

Referenced by PoolGet(), PoolInit(), and PoolThreadExpand().

void* Pool_::InitData

Definition at line 62 of file util-pool.h.

Referenced by PoolGet(), PoolInit(), and PoolThreadExpand().

uint32_t Pool_::max_buckets

Definition at line 44 of file util-pool.h.

Referenced by PoolGet(), PoolInit(), PoolPrintSaturation(), 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(), PoolPrintSaturation(), and PoolReturn().

PoolBucket* Pool_::pb_buffer

Definition at line 58 of file util-pool.h.

Referenced by PoolFree(), and PoolInit().

uint32_t Pool_::preallocated

Definition at line 45 of file util-pool.h.

Referenced by PoolInit(), and PoolThreadExpand().


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