Searched refs:sparse_cache (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/md/dm-vdo/indexer/ |
H A D | sparse-cache.h | 27 struct sparse_cache; 31 struct sparse_cache **cache_ptr); 33 void uds_free_sparse_cache(struct sparse_cache *cache); 35 bool uds_sparse_cache_contains(struct sparse_cache *cache, u64 virtual_chapter, 40 void uds_invalidate_sparse_cache(struct sparse_cache *cache);
|
H A D | sparse-cache.c | 154 struct sparse_cache { struct 234 static int __must_check make_search_list(struct sparse_cache *cache, in make_search_list() 259 unsigned int zone_count, struct sparse_cache **cache_ptr) in uds_make_sparse_cache() 263 struct sparse_cache *cache; in uds_make_sparse_cache() 266 bytes = (sizeof(struct sparse_cache) + (capacity * sizeof(struct cached_chapter_index))); in uds_make_sparse_cache() 323 static void score_search_miss(struct sparse_cache *cache, in score_search_miss() 345 void uds_free_sparse_cache(struct sparse_cache *cache) in uds_free_sparse_cache() 389 bool uds_sparse_cache_contains(struct sparse_cache *cache, u64 virtual_chapter, in uds_sparse_cache_contains() 425 struct sparse_cache *cache, u64 oldest_virtual_chapter) in purge_search_list() 496 struct sparse_cache *cache = index->volume->sparse_cache; in uds_update_sparse_cache() [all …]
|
H A D | volume.h | 110 struct sparse_cache *sparse_cache; member
|
H A D | volume.c | 1482 if (volume->sparse_cache != NULL) in uds_replace_volume_storage() 1483 uds_invalidate_sparse_cache(volume->sparse_cache); in uds_replace_volume_storage() 1599 &volume->sparse_cache); in uds_make_volume() 1684 uds_free_sparse_cache(volume->sparse_cache); in uds_free_volume()
|
H A D | index.c | 390 uds_sparse_cache_contains(volume->sparse_cache, request->virtual_chapter, in get_record_from_zone()
|