Clases |
struct | st_keycache_wqueue |
struct | st_key_cache |
'defines' |
#define | CHANGED_BLOCKS_HASH 128 |
'typedefs' |
typedef struct st_block_link | BLOCK_LINK |
typedef struct st_keycache_page | KEYCACHE_PAGE |
typedef struct st_hash_link | HASH_LINK |
typedef struct st_keycache_wqueue | KEYCACHE_WQUEUE |
typedef struct st_key_cache | KEY_CACHE |
Funciones |
int | init_key_cache (KEY_CACHE *keycache, uint key_cache_block_size, ulong use_mem, uint division_limit, uint age_threshold) |
int | resize_key_cache (KEY_CACHE *keycache, uint key_cache_block_size, ulong use_mem, uint division_limit, uint age_threshold) |
void | change_key_cache_param (KEY_CACHE *keycache, uint division_limit, uint age_threshold) |
byte * | key_cache_read (KEY_CACHE *keycache, File file, my_off_t filepos, int level, byte *buff, uint length, uint block_length, int return_buffer) |
int | key_cache_insert (KEY_CACHE *keycache, File file, my_off_t filepos, int level, byte *buff, uint length) |
int | key_cache_write (KEY_CACHE *keycache, File file, my_off_t filepos, int level, byte *buff, uint length, uint block_length, int force_write) |
int | flush_key_blocks (KEY_CACHE *keycache, int file, enum flush_type type) |
void | end_key_cache (KEY_CACHE *keycache, my_bool cleanup) |
my_bool | multi_keycache_init (void) |
void | multi_keycache_free (void) |
KEY_CACHE * | multi_key_cache_search (byte *key, uint length) |
my_bool | multi_key_cache_set (const byte *key, uint length, KEY_CACHE *key_cache) |
void | multi_key_cache_change (KEY_CACHE *old_data, KEY_CACHE *new_data) |
int | reset_key_cache_counters (const char *name, KEY_CACHE *key_cache) |
Variables |
KEY_CACHE | dflt_key_cache_var |
KEY_CACHE * | dflt_key_cache |