Home
last modified time | relevance | path

Searched refs:IWDB (Results 1 – 22 of 22) sorted by relevance

/third_party/iowow/src/kv/
Diwkv.h137 typedef struct _IWDB*IWDB; typedef
244 IW_EXPORT WUR iwrc iwkv_db(IWKV iwkv, uint32_t dbid, iwdb_flags_t flags, IWDB *dbp);
254 IW_EXPORT WUR iwrc iwkv_new_db(IWKV iwkv, iwdb_flags_t dbflg, uint32_t *dbidp, IWDB *dbp);
261 IW_EXPORT iwrc iwkv_db_destroy(IWDB *dbp);
298 IW_EXPORT iwrc iwkv_put(IWDB db, const IWKV_val *key, const IWKV_val *val, iwkv_opflags opflags);
317 IWDB db, const IWKV_val *key, const IWKV_val *val,
330 IW_EXPORT iwrc iwkv_get(IWDB db, const IWKV_val *key, IWKV_val *oval);
341 IW_EXPORT iwrc iwkv_get_copy(IWDB db, const IWKV_val *key, void *vbuf, size_t vbufsz, size_t *vsz);
351 IW_EXPORT iwrc iwkv_db_set_meta(IWDB db, void *buf, size_t sz);
360 IW_EXPORT iwrc iwkv_db_get_meta(IWDB db, void *buf, size_t sz, size_t *rsz);
[all …]
Diwkv_internal.h151 IWDB db;
169 IWDB db; /**< Database ref */
193 IWDB db; /**< Database ref */
214 IWDB first_db; /**< First database in chain */
215 IWDB last_db; /**< Last database in chain */
230 IWDB db;
316 IW_INLINE iwrc _api_db_rlock(IWDB db) { in _api_db_rlock()
332 IW_INLINE iwrc _api_db_wlock(IWDB db) { in _api_db_wlock()
398 void iwkvd_db(FILE *f, IWDB db, int flags, int plvl);
Diwkv.c224 static WUR iwrc _db_worker_inc_nolk(IWDB db) { in _db_worker_inc_nolk()
263 static iwrc _db_worker_dec_nolk(IWDB db) { in _db_worker_dec_nolk()
312 static WUR iwrc _wnw_db(IWDB db, iwrc (*after)(IWDB db)) { in _wnw_db()
337 static WUR iwrc _db_at(IWKV iwkv, IWDB *dbp, off_t addr, uint8_t *mm) { in _db_at()
342 IWDB db = calloc(1, sizeof(struct _IWDB)); in _db_at()
398 static WUR iwrc _db_save(IWDB db, bool newdb, uint8_t *mm) { in _db_save()
434 IWDB db = 0, ndb; in _db_load_chain()
460 static void _db_release_lw(IWDB *dbp) { in _db_release_lw()
462 IWDB db = *dbp; in _db_release_lw()
471 IWDB db;
[all …]
/third_party/iowow/src/kv/tests/
Diwkv_test10.c35 IWDB db; in iwkv_test10_1_impl()
53 IWDB db; in iwkv_test10_1_impl()
70 IWDB db; in iwkv_test10_1_impl()
92 IWDB db; in iwkv_test10_1_impl()
Diwkv_test4.c47 IWDB db1; in iwkv_test4_4()
85 IWDB db1; in iwkv_test4_3_impl()
182 IWDB db1; in iwkv_test2_impl()
243 IWDB db1, db2; in iwkv_test1_impl()
Diwkv_test1.c14 static int logstage(FILE *f, const char *name, IWDB db) { in logstage()
21 static int logstage2(FILE *f, const char *name, IWDB db) { in logstage2()
73 IWDB db1; in iwkv_test3_impl()
142 IWDB db1; in iwkv_test2_impl()
271 IWDB db1, db2, db3; in iwkv_test1_impl()
700 IWDB db1; in iwkv_test8_impl()
792 IWDB db1; in iwkv_test7_impl()
851 IWDB db1; in iwkv_test6_impl()
Diwkv_test8.c34 IWDB db; in iwkv_test8_1()
119 IWDB db, dbc; in t82()
210 IWDB db; in iwkv_test8_2()
Diwkv_test6.c22 IWDB db; in iwkv_test6_1_impl()
86 IWDB db; in iwkv_test6_2_impl()
Diwkv_test3.c23 IWDB db;
42 static int logstage(FILE *f, const char *name, IWDB db) { in logstage()
Diwkv_test5.c29 IWDB db; in iwkv_test5_2()
113 IWDB db; in iwkv_test5_1()
Diwkv_test9.c24 IWDB db = NULL; in iwkv_test9_1()
Diwkv_test2.c27 IWDB db1; in iwkv_test2_1()
Diwkv_test7.c29 IWDB db; in iwkv_test7_1_impl()
/third_party/ejdb/src/
Dejdb2_internal.h95 IWDB cdb; /**< IWKV collection database */
110 IWDB idb; /**< KV database for this index */
124 IWDB metadb;
125 IWDB nrecdb;
Dejdb2.c380 IWDB cdb = 0; in _jb_coll_acquire_keeplock2()
/third_party/iowow/src/kv/examples/
Dexample1.c11 IWDB mydb; in main()
Dcompoundkeys1.c53 IWDB db; in run()
Dcursors1.c44 IWDB db; in run()
/third_party/iowow/src/kv/benchmark/
Diwkv_benchmark.c8 IWDB db;
/third_party/iowow/
DREADME.md93 IWDB mydb;
197 IWDB db;
DChangelog216 * Removed IW_EXPORT iwrc iwkv_db_last_access_time(IWDB db, uint64_t *ts)
474 * Added iwkv_new_db(IWKV iwkv, iwdb_flags_t dbflg, uint32_t *odbid, IWDB *dbp) (iwkv.h)
/third_party/iowow/src/kv/dbg/
Diwkvdbg.c105 void iwkvd_db(FILE *f, IWDB db, int flags, int plvl) { in iwkvd_db()