Home
last modified time | relevance | path

Searched refs:qemu_xs_handle (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/include/hw/xen/
H A Dxen_backend_ops.h259 struct qemu_xs_handle;
270 struct qemu_xs_handle *(*open)(void);
271 void (*close)(struct qemu_xs_handle *h);
272 char *(*get_domain_path)(struct qemu_xs_handle *h, unsigned int domid);
273 char **(*directory)(struct qemu_xs_handle *h, xs_transaction_t t,
275 void *(*read)(struct qemu_xs_handle *h, xs_transaction_t t,
277 bool (*write)(struct qemu_xs_handle *h, xs_transaction_t t,
279 bool (*create)(struct qemu_xs_handle *h, xs_transaction_t t,
282 bool (*destroy)(struct qemu_xs_handle *h, xs_transaction_t t,
284 struct qemu_xs_watch *(*watch)(struct qemu_xs_handle *h, const char *path,
[all …]
H A Dxen-bus-helper.h15 void xs_node_create(struct qemu_xs_handle *h, xs_transaction_t tid,
18 void xs_node_destroy(struct qemu_xs_handle *h, xs_transaction_t tid,
22 void xs_node_vprintf(struct qemu_xs_handle *h, xs_transaction_t tid,
26 void xs_node_printf(struct qemu_xs_handle *h, xs_transaction_t tid,
32 int xs_node_vscanf(struct qemu_xs_handle *h, xs_transaction_t tid,
36 int xs_node_scanf(struct qemu_xs_handle *h, xs_transaction_t tid,
42 struct qemu_xs_watch *xs_node_watch(struct qemu_xs_handle *h, const char *node,
45 void xs_node_unwatch(struct qemu_xs_handle *h, struct qemu_xs_watch *w);
H A Dxen-bus.h22 struct qemu_xs_handle *xsh;
63 struct qemu_xs_handle *xsh;
H A Dxen-legacy-backend.h18 extern struct qemu_xs_handle *xenstore;
/openbmc/qemu/hw/xen/
H A Dxen-operations.c211 struct qemu_xs_handle { struct
218 struct qemu_xs_handle *h = opaque; in watch_event() argument
232 static struct qemu_xs_handle *libxenstore_open(void) in libxenstore_open()
235 struct qemu_xs_handle *h; in libxenstore_open()
241 h = g_new0(struct qemu_xs_handle, 1); in libxenstore_open()
250 static void libxenstore_close(struct qemu_xs_handle *h) in libxenstore_close()
258 static char *libxenstore_get_domain_path(struct qemu_xs_handle *h, in libxenstore_get_domain_path()
264 static char **libxenstore_directory(struct qemu_xs_handle *h, in libxenstore_directory()
271 static void *libxenstore_read(struct qemu_xs_handle *h, xs_transaction_t t, in libxenstore_read()
277 static bool libxenstore_write(struct qemu_xs_handle *h, xs_transaction_t t, in libxenstore_write()
[all …]
H A Dxen-bus-helper.c50 void xs_node_create(struct qemu_xs_handle *h, xs_transaction_t tid, in xs_node_create()
61 void xs_node_destroy(struct qemu_xs_handle *h, xs_transaction_t tid, in xs_node_destroy()
71 void xs_node_vprintf(struct qemu_xs_handle *h, xs_transaction_t tid, in xs_node_vprintf()
93 void xs_node_printf(struct qemu_xs_handle *h, xs_transaction_t tid, in xs_node_printf()
104 int xs_node_vscanf(struct qemu_xs_handle *h, xs_transaction_t tid, in xs_node_vscanf()
131 int xs_node_scanf(struct qemu_xs_handle *h, xs_transaction_t tid, in xs_node_scanf()
145 struct qemu_xs_watch *xs_node_watch(struct qemu_xs_handle *h, const char *node, in xs_node_watch()
167 void xs_node_unwatch(struct qemu_xs_handle *h, struct qemu_xs_watch *w) in xs_node_unwatch()
H A Dxen-legacy-backend.c42 struct qemu_xs_handle *xenstore;
/openbmc/qemu/hw/i386/kvm/
H A Dxen_xenstore.c1499 struct qemu_xs_handle { struct
1506 struct qemu_xs_handle *h; argument
1513 static char *xs_be_get_domain_path(struct qemu_xs_handle *h, unsigned int domid) in xs_be_get_domain_path()
1518 static char **xs_be_directory(struct qemu_xs_handle *h, xs_transaction_t t, in xs_be_directory()
1542 static void *xs_be_read(struct qemu_xs_handle *h, xs_transaction_t t, in xs_be_read()
1564 static bool xs_be_write(struct qemu_xs_handle *h, xs_transaction_t t, in xs_be_write()
1580 static bool xs_be_create(struct qemu_xs_handle *h, xs_transaction_t t, in xs_be_create()
1612 static bool xs_be_destroy(struct qemu_xs_handle *h, xs_transaction_t t, in xs_be_destroy()
1625 struct qemu_xs_handle *h = _h; in be_watch_bh()
1654 static struct qemu_xs_watch *xs_be_watch(struct qemu_xs_handle *h, in xs_be_watch()
[all …]
/openbmc/qemu/hw/char/
H A Dxen_console.c465 static char *console_frontend_path(struct qemu_xs_handle *xenstore, in console_frontend_path()
539 struct qemu_xs_handle *xsh = xenbus->xsh; in type_init()