Home
last modified time | relevance | path

Searched refs:sparse_cache (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/md/dm-vdo/indexer/
H A Dsparse-cache.h27 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 Dsparse-cache.c154 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 Dvolume.h110 struct sparse_cache *sparse_cache; member
H A Dvolume.c1482 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 Dindex.c390 uds_sparse_cache_contains(volume->sparse_cache, request->virtual_chapter, in get_record_from_zone()