|
IDZEBRA 2.2.8
|
All in-memory information per CFile. More...
#include <cfile.h>
Data Fields | |
| struct CFile_head | head |
| MFile | block_mf |
| MFile | hash_mf |
| zint * | array |
| struct CFile_hash_bucket ** | parray |
| struct CFile_hash_bucket * | bucket_lru_front |
| struct CFile_hash_bucket * | bucket_lru_back |
| int | dirty |
| zint | bucket_in_memory |
| zint | max_bucket_in_memory |
| char * | iobuf |
| MFile | rmf |
| int | no_hits |
| int | no_miss |
| Zebra_mutex | mutex |
| zint* CFile_struct::array |
array for hash
Definition at line 74 of file cfile.h.
Referenced by cf_close(), cf_lookup_hash(), cf_moveto_flat(), cf_new_hash(), cf_open(), read_head(), and write_head().
| MFile CFile_struct::block_mf |
block meta file
Definition at line 72 of file cfile.h.
Referenced by cf_close(), cf_commit_flat(), cf_commit_hash(), cf_open(), cf_read(), and cf_write().
| zint CFile_struct::bucket_in_memory |
number of buckets in memory
Definition at line 79 of file cfile.h.
Referenced by alloc_bucket(), cf_close(), cf_commit(), cf_moveto_flat(), cf_open(), and release_bucket().
| struct CFile_hash_bucket* CFile_struct::bucket_lru_back |
LRU back for hash
Definition at line 77 of file cfile.h.
Referenced by alloc_bucket(), cf_lookup_hash(), cf_new_hash(), cf_open(), flush_bucket(), and release_bucket().
| struct CFile_hash_bucket* CFile_struct::bucket_lru_front |
LRU front for hash
Definition at line 76 of file cfile.h.
Referenced by alloc_bucket(), cf_open(), and release_bucket().
| int CFile_struct::dirty |
whether CFile is dirty / header must be rewritten
Definition at line 78 of file cfile.h.
Referenced by cf_close(), cf_moveto_flat(), cf_open(), cf_write_flat(), and flush_bucket().
| MFile CFile_struct::hash_mf |
hash or index file (depending on state)
Definition at line 73 of file cfile.h.
Referenced by cf_close(), cf_commit_flat(), cf_commit_hash(), cf_lookup_flat(), cf_moveto_flat(), cf_open(), cf_write_flat(), flush_bucket(), get_bucket(), read_head(), and write_head().
| struct CFile_head CFile_struct::head |
Definition at line 70 of file cfile.h.
Referenced by cf_close(), cf_commit(), cf_commit_flat(), cf_commit_hash(), cf_hash(), cf_lookup(), cf_lookup_flat(), cf_moveto_flat(), cf_new(), cf_new_flat(), cf_new_hash(), cf_open(), cf_write_flat(), new_bucket(), read_head(), and write_head().
| char* CFile_struct::iobuf |
data block .. of size block size
Definition at line 81 of file cfile.h.
Referenced by cf_close(), cf_commit_flat(), cf_commit_hash(), cf_open(), and cf_write().
| zint CFile_struct::max_bucket_in_memory |
max number of buckets in memory
Definition at line 80 of file cfile.h.
Referenced by alloc_bucket(), and cf_open().
| Zebra_mutex CFile_struct::mutex |
Definition at line 85 of file cfile.h.
Referenced by cf_close(), cf_open(), cf_read(), and cf_write().
| int CFile_struct::no_hits |
number of bucket cache hits
Definition at line 83 of file cfile.h.
Referenced by cf_close(), cf_lookup_hash(), cf_moveto_flat(), cf_new(), cf_new_hash(), and cf_open().
| int CFile_struct::no_miss |
number of bucket cache misses
Definition at line 84 of file cfile.h.
Referenced by cf_close(), cf_lookup_hash(), cf_moveto_flat(), cf_new(), cf_new_hash(), and cf_open().
| struct CFile_hash_bucket** CFile_struct::parray |
holds all hash bucket in memory
Definition at line 75 of file cfile.h.
Referenced by alloc_bucket(), cf_close(), cf_lookup_hash(), cf_moveto_flat(), cf_new_hash(), and cf_open().
| MFile CFile_struct::rmf |
read meta file (original data / not dirty)
Definition at line 82 of file cfile.h.
Referenced by cf_commit_flat(), cf_commit_hash(), cf_moveto_flat(), cf_open(), and cf_write().