Home | History | Annotate | Download | only in e2fsck

Lines Matching defs:tdb

15 #include <ext2fs/tdb.h>
23 TDB_CONTEXT *tdb;
66 db->tdb = NULL;
73 db->tdb = tdb_open(db->tdb_fn, num_dirs, TDB_NOLOCK | TDB_NOSYNC,
98 if (db->tdb) {
100 printf("Note: using tdb!\n");
148 if (db->tdb) {
197 if (db->tdb) {
203 data = tdb_fetch(db->tdb, key);
205 if (tdb_error(db->tdb) != TDB_ERR_NOEXIST)
207 tdb_errorstr(db->tdb));
275 if (!db->tdb)
286 if (tdb_store(db->tdb, key, data, TDB_REPLACE) == -1) {
287 printf("store failed: %s\n", tdb_errorstr(db->tdb));
298 if (ctx->dir_info->tdb)
299 tdb_close(ctx->dir_info->tdb);
330 if (db->tdb)
331 iter->tdb_iter = tdb_firstkey(db->tdb);
356 if (db->tdb) {
360 data = tdb_fetch(db->tdb, key);
363 tdb_errorstr(db->tdb));
370 iter->tdb_iter = tdb_nextkey(db->tdb, key);