| /rocksdb-6.9/cache/ |
| D | clock_cache.cc | 298 static bool InCache(uint32_t flags) { return flags & kInCacheBit; } in InCache() argument 299 static bool HasUsage(uint32_t flags) { return flags & kUsageBit; } in HasUsage() argument 388 uint32_t flags = handle.flags.load(std::memory_order_relaxed); in ~ClockCacheShard() local 389 if (InCache(flags) || CountRefs(flags) > 0) { in ~ClockCacheShard() 414 uint32_t flags = handle.flags.load(std::memory_order_relaxed); in ApplyToAllCacheEntries() local 427 assert(!InCache(handle->flags) && CountRefs(handle->flags) == 0); in RecycleHandle() 452 uint32_t flags = handle->flags.load(std::memory_order_relaxed); in Ref() local 456 if (handle->flags.compare_exchange_weak(flags, flags + kOneRef, in Ref() 499 uint32_t flags = in UnsetInCache() local 502 if (InCache(flags) && CountRefs(flags) == 0) { in UnsetInCache() [all …]
|
| D | lru_cache.h | 76 uint8_t flags; member 96 bool InCache() const { return flags & IN_CACHE; } in InCache() 97 bool IsHighPri() const { return flags & IS_HIGH_PRI; } in IsHighPri() 99 bool HasHit() const { return flags & HAS_HIT; } in HasHit() 103 flags |= IN_CACHE; in SetInCache() 105 flags &= ~IN_CACHE; in SetInCache() 111 flags |= IS_HIGH_PRI; in SetPriority() 113 flags &= ~IS_HIGH_PRI; in SetPriority() 119 flags |= IN_HIGH_PRI_POOL; in SetInHighPriPool() 121 flags &= ~IN_HIGH_PRI_POOL; in SetInHighPriPool() [all …]
|
| /rocksdb-6.9/tools/ |
| D | ldb_cmd.cc | 336 flags_(flags), in LDBCommand() 827 return (IsFlagPresent(flags, ARG_HEX) || IsFlagPresent(flags, ARG_KEY_HEX) || in IsKeyHex() 938 options, flags, false, in DBLoaderCommand() 1055 options, flags, false, in ManifestDumpCommand() 1394 options, flags, true, in InternalDumpCommand() 1534 : LDBCommand(options, flags, true, in DBDumperCommand() 2317 options, flags, true, in GetCommand() 2477 options, flags, true, in ScanCommand() 2504 std::find(flags.begin(), flags.end(), ARG_NO_VALUE); 2505 if (vitr != flags.end()) { [all …]
|
| D | ldb_cmd_impl.h | 23 const std::vector<std::string>& flags); 55 const std::vector<std::string>& flags); 134 const std::vector<std::string>& flags); 279 const std::vector<std::string>& flags); 326 const std::vector<std::string>& flags); 380 const std::vector<std::string>& flags); 401 const std::vector<std::string>& flags); 434 const std::vector<std::string>& flags); 491 const std::vector<std::string>& flags); 565 const std::vector<std::string>& flags); [all …]
|
| /rocksdb-6.9/env/ |
| D | fs_posix.cc | 123 flags |= O_CLOEXEC; in cloexec_flags() 126 return flags; in cloexec_flags() 158 flags |= O_DIRECT; in NewSequentialFile() 212 flags |= O_DIRECT; in NewRandomAccessFile() 286 flags |= O_WRONLY; in OpenWritableFile() 288 flags |= O_DIRECT; in OpenWritableFile() 293 flags |= O_RDWR; in OpenWritableFile() 298 flags = cloexec_flags(flags, &options); in OpenWritableFile() 378 int flags = 0; in ReuseWritableFile() local 392 flags |= O_RDWR; in ReuseWritableFile() [all …]
|
| /rocksdb-6.9/java/benchmark/src/main/java/org/rocksdb/benchmark/ |
| D | DbBenchmark.java | 436 num_ = (Integer) flags.get(Flag.num); in DbBenchmark() 437 threadNum_ = (Integer) flags.get(Flag.threads); in DbBenchmark() 439 flags.get(Flag.num) : flags.get(Flag.reads)); in DbBenchmark() 440 keySize_ = (Integer) flags.get(Flag.key_size); in DbBenchmark() 444 randSeed_ = (Long) flags.get(Flag.seed); in DbBenchmark() 445 databaseDir_ = (String) flags.get(Flag.db); in DbBenchmark() 447 memtable_ = (String) flags.get(Flag.memtablerep); in DbBenchmark() 454 flags_ = flags; in DbBenchmark() 868 flags.put(flag, flag.getDefaultValue()); in main() 887 flags.put(key, value); in main() [all …]
|
| /rocksdb-6.9/include/rocksdb/utilities/ |
| D | ldb_cmd.h | 65 std::vector<std::string> flags; member 188 const std::vector<std::string>& flags, bool is_read_only, 207 static bool IsFlagPresent(const std::vector<std::string>& flags, in IsFlagPresent() argument 209 return (std::find(flags.begin(), flags.end(), flag) != flags.end()); in IsFlagPresent() 248 const std::vector<std::string>& flags); 255 const std::vector<std::string>& flags);
|
| /rocksdb-6.9/utilities/blob_db/ |
| D | blob_log_format.cc | 23 unsigned char flags = (has_ttl ? 1 : 0); in EncodeTo() local 24 dst->push_back(flags); in EncodeTo() 38 unsigned char flags; in DecodeFrom() local 51 flags = src.data()[0]; in DecodeFrom() 53 has_ttl = (flags & 1) == 1; in DecodeFrom()
|
| /rocksdb-6.9/CMakeFiles/rocksdb.dir/ |
| D | build.make | 69 # Include the compile flags for this target's objects. 70 include CMakeFiles/rocksdb.dir/flags.make 72 CMakeFiles/rocksdb.dir/cache/clock_cache.cc.o: CMakeFiles/rocksdb.dir/flags.make 86 CMakeFiles/rocksdb.dir/cache/lru_cache.cc.o: CMakeFiles/rocksdb.dir/flags.make 170 CMakeFiles/rocksdb.dir/db/builder.cc.o: CMakeFiles/rocksdb.dir/flags.make 184 CMakeFiles/rocksdb.dir/db/c.cc.o: CMakeFiles/rocksdb.dir/flags.make 492 CMakeFiles/rocksdb.dir/db/db_iter.cc.o: CMakeFiles/rocksdb.dir/flags.make 506 CMakeFiles/rocksdb.dir/db/dbformat.cc.o: CMakeFiles/rocksdb.dir/flags.make 800 CMakeFiles/rocksdb.dir/db/repair.cc.o: CMakeFiles/rocksdb.dir/flags.make 1010 CMakeFiles/rocksdb.dir/env/env.cc.o: CMakeFiles/rocksdb.dir/flags.make [all …]
|
| /rocksdb-6.9/CMakeFiles/rocksdb-shared.dir/ |
| D | build.make | 69 # Include the compile flags for this target's objects. 70 include CMakeFiles/rocksdb-shared.dir/flags.make 72 CMakeFiles/rocksdb-shared.dir/cache/clock_cache.cc.o: CMakeFiles/rocksdb-shared.dir/flags.make 86 CMakeFiles/rocksdb-shared.dir/cache/lru_cache.cc.o: CMakeFiles/rocksdb-shared.dir/flags.make 170 CMakeFiles/rocksdb-shared.dir/db/builder.cc.o: CMakeFiles/rocksdb-shared.dir/flags.make 184 CMakeFiles/rocksdb-shared.dir/db/c.cc.o: CMakeFiles/rocksdb-shared.dir/flags.make 492 CMakeFiles/rocksdb-shared.dir/db/db_iter.cc.o: CMakeFiles/rocksdb-shared.dir/flags.make 506 CMakeFiles/rocksdb-shared.dir/db/dbformat.cc.o: CMakeFiles/rocksdb-shared.dir/flags.make 800 CMakeFiles/rocksdb-shared.dir/db/repair.cc.o: CMakeFiles/rocksdb-shared.dir/flags.make 1010 CMakeFiles/rocksdb-shared.dir/env/env.cc.o: CMakeFiles/rocksdb-shared.dir/flags.make [all …]
|
| /rocksdb-6.9/db_stress_tool/CMakeFiles/db_stress.dir/ |
| D | build.make | 69 # Include the compile flags for this target's objects. 70 include db_stress_tool/CMakeFiles/db_stress.dir/flags.make 72 …ss_tool/CMakeFiles/db_stress.dir/db_stress.cc.o: db_stress_tool/CMakeFiles/db_stress.dir/flags.make 86 …ol/CMakeFiles/db_stress.dir/db_stress_tool.cc.o: db_stress_tool/CMakeFiles/db_stress.dir/flags.make 100 …MakeFiles/db_stress.dir/batched_ops_stress.cc.o: db_stress_tool/CMakeFiles/db_stress.dir/flags.make 114 …eFiles/db_stress.dir/cf_consistency_stress.cc.o: db_stress_tool/CMakeFiles/db_stress.dir/flags.make 128 …/CMakeFiles/db_stress.dir/db_stress_common.cc.o: db_stress_tool/CMakeFiles/db_stress.dir/flags.make 142 …/CMakeFiles/db_stress.dir/db_stress_driver.cc.o: db_stress_tool/CMakeFiles/db_stress.dir/flags.make 156 …akeFiles/db_stress.dir/db_stress_test_base.cc.o: db_stress_tool/CMakeFiles/db_stress.dir/flags.make 184 …/CMakeFiles/db_stress.dir/db_stress_gflags.cc.o: db_stress_tool/CMakeFiles/db_stress.dir/flags.make [all …]
|
| /rocksdb-6.9/CMakeFiles/build_version.dir/ |
| D | build.make | 69 # Include the compile flags for this target's objects. 70 include CMakeFiles/build_version.dir/flags.make 72 CMakeFiles/build_version.dir/build_version.cc.o: CMakeFiles/build_version.dir/flags.make
|
| /rocksdb-6.9/CMakeFiles/db_bench.dir/ |
| D | build.make | 69 # Include the compile flags for this target's objects. 70 include CMakeFiles/db_bench.dir/flags.make 72 CMakeFiles/db_bench.dir/tools/db_bench.cc.o: CMakeFiles/db_bench.dir/flags.make 86 CMakeFiles/db_bench.dir/tools/db_bench_tool.cc.o: CMakeFiles/db_bench.dir/flags.make
|
| /rocksdb-6.9/CMakeFiles/memtablerep_bench.dir/ |
| D | build.make | 69 # Include the compile flags for this target's objects. 70 include CMakeFiles/memtablerep_bench.dir/flags.make 72 …/memtablerep_bench.dir/memtable/memtablerep_bench.cc.o: CMakeFiles/memtablerep_bench.dir/flags.make
|
| /rocksdb-6.9/CMakeFiles/table_reader_bench.dir/ |
| D | build.make | 69 # Include the compile flags for this target's objects. 70 include CMakeFiles/table_reader_bench.dir/flags.make 72 …/table_reader_bench.dir/table/table_reader_bench.cc.o: CMakeFiles/table_reader_bench.dir/flags.make
|
| /rocksdb-6.9/CMakeFiles/filter_bench.dir/ |
| D | build.make | 69 # Include the compile flags for this target's objects. 70 include CMakeFiles/filter_bench.dir/flags.make 72 CMakeFiles/filter_bench.dir/util/filter_bench.cc.o: CMakeFiles/filter_bench.dir/flags.make
|
| /rocksdb-6.9/CMakeFiles/cache_bench.dir/ |
| D | build.make | 69 # Include the compile flags for this target's objects. 70 include CMakeFiles/cache_bench.dir/flags.make 72 CMakeFiles/cache_bench.dir/cache/cache_bench.cc.o: CMakeFiles/cache_bench.dir/flags.make
|
| /rocksdb-6.9/CMakeFiles/range_del_aggregator_bench.dir/ |
| D | build.make | 69 # Include the compile flags for this target's objects. 70 include CMakeFiles/range_del_aggregator_bench.dir/flags.make 72 …_bench.dir/db/range_del_aggregator_bench.cc.o: CMakeFiles/range_del_aggregator_bench.dir/flags.make
|
| /rocksdb-6.9/tools/CMakeFiles/rocksdb_undump.dir/ |
| D | build.make | 69 # Include the compile flags for this target's objects. 70 include tools/CMakeFiles/rocksdb_undump.dir/flags.make 72 …keFiles/rocksdb_undump.dir/dump/rocksdb_undump.cc.o: tools/CMakeFiles/rocksdb_undump.dir/flags.make
|
| /rocksdb-6.9/tools/CMakeFiles/db_repl_stress.dir/ |
| D | build.make | 69 # Include the compile flags for this target's objects. 70 include tools/CMakeFiles/db_repl_stress.dir/flags.make 72 tools/CMakeFiles/db_repl_stress.dir/db_repl_stress.cc.o: tools/CMakeFiles/db_repl_stress.dir/flags.…
|
| /rocksdb-6.9/CMakeFiles/hash_table_bench.dir/ |
| D | build.make | 69 # Include the compile flags for this target's objects. 70 include CMakeFiles/hash_table_bench.dir/flags.make 72 …ch.dir/utilities/persistent_cache/hash_table_bench.cc.o: CMakeFiles/hash_table_bench.dir/flags.make
|
| /rocksdb-6.9/tools/CMakeFiles/sst_dump.dir/ |
| D | build.make | 69 # Include the compile flags for this target's objects. 70 include tools/CMakeFiles/sst_dump.dir/flags.make 72 tools/CMakeFiles/sst_dump.dir/sst_dump.cc.o: tools/CMakeFiles/sst_dump.dir/flags.make
|
| /rocksdb-6.9/tools/CMakeFiles/ldb.dir/ |
| D | build.make | 69 # Include the compile flags for this target's objects. 70 include tools/CMakeFiles/ldb.dir/flags.make 72 tools/CMakeFiles/ldb.dir/ldb.cc.o: tools/CMakeFiles/ldb.dir/flags.make
|
| /rocksdb-6.9/tools/CMakeFiles/rocksdb_dump.dir/ |
| D | build.make | 69 # Include the compile flags for this target's objects. 70 include tools/CMakeFiles/rocksdb_dump.dir/flags.make 72 tools/CMakeFiles/rocksdb_dump.dir/dump/rocksdb_dump.cc.o: tools/CMakeFiles/rocksdb_dump.dir/flags.m…
|
| /rocksdb-6.9/tools/CMakeFiles/db_sanity_test.dir/ |
| D | build.make | 69 # Include the compile flags for this target's objects. 70 include tools/CMakeFiles/db_sanity_test.dir/flags.make 72 tools/CMakeFiles/db_sanity_test.dir/db_sanity_test.cc.o: tools/CMakeFiles/db_sanity_test.dir/flags.…
|