Home
last modified time | relevance | path

Searched refs:block_cache (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/third_party/leveldatabase/src/table/
Dtable.cc75 rep->cache_id = (options.block_cache ? options.block_cache->NewId() : 0); in Open()
158 Cache* block_cache = table->rep_->options.block_cache; in BlockReader() local
170 if (block_cache != NULL) { in BlockReader()
175 cache_handle = block_cache->Lookup(key); in BlockReader()
177 block = reinterpret_cast<Block*>(block_cache->Value(cache_handle)); in BlockReader()
183 cache_handle = block_cache->Insert( in BlockReader()
202 iter->RegisterCleanup(&ReleaseBlock, block_cache, cache_handle); in BlockReader()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_sync.cc59 u32 idx = block_alloc_.Alloc(&thr->block_cache); in AllocBlock()
90 block_alloc_.Free(&thr->block_cache, idx & ~kFlagMask); in FreeRange()
216 block_alloc_.FlushCache(&thr->block_cache); in OnThreadIdle()
Dtsan_rtl.h379 DenseSlabAllocCache block_cache; member
/external/chromium_org/third_party/leveldatabase/src/util/
Doptions.cc21 block_cache(NULL), in Options()
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/
Doptions.h98 Cache* block_cache; member
/external/chromium_org/third_party/leveldatabase/src/db/
Drepair.cc54 owns_cache_(options_.block_cache != options.block_cache), in Repairer()
66 delete options_.block_cache; in ~Repairer()
Dautocompact_test.cc23 options_.block_cache = tiny_cache_; in AutoCompactTest()
Ddb_impl.cc110 if (result.block_cache == NULL) { in SanitizeOptions()
111 result.block_cache = NewLRUCache(8 << 20); in SanitizeOptions()
123 owns_cache_(options_.block_cache != raw_options.block_cache), in DBImpl()
173 delete options_.block_cache; in ~DBImpl()
Dcorruption_test.cc38 options_.block_cache = tiny_cache_; in CorruptionTest()
Dc.cc438 opt->rep.block_cache = c->rep; in leveldb_options_set_cache()
Ddb_bench.cc694 options.block_cache = cache_; in Open()
Ddb_test.cc1686 options.block_cache = NewLRUCache(0); // Prevent cache hits in TEST()
1725 delete options.block_cache; in TEST()