#include <cache.h>
Data Fields | |
char | name [CACHE_MAX_NAMELEN] |
enum cache_type | type |
struct hashtable * | h |
unsigned int | num_features |
struct cache_feature ** | features |
unsigned int | feature_type [CACHE_MAX_FEATURE] |
unsigned int * | feature_offset |
struct cache_ops * | ops |
struct cache_extra * | extra |
unsigned int | extra_offset |
size_t | object_size |
struct { | |
uint32_t active | |
uint32_t add_ok | |
uint32_t del_ok | |
uint32_t upd_ok | |
uint32_t add_fail | |
uint32_t del_fail | |
uint32_t upd_fail | |
uint32_t add_fail_enomem | |
uint32_t add_fail_enospc | |
uint32_t del_fail_enoent | |
uint32_t upd_fail_enoent | |
uint32_t commit_ok | |
uint32_t commit_fail | |
uint32_t flush | |
uint32_t objects | |
} | stats |
uint32_t cache::active |
Referenced by cache_del(), cache_object_set_status(), cache_stats(), and cache_stats_extended().
uint32_t cache::add_fail |
Referenced by cache_add(), cache_stats(), and cache_stats_extended().
uint32_t cache::add_fail_enomem |
Referenced by cache_object_new(), and cache_stats_extended().
uint32_t cache::add_fail_enospc |
Referenced by cache_add(), and cache_stats_extended().
uint32_t cache::add_ok |
Referenced by cache_add(), cache_stats(), and cache_stats_extended().
uint32_t cache::commit_fail |
uint32_t cache::commit_ok |
uint32_t cache::del_fail |
Referenced by cache_stats(), and cache_stats_extended().
uint32_t cache::del_fail_enoent |
Referenced by cache_stats_extended().
uint32_t cache::del_ok |
Referenced by cache_del(), cache_object_set_status(), cache_stats(), and cache_stats_extended().
struct cache_extra* cache::extra |
Referenced by cache_create(), and cache_update().
unsigned int cache::extra_offset |
Referenced by cache_create(), cache_get_extra(), and cache_update().
unsigned int* cache::feature_offset |
Referenced by cache_create(), and cache_destroy().
unsigned int cache::feature_type[CACHE_MAX_FEATURE] |
Referenced by cache_create().
struct cache_feature** cache::features |
Referenced by cache_create(), cache_destroy(), and cache_update().
uint32_t cache::flush |
Referenced by cache_flush().
Referenced by cache_create(), cache_destroy(), cache_dump(), cache_find(), cache_flush(), cache_iterate(), cache_iterate_limit(), and cache_stats_extended().
char cache::name[CACHE_MAX_NAMELEN] |
Referenced by cache_create(), cache_stats(), and cache_stats_extended().
unsigned int cache::num_features |
Referenced by cache_create(), and cache_update().
size_t cache::object_size |
Referenced by cache_create(), and cache_object_new().
uint32_t cache::objects |
Referenced by cache_object_free(), cache_object_new(), and cache_stats_extended().
Referenced by cache_commit(), cache_create(), cache_dump(), cache_object_free(), cache_object_new(), and cache_update().
struct { ... } cache::stats |
enum cache_type cache::type |
Referenced by cache_create(), and object_status_to_network_type().
uint32_t cache::upd_fail |
Referenced by cache_stats(), and cache_stats_extended().
uint32_t cache::upd_fail_enoent |
Referenced by cache_stats_extended().
uint32_t cache::upd_ok |
Referenced by cache_stats(), cache_stats_extended(), and cache_update().