Lines Matching +full:- +full:cache
2 * Page cache for QEMU
3 * The cache is base on a hash of the page address
11 * See the COPYING file in the top-level directory.
18 /* Page cache for storing guest pages */
22 * cache_init: Initialize the page cache
25 * Returns new allocated cache or NULL on error
27 * @cache_size: cache size in bytes
28 * @page_size: cache page size
33 * cache_fini: free all cache resources
34 * @cache pointer to the PageCache struct
36 void cache_fini(PageCache *cache);
43 * @cache pointer to the PageCache struct
47 bool cache_is_cached(const PageCache *cache, uint64_t addr,
55 * @cache pointer to the PageCache struct
58 uint8_t *get_cached_data(const PageCache *cache, uint64_t addr);
61 * cache_insert: insert the page into the cache. the page cache
64 * Returns -1 when the page isn't inserted into cache
66 * @cache pointer to the PageCache struct
71 int cache_insert(PageCache *cache, uint64_t addr, const uint8_t *pdata,