Turnstone Operating System
|
cache interface implementation More...
Classes | |
struct | cache_item_t |
struct | cache_t |
Typedefs | |
typedef struct cache_item_t | cache_item_t |
Functions | |
MODULE ("turnstone.lib") | |
static int8_t | cache_insert_head (cache_t *cache, boolean_t mru, cache_item_t *ci) |
static int8_t | cache_delete_item (cache_t *cache, boolean_t mru, cache_item_t *ci) |
static int8_t | cache_move_to_head (cache_t *cache, boolean_t mru, cache_item_t *ci) |
cache_t * | cache_new (cache_config_t *config) |
boolean_t | cache_destroy (cache_t *cache) |
static boolean_t | cache_put_ci (cache_t *cache, cache_item_t *ci) |
boolean_t | cache_put (cache_t *cache, const void *key, const void *item, uint64_t size) |
const void * | cache_get (cache_t *cache, const void *key) |
cache interface implementation
This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.