Home
last modified time | relevance | path

Searched refs:XenstoreImplState (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/hw/i386/kvm/
H A Dxenstore_impl.h17 typedef struct XenstoreImplState XenstoreImplState; typedef
19 XenstoreImplState *xs_impl_create(unsigned int dom_id);
30 int xs_impl_read(XenstoreImplState *s, unsigned int dom_id,
32 int xs_impl_write(XenstoreImplState *s, unsigned int dom_id,
34 int xs_impl_directory(XenstoreImplState *s, unsigned int dom_id,
37 int xs_impl_transaction_start(XenstoreImplState *s, unsigned int dom_id,
39 int xs_impl_transaction_end(XenstoreImplState *s, unsigned int dom_id,
41 int xs_impl_rm(XenstoreImplState *s, unsigned int dom_id,
43 int xs_impl_get_perms(XenstoreImplState *s, unsigned int dom_id,
45 int xs_impl_set_perms(XenstoreImplState *s, unsigned int dom_id,
[all …]
H A Dxenstore_impl.c63 struct XenstoreImplState { struct
87 static inline unsigned int next_tx(struct XenstoreImplState *s) in next_tx() argument
261 struct XenstoreImplState *s;
827 static int init_walk_op(XenstoreImplState *s, struct walk_op *op, in init_walk_op()
869 int xs_impl_read(XenstoreImplState *s, unsigned int dom_id, in xs_impl_read()
889 int xs_impl_write(XenstoreImplState *s, unsigned int dom_id, in xs_impl_write()
911 int xs_impl_directory(XenstoreImplState *s, unsigned int dom_id, in xs_impl_directory()
934 int xs_impl_transaction_start(XenstoreImplState *s, unsigned int dom_id, in xs_impl_transaction_start()
1021 static int transaction_commit(XenstoreImplState *s, XsTransaction *tx) in transaction_commit()
1060 int xs_impl_transaction_end(XenstoreImplState *s, unsigned int dom_id, in xs_impl_transaction_end()
[all …]
H A Dxen_xenstore.c55 XenstoreImplState *impl;
1500 XenstoreImplState *impl;
/openbmc/qemu/tests/unit/
H A Dtest-xs-node.c58 static void xs_impl_delete(XenstoreImplState *s, bool last) in xs_impl_delete()
200 XenstoreImplState *s2 = opaque; in compare_tx()
220 static int write_str(XenstoreImplState *s, unsigned int dom_id, in write_str()
241 static void check_serdes(XenstoreImplState *s) in check_serdes()
243 XenstoreImplState *s2 = xs_impl_create(DOMID_GUEST); in check_serdes()
275 static XenstoreImplState *setup(void) in setup()
277 XenstoreImplState *s = xs_impl_create(DOMID_GUEST); in setup()
317 XenstoreImplState *s = setup(); in test_xs_node_simple()
496 XenstoreImplState *s = setup(); in do_test_xs_node_tx()
620 XenstoreImplState *s = setup(); in test_xs_node_tx_rm()
[all …]