Home
last modified time | relevance | path

Searched refs:tx_id (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/hw/i386/kvm/
H A Dxen_xenstore.c327 xs_transaction_t tx_id, int errnum) in xs_error() argument
342 trace_xenstore_error(id, tx_id, errstr); in xs_error()
346 rsp->tx_id = tx_id; in xs_error()
353 xs_transaction_t tx_id) in xs_ok() argument
360 rsp->tx_id = tx_id; in xs_ok()
502 xs_transaction_t tx_id, uint8_t *req_data, unsigned int len) in xs_read() argument
511 xs_error(s, req_id, tx_id, EINVAL); in xs_read()
515 trace_xenstore_read(tx_id, path); in xs_read()
516 err = xs_impl_read(s->impl, xen_domid, tx_id, path, data); in xs_read()
518 xs_error(s, req_id, tx_id, err); in xs_read()
[all …]
H A Dxenstore_impl.h31 xs_transaction_t tx_id, const char *path, GByteArray *data);
33 xs_transaction_t tx_id, const char *path, GByteArray *data);
35 xs_transaction_t tx_id, const char *path,
38 xs_transaction_t *tx_id);
40 xs_transaction_t tx_id, bool commit);
42 xs_transaction_t tx_id, const char *path);
44 xs_transaction_t tx_id, const char *path, GList **perms);
46 xs_transaction_t tx_id, const char *path, GList *perms);
H A Dtrace-events6 xenstore_error(unsigned int id, unsigned int tx_id, const char *err) "req %u tx %u err %s"
7 xenstore_read(unsigned int tx_id, const char *path) "tx %u path %s"
8 xenstore_write(unsigned int tx_id, const char *path) "tx %u path %s"
9 xenstore_mkdir(unsigned int tx_id, const char *path) "tx %u path %s"
10 xenstore_directory(unsigned int tx_id, const char *path) "tx %u path %s"
11 xenstore_directory_part(unsigned int tx_id, const char *path, unsigned int offset) "tx %u path %s o…
13 xenstore_transaction_end(unsigned int tx_id, bool commit) "tx %u commit %d"
14 xenstore_rm(unsigned int tx_id, const char *path) "tx %u path %s"
15 xenstore_get_perms(unsigned int tx_id, const char *path) "tx %u path %s"
16 xenstore_set_perms(unsigned int tx_id, const char *path) "tx %u path %s"
H A Dxenstore_impl.c59 unsigned int tx_id; member
89 unsigned int tx_id; in next_tx() local
93 tx_id = ++s->last_tx; in next_tx()
94 } while (tx_id == XBT_NULL || tx_id == s->root_tx || in next_tx()
95 g_hash_table_lookup(s->transactions, GINT_TO_POINTER(tx_id))); in next_tx()
101 g_hash_table_foreach(s->transactions, nobble_tx, &tx_id); in next_tx()
103 return tx_id; in next_tx()
269 unsigned int tx_id; member
347 if (op->tx_id != XBT_NULL) { in xs_node_add_content()
457 if (op->tx_id != XBT_NULL) { in xs_node_rm()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-xs-node.c202 unsigned int tx_id = GPOINTER_TO_INT(key); in compare_tx() local
207 g_assert(t1->tx_id == tx_id); in compare_tx()
208 g_assert(t2->tx_id == tx_id); in compare_tx()
212 printf("Comparison failure in TX %u after serdes:\n", tx_id); in compare_tx()
221 unsigned int tx_id, const char *path, in write_str() argument
228 err = xs_impl_write(s, dom_id, tx_id, path, d); in write_str()
499 unsigned int tx_id = XBT_NULL; in do_test_xs_node_tx() local
522 err = xs_impl_transaction_start(s, DOMID_GUEST, &tx_id); in do_test_xs_node_tx()
539 err = write_str(s, DOMID_GUEST, tx_id, "some/relative/path", in do_test_xs_node_tx()
556 err = xs_impl_read(s, DOMID_GUEST, tx_id, "some/relative/path", data); in do_test_xs_node_tx()
[all …]
/openbmc/qemu/include/hw/xen/interface/io/
H A Dxs_wire.h86 uint32_t tx_id; /* Transaction id (0 if not related to a transaction). */ member