Lines Matching defs:cache
31 /* TODO: implement disk cache support on windows */
37 /* Number of bits to mask off from a cache key to get an index. */
47 /* The path to the cache directory. */
51 /* Thread queue for compressing and writing cache entries to disk */
59 /* A pointer to the mmapped index file within the cache directory. */
63 /* Pointer to total size of all objects in cache (within index_mmap) */
72 /* Driver cache keys. */
83 struct disk_cache *cache;
87 /* Copy of cache data to be compressed and written. */
101 disk_cache_evict_lru_item(struct disk_cache *cache);
104 disk_cache_evict_item(struct disk_cache *cache, char *filename);
107 disk_cache_load_item_foz(struct disk_cache *cache, const cache_key key,
111 disk_cache_load_item(struct disk_cache *cache, char *filename, size_t *size);
114 disk_cache_get_cache_filename(struct disk_cache *cache, const cache_key key);
127 disk_cache_load_cache_index(void *mem_ctx, struct disk_cache *cache);
130 disk_cache_mmap_cache_index(void *mem_ctx, struct disk_cache *cache,
134 disk_cache_destroy_mmap(struct disk_cache *cache);