Home
last modified time | relevance | path

Searched refs:binfo (Results 1 – 2 of 2) sorted by relevance

/rocksdb-6.9/utilities/persistent_cache/
Dblock_cache_tier_metadata.cc40 std::unique_ptr<BlockInfo> binfo(new BlockInfo(key, lba)); in Insert() local
41 if (!block_index_.Insert(binfo.get())) { in Insert()
44 return binfo.release(); in Insert()
65 BlockInfo* binfo = nullptr; in Remove() local
67 ok = block_index_.Erase(&lookup_key, &binfo); in Remove()
69 return binfo; in Remove()
73 for (BlockInfo* binfo : f->block_infos()) { in RemoveAllKeys()
75 bool status = block_index_.Erase(binfo, &tmp); in RemoveAllKeys()
78 assert(tmp == binfo); in RemoveAllKeys()
79 delete binfo; in RemoveAllKeys()
Dblock_cache_tier_file.h128 virtual void Add(BlockInfo* binfo) { in Add() argument
130 block_infos_.push_back(binfo); in Add()