Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/core/lib/io/
Dtable.cc75 rep->cache_id = (options.block_cache ? options.block_cache->NewId() : 0); in Open()
105 Cache* block_cache = table->rep_->options.block_cache; in BlockReader() local
117 if (block_cache != nullptr) { in BlockReader()
122 cache_handle = block_cache->Lookup(key); in BlockReader()
124 block = reinterpret_cast<Block*>(block_cache->Value(cache_handle)); in BlockReader()
129 cache_handle = block_cache->Insert(key, block, block->size(), in BlockReader()
147 iter->RegisterCleanup(&ReleaseBlock, block_cache, cache_handle); in BlockReader()
Dtable_options.h70 Cache* block_cache = nullptr; member
/external/sdv/vsomeip/third_party/boost/regex/include/boost/regex/v5/
Dmem_block_cache.hpp71 static mem_block_cache block_cache = { { {nullptr} } }; in instance() local
72 return block_cache; in instance()
137 static mem_block_cache block_cache = { 0, 0, BOOST_STATIC_MUTEX_INIT, };
139 static mem_block_cache block_cache = { 0, 0, };
141 return block_cache;
/external/sdv/vsomeip/third_party/boost/regex/include/boost/regex/v4/
Dmem_block_cache.hpp75 static mem_block_cache block_cache = { { {nullptr} } }; in instance() local
76 return block_cache; in instance()
141 static mem_block_cache block_cache = { 0, 0, BOOST_STATIC_MUTEX_INIT, };
143 static mem_block_cache block_cache = { 0, 0, };
145 return block_cache;
/external/leveldb/table/
Dtable.cc72 rep->cache_id = (options.block_cache ? options.block_cache->NewId() : 0); in Open()
156 Cache* block_cache = table->rep_->options.block_cache; in BlockReader() local
168 if (block_cache != nullptr) { in BlockReader()
173 cache_handle = block_cache->Lookup(key); in BlockReader()
175 block = reinterpret_cast<Block*>(block_cache->Value(cache_handle)); in BlockReader()
181 cache_handle = block_cache->Insert(key, block, block->size(), in BlockReader()
200 iter->RegisterCleanup(&ReleaseBlock, block_cache, cache_handle); in BlockReader()
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dinode.c277 if (msblk->block_cache[i].block == block) in squashfs_get_cached_block()
287 if (msblk->block_cache[i].block != in squashfs_get_cached_block()
305 if (msblk->block_cache[i].block == in squashfs_get_cached_block()
307 if (!(msblk->block_cache[i].data = in squashfs_get_cached_block()
317 msblk->block_cache[i].block = SQUASHFS_USED_BLK; in squashfs_get_cached_block()
320 if (!(msblk->block_cache[i].length = in squashfs_get_cached_block()
322 msblk->block_cache[i].data, in squashfs_get_cached_block()
331 msblk->block_cache[i].block = block; in squashfs_get_cached_block()
332 msblk->block_cache[i].next_index = next_index; in squashfs_get_cached_block()
336 if (msblk->block_cache[i].block != block) { in squashfs_get_cached_block()
[all …]
/external/squashfs-tools/kernel/fs/squashfs/
Dsuper.c196 msblk->block_cache = squashfs_cache_init("metadata", in squashfs_fill_super()
198 if (msblk->block_cache == NULL) in squashfs_fill_super()
280 squashfs_cache_delete(msblk->block_cache); in squashfs_fill_super()
329 squashfs_cache_delete(sbi->block_cache); in squashfs_put_super()
Dsquashfs_fs_sb.h57 struct squashfs_cache *block_cache; member
Dsymlink.c84 entry = squashfs_cache_get(sb, msblk->block_cache, block, 0); in squashfs_symlink_readpage()
Dcache.c342 entry = squashfs_cache_get(sb, msblk->block_cache, *block, 0); in squashfs_read_metadata()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_sync.cc64 u32 idx = block_alloc_.Alloc(&thr->proc()->block_cache); in AllocBlock()
99 block_alloc_.Free(&proc->block_cache, idx & ~kFlagMask); in FreeRange()
292 block_alloc_.FlushCache(&proc->block_cache); in OnProcIdle()
Dtsan_rtl.h342 DenseSlabAllocCache block_cache; member
/external/squashfs-tools/kernel/include/linux/
Dsquashfs_fs_sb.h56 struct squashfs_cache *block_cache; member
/external/leveldb/include/leveldb/
Doptions.h94 Cache* block_cache = nullptr; member
/external/squashfs-tools/kernel-2.4/include/linux/
Dsquashfs_fs_sb.h48 struct squashfs_cache *block_cache; member
/external/tensorflow/tensorflow/core/platform/cloud/
Dfile_block_cache.h51 virtual void Configure(const FileBlockCache* block_cache) = 0;
Dgcs_file_system.h92 const FileBlockCache* block_cache) = 0;
/external/leveldb/db/
Drepair.cc54 owns_cache_(options_.block_cache != options.block_cache), in Repairer()
66 delete options_.block_cache; in ~Repairer()
Dautocompact_test.cc18 options_.block_cache = tiny_cache_; in AutoCompactTest()
Ddb_impl.cc115 if (result.block_cache == nullptr) { in SanitizeOptions()
116 result.block_cache = NewLRUCache(8 << 20); in SanitizeOptions()
133 owns_cache_(options_.block_cache != raw_options.block_cache), in DBImpl()
177 delete options_.block_cache; in ~DBImpl()
1432 size_t total_usage = options_.block_cache->TotalCharge(); in GetProperty()
Dcorruption_test.cc30 options_.block_cache = tiny_cache_; in CorruptionTest()
Dfault_injection_test.cc384 options_.block_cache = tiny_cache_; in FaultInjectionTest()
Dc.cc414 opt->rep.block_cache = c->rep; in leveldb_options_set_cache()
/external/leveldb/doc/
Dindex.md341 each file stores a sequence of compressed blocks. If options.block_cache is
348 options.block_cache = leveldb::NewLRUCache(100 * 1048576); // 100MB cache
353 delete options.block_cache;
/external/leveldb/benchmarks/
Ddb_bench.cc764 options.block_cache = cache_; in Open()

12