Lines Matching refs:tdb

60 	TDB_CONTEXT *tdb;  member
137 TDB_CONTEXT *tdb) in write_file_system_identity() argument
161 retval = tdb_store(tdb, tdb_key, tdb_data, TDB_INSERT); in write_file_system_identity()
163 retval = EXT2_ET_TDB_SUCCESS + tdb_error(tdb); in write_file_system_identity()
172 retval = tdb_store(tdb, tdb_key, tdb_data, TDB_INSERT); in write_file_system_identity()
174 retval = EXT2_ET_TDB_SUCCESS + tdb_error(tdb); in write_file_system_identity()
182 static errcode_t write_block_size(TDB_CONTEXT *tdb, int block_size) in write_block_size() argument
192 retval = tdb_store(tdb, tdb_key, tdb_data, TDB_INSERT); in write_block_size()
194 retval = EXT2_ET_TDB_SUCCESS + tdb_error(tdb); in write_block_size()
215 if (data->tdb == NULL) { in undo_write_tdb()
240 tdb_transaction_start(data->tdb); in undo_write_tdb()
248 if (tdb_exists(data->tdb, tdb_key)) { in undo_write_tdb()
267 tdb_transaction_cancel(data->tdb); in undo_write_tdb()
282 tdb_transaction_cancel(data->tdb); in undo_write_tdb()
304 retval = write_block_size(data->tdb, in undo_write_tdb()
307 tdb_transaction_cancel(data->tdb); in undo_write_tdb()
313 retval = tdb_store(data->tdb, tdb_key, tdb_data, TDB_INSERT); in undo_write_tdb()
319 tdb_transaction_cancel(data->tdb); in undo_write_tdb()
328 tdb_transaction_commit(data->tdb); in undo_write_tdb()
392 data->tdb = tdb_open(tdb_file, 0, TDB_CLEAR_IF_FIRST, in undo_open()
394 if (!data->tdb) { in undo_open()
431 retval = write_file_system_identity(channel, data->tdb); in undo_close()
436 if (data->tdb) in undo_close()
437 tdb_close(data->tdb); in undo_close()