Lines Matching refs:tdb
60 TDB_CONTEXT *tdb; member
75 if (icount->tdb) in ext2fs_free_icount()
76 tdb_close(icount->tdb); in ext2fs_free_icount()
187 icount->tdb = tdb_open(fn, 0, TDB_CLEAR_IF_FIRST, in ext2fs_create_icount_tdb()
189 if (icount->tdb) { in ext2fs_create_icount_tdb()
406 if (icount->tdb) { in set_inode_count()
412 if (tdb_store(icount->tdb, key, data, TDB_REPLACE)) in set_inode_count()
413 return tdb_error(icount->tdb) + in set_inode_count()
416 if (tdb_delete(icount->tdb, key)) in set_inode_count()
417 return tdb_error(icount->tdb) + in set_inode_count()
437 if (icount->tdb) { in get_inode_count()
441 data = tdb_fetch(icount->tdb, key); in get_inode_count()
444 return tdb_error(icount->tdb) + EXT2_ET_TDB_SUCCESS; in get_inode_count()