Home
last modified time | relevance | path

Searched refs:BlockInfo (Results 1 – 4 of 4) sorted by relevance

/rocksdb-6.9/utilities/persistent_cache/
Dblock_cache_tier_metadata.cc36 block_index_.Clear([](BlockInfo* arg){ delete arg; }); in Clear()
39 BlockInfo* BlockCacheTierMetadata::Insert(const Slice& key, const LBA& lba) { in Insert()
40 std::unique_ptr<BlockInfo> binfo(new BlockInfo(key, lba)); in Insert()
48 BlockInfo lookup_key(key); in Lookup()
49 BlockInfo* block; in Lookup()
63 BlockInfo* BlockCacheTierMetadata::Remove(const Slice& key) { in Remove()
64 BlockInfo lookup_key(key); in Remove()
65 BlockInfo* binfo = nullptr; in Remove()
73 for (BlockInfo* binfo : f->block_infos()) { in RemoveAllKeys()
74 BlockInfo* tmp = nullptr; in RemoveAllKeys()
Dblock_cache_tier_metadata.h40 struct BlockInfo { struct
41 explicit BlockInfo(const Slice& key, const LBA& lba = LBA())
63 BlockInfo* Insert(const Slice& key, const LBA& lba); argument
70 BlockInfo* Remove(const Slice& key);
106 size_t operator()(BlockInfo* node) const { in operator()
112 size_t operator()(BlockInfo* lhs, BlockInfo* rhs) const { in operator()
117 typedef HashTable<BlockInfo*, Hash, Equal> BlockIndexType;
Dblock_cache_tier_file.h52 struct BlockInfo;
128 virtual void Add(BlockInfo* binfo) { in Add()
133 std::list<BlockInfo*>& block_infos() { return block_infos_; } in block_infos()
142 std::list<BlockInfo*> block_infos_; // List of index entries mapping to the
Dblock_cache_tier.cc251 BlockInfo* info = metadata_.Insert(key, lba); in InsertImpl()
318 BlockInfo* info = metadata_.Remove(key); in Erase()