Searched refs:tdb_ctx (Results 1 – 3 of 3) sorted by relevance
/xen/tools/xenstore/ |
A D | xenstored_transaction.c | 354 data = tdb_fetch(tdb_ctx, key); in finalize_transaction() 357 if (tdb_error(tdb_ctx) != TDB_ERR_NOEXIST) in finalize_transaction() 378 data = tdb_fetch(tdb_ctx, ta_key); in finalize_transaction() 383 ret = tdb_store(tdb_ctx, key, data, in finalize_transaction() 393 if (tdb_delete(tdb_ctx, key)) in finalize_transaction() 398 if (i->ta_node && tdb_delete(tdb_ctx, ta_key)) in finalize_transaction() 426 tdb_delete(tdb_ctx, key); in destroy_transaction()
|
A D | xenstored_core.c | 85 TDB_CONTEXT *tdb_ctx = NULL; variable 386 data = tdb_fetch(tdb_ctx, key); in read_node() 389 if (tdb_error(tdb_ctx) == TDB_ERR_NOEXIST) { in read_node() 394 log("TDB error on read: %s", tdb_errorstr(tdb_ctx)); in read_node() 463 if (tdb_store(tdb_ctx, *key, data, TDB_REPLACE) != 0) { in write_node_raw() 909 if (tdb_delete(tdb_ctx, key) != 0) { in delete_node_single() 991 tdb_delete(tdb_ctx, key); in destroy_node() 1644 tdb_ctx = tdb_open_ex(tdbname, 7919, tdb_flags, O_RDWR|O_CREAT|O_EXCL, in setup_structure() 1646 if (!tdb_ctx) in setup_structure() 1839 tdb_traverse(tdb_ctx, &clean_store_, reachable); in clean_store()
|
A D | xenstored_core.h | 193 extern TDB_CONTEXT *tdb_ctx;
|
Completed in 7 milliseconds