Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

_sfxhash Struct Reference

#include <sfxhash.h>

List of all members.

Public Attributes

SFHASHFCNsfhashfcn
int keysize
int datasize
SFXHASH_NODE ** table
unsigned nrows
unsigned count
unsigned crow
SFXHASH_NODEcnode
int splay
MEMCAP mc
unsigned overhead_bytes
unsigned overhead_blocks
unsigned find_fail
unsigned find_success
SFXHASH_NODEghead
SFXHASH_NODEgtail
SFXHASH_NODEfhead
SFXHASH_NODEftail
int recycle_nodes
unsigned anr_tries
unsigned anr_count
int anr_flag
int(* anrfree )(void *key, void *data)
int(* usrfree )(void *key, void *data)


Member Data Documentation

unsigned _sfxhash::anr_count
 

Definition at line 72 of file sfxhash.h.

Referenced by sfxhash_anr_count(), sfxhash_new(), and sfxhash_newnode().

int _sfxhash::anr_flag
 

Definition at line 73 of file sfxhash.h.

Referenced by sfxhash_new(), and sfxhash_newnode().

unsigned _sfxhash::anr_tries
 

Definition at line 71 of file sfxhash.h.

Referenced by sfxhash_new(), and sfxhash_newnode().

int(* _sfxhash::anrfree)(void *key, void *data)
 

Referenced by sfxhash_new(), and sfxhash_newnode().

SFXHASH_NODE* _sfxhash::cnode
 

Definition at line 58 of file sfxhash.h.

Referenced by sfthd_test_gobject(), sfthd_test_object(), sfxhash_add(), sfxhash_findfirst(), sfxhash_findnext(), sfxhash_get_node(), sfxhash_new(), and sfxhash_next().

unsigned _sfxhash::count
 

Definition at line 55 of file sfxhash.h.

Referenced by CleanHashTable(), Frag3Prune(), GetSessionCount(), sfxhash_add(), sfxhash_count(), sfxhash_free_node(), sfxhash_get_node(), sfxhash_new(), and sfxhash_newnode().

unsigned _sfxhash::crow
 

Definition at line 57 of file sfxhash.h.

Referenced by sfxhash_findfirst(), sfxhash_new(), and sfxhash_next().

int _sfxhash::datasize
 

Definition at line 52 of file sfxhash.h.

Referenced by sfxhash_add(), sfxhash_get_node(), sfxhash_new(), and sfxhash_newnode().

SFXHASH_NODE* _sfxhash::fhead
 

Definition at line 69 of file sfxhash.h.

Referenced by sfxhash_get_free_node(), and sfxhash_save_free_node().

unsigned _sfxhash::find_fail
 

# of blocks consumed by the table

Definition at line 64 of file sfxhash.h.

Referenced by sfxhash_find_fail(), sfxhash_find_node_row(), sfxhash_find_total(), and sfxhash_new().

unsigned _sfxhash::find_success
 

Definition at line 65 of file sfxhash.h.

Referenced by sfxhash_find_node_row(), sfxhash_find_success(), sfxhash_find_total(), and sfxhash_new().

SFXHASH_NODE * _sfxhash::ftail
 

Definition at line 69 of file sfxhash.h.

Referenced by sfxhash_get_free_node(), and sfxhash_save_free_node().

SFXHASH_NODE* _sfxhash::ghead
 

Definition at line 67 of file sfxhash.h.

Referenced by sfxhash_ghead(), sfxhash_glink_node(), sfxhash_gmovetofront(), sfxhash_gunlink_node(), and sfxhash_new().

SFXHASH_NODE * _sfxhash::gtail
 

Definition at line 67 of file sfxhash.h.

Referenced by sfxhash_glink_node(), sfxhash_gunlink_node(), sfxhash_lru(), sfxhash_lru_node(), sfxhash_new(), and sfxhash_newnode().

int _sfxhash::keysize
 

Definition at line 51 of file sfxhash.h.

Referenced by sfxhash_add(), sfxhash_find_node_row(), sfxhash_get_node(), sfxhash_new(), sfxhash_newnode(), and sfxhash_remove().

MEMCAP _sfxhash::mc
 

Definition at line 61 of file sfxhash.h.

Referenced by flowcache_stats(), s_free(), s_malloc(), scoreboard_memcap(), scoreboard_stats(), server_stats_memcap(), sfxhash_new(), and ut_memcap().

unsigned _sfxhash::nrows
 

Definition at line 54 of file sfxhash.h.

Referenced by flowcache_row_count(), scoreboard_row_count(), server_stats_row_count(), sfxhash_delete(), sfxhash_find_node_row(), sfxhash_findfirst(), sfxhash_maxdepth(), sfxhash_new(), sfxhash_next(), sfxhash_remove(), and ut_row_count().

unsigned _sfxhash::overhead_blocks
 

# of bytes that will be unavailable for nodes inside the table

Definition at line 63 of file sfxhash.h.

Referenced by sfxhash_new(), and sfxhash_overhead_blocks().

unsigned _sfxhash::overhead_bytes
 

Definition at line 62 of file sfxhash.h.

Referenced by Frag3NewTracker(), sfxhash_new(), and sfxhash_overhead_bytes().

int _sfxhash::recycle_nodes
 

Definition at line 70 of file sfxhash.h.

Referenced by sfxhash_free_node(), and sfxhash_new().

SFHASHFCN* _sfxhash::sfhashfcn
 

Definition at line 50 of file sfxhash.h.

Referenced by sfxhash_delete(), sfxhash_find_node_row(), sfxhash_new(), sfxhash_remove(), and sfxhash_set_keyops().

int _sfxhash::splay
 

Definition at line 59 of file sfxhash.h.

Referenced by sfxhash_find_node_row(), sfxhash_new(), and sfxhash_splaymode().

SFXHASH_NODE** _sfxhash::table
 

Definition at line 53 of file sfxhash.h.

Referenced by movetofront(), sfxhash_delete(), sfxhash_find_node_row(), sfxhash_findfirst(), sfxhash_link_node(), sfxhash_maxdepth(), sfxhash_new(), sfxhash_next(), sfxhash_remove(), and sfxhash_unlink_node().

int(* _sfxhash::usrfree)(void *key, void *data)
 

Referenced by sfxhash_delete(), sfxhash_free_node(), and sfxhash_new().


The documentation for this struct was generated from the following file:
Generated on Sun May 14 14:51:31 2006 by  doxygen 1.4.2